You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"kb_id" is string, but actually returned string or array
List chunks
GET /api/v1/datasets/{dataset_id}/documents/{document_id}/chunks?keywords={keywords}&page={page}&page_size={page_size}&id={id}
If id is passed, pageSize should be ignored
record not in page~pageSize return not found, example:
/api/v1/datasets/0213a6fe9d2711ef8fd00242ac160006/documents/195944049d2711ef83320242ac160006/chunks?page=1&page_size=10&id=c6a6348f8a3814bd501ee53e2cb827d1
{
"code": 102,
"message": "Can't find this chunk c6a6348f8a3814bd501ee53e2cb827d1"
}
page content include record It is normal, example:
/api/v1/datasets/0213a6fe9d2711ef8fd00242ac160006/documents/195944049d2711ef83320242ac160006/chunks?page=1&page_size=5000&id=c6a6348f8a3814bd501ee53e2cb827d1
Is there an existing issue for the same bug?
RAGFlow workspace code commit ID
a5cf6fc
RAGFlow image version
v0.15.0
Other environment information
No response
Actual behavior
Add chunk
POST /api/v1/datasets/{dataset_id}/documents/{document_id}/chunks
current api doc response:
"dataset_id" is array, but actually returned string
Retrieve chunks
POST /api/v1/retrieval
current api docs response:
"kb_id" is string, but actually returned string or array
List chunks
GET /api/v1/datasets/{dataset_id}/documents/{document_id}/chunks?keywords={keywords}&page={page}&page_size={page_size}&id={id}
If id is passed, pageSize should be ignored
record not in page~pageSize return not found, example:
/api/v1/datasets/0213a6fe9d2711ef8fd00242ac160006/documents/195944049d2711ef83320242ac160006/chunks?page=1&page_size=
10
&id=c6a6348f8a3814bd501ee53e2cb827d1page content include record It is normal, example:
/api/v1/datasets/0213a6fe9d2711ef8fd00242ac160006/documents/195944049d2711ef83320242ac160006/chunks?page=1&page_size=
5000
&id=c6a6348f8a3814bd501ee53e2cb827d1Expected behavior
No response
Steps to reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: