Skip to navigation

Alle RAG-chunks voor een document ophalen

Haal alle RAG-chunks voor een specifiek kennisbankdocument op.

Path parameters

documentation_idstringRequired
De id van een document uit de kennisbank. Deze wordt teruggegeven wanneer het document wordt toegevoegd.

Headers

xi-api-keystringOptional

Query parameters

embedding_modelenumRequiredDefaults to e5_mistral_7b_instruct
Het embeddingmodel dat is gebruikt om het chunk op te halen.
Allowed values:
page_sizeintegerOptional1-100Defaults to 30

Het maximale aantal documenten dat moet worden geretourneerd. Mag niet meer zijn dan 100; standaard is dit 30.

cursorstringOptional
Gebruikt om de volgende pagina op te halen. De cursor wordt teruggegeven in de response.

Response

Geslaagde response
chunkslist of objects
next_cursorstringOptional

Errors

422
Chunks List Request Unprocessable Entity Error