Closed xuchunhua-com closed 1 week ago
v0.13.0
No response
httpapi problem http://127.0.0.1:9380/api/v1/retrieval
curl --request POST \ --url http://127.0.0.1:9380/api/v1/retrieval \ --header 'Content-Type: application/json' \ --header 'Authorization: ragflow-M5ZTBjZTcyODdhOTExZWZiNTk1MDI0Mm' \ --data ' { "question": "What is advantage of ragflow?", "dataset_ids": ["b2a62730759d11ef987d0242ac120004"], "document_ids": ["77df9ef4759a11ef8bdd0242ac120004"] }' {"data":null,"retcode":100,"retmsg":"IndexError('list index out of range')"}
Maybe you need to add Bearer after Authorization. Or please update your image to the dev version or use the latest code from GitHub.
Bearer
Authorization
Is there an existing issue for the same bug?
Branch name
v0.13.0
Commit ID
v0.13.0
Other environment information
No response
Actual behavior
httpapi problem http://127.0.0.1:9380/api/v1/retrieval
Expected behavior
No response
Steps to reproduce
Additional information
No response