Get RAG chunks for a document

Get all RAG chunks for a specific knowledge base document.

Paramètres de chemin

documentation_idstringRequis
The id of a document from the knowledge base. This is returned on document addition.

En-têtes

xi-api-keystringOptionnel

Paramètres de requête

embedding_modelenumRequisPar défaut e5_mistral_7b_instruct
The embedding model used to retrieve the chunk.
Valeurs autorisées:
page_sizeintegerOptionnel1-100Par défaut 30
How many documents to return at maximum. Can not exceed 100, defaults to 30.
cursorstringOptionnel
Used for fetching next page. Cursor is returned in the response.

Réponse

Successful Response
chunkslist of objects
next_cursorstringOptionnel

Erreurs

422
Chunks List Request Unprocessable Entity Error