AI functionality

Generate a list of LLM responses for a chat given a list of messages and a list of section IDs

post/v1/ai/generateResponse

Request

  • Base URL: https://api.lovdata.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.lovdata.no/v1/ai/generateResponse
  • Auth: API key in header X-API-Key

Request body

querystring required
sectionIDsinteger[] required
userIDinteger nullable

Response

Text generated successfully

abTestingAlternativestring nullable
degreeOfResolutioninteger required
generationIDstring required
modelIDstring nullable
responseShortFormstring nullable
responseTextstring required

Changes

No recorded changes to this operation across all 1 revision of this API.