Get RAG chunks for a document

Get all RAG chunks for a specific knowledge base document.

パスパラメータ

documentation_idstring必須
The id of a document from the knowledge base. This is returned on document addition.

ヘッダー

xi-api-keystringオプション

クエリパラメータ

embedding_modelenum必須デフォルト値 e5_mistral_7b_instruct
The embedding model used to retrieve the chunk.
許可された値:
page_sizeintegerオプション1-100デフォルト値 30
How many documents to return at maximum. Can not exceed 100, defaults to 30.
cursorstringオプション
Used for fetching next page. Cursor is returned in the response.

レスポンス

Successful Response
chunkslist of objects
next_cursorstringオプション

エラー

422
Chunks List Request Unprocessable Entity Error