AI functionality

Generate a list of LLM responses for a chat over document sections from a selection list

Generates text using selection-list-specific prompts for a fixed document collection.

post/v2/ai/selectionList/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/v2/ai/selectionList/generateResponse
  • Auth: API key in header X-API-Key

Request body

querystring nullable
sectionIDsinteger[] nullable
userIDinteger required

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.