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