Get RAG chunks for a document

Get all RAG chunks for a specific knowledge base document.

Parametry ścieżki

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

Nagłówki

xi-api-keystringOpcjonalny

Parametry zapytania

embedding_modelenumWymaganyDomyślnie e5_mistral_7b_instruct
The embedding model used to retrieve the chunk.
Dozwolone wartości:
page_sizeintegerOpcjonalny1-100Domyślnie 30
How many documents to return at maximum. Can not exceed 100, defaults to 30.
cursorstringOpcjonalny
Used for fetching next page. Cursor is returned in the response.

Odpowiedź

Successful Response
chunkslist of objects
next_cursorstringOpcjonalny

Błędy

422
Chunks List Request Unprocessable Entity Error