ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: What is the YOUR_ACCESS_TOKEN of API

Open changqingla opened this issue 4 months ago • 2 comments

Describe your problem

部分API接口使用API里面创建的token 可以,但是这个接口/api/v1/dataset/{dataset_id}/retrieval,使用API里面创建的token或者user表里面的access_token里面都不行。示例:(ragflow) ubuntu@ubuntu-Super-Server:/data/ht/ragflow/python_api$ curl --request POST
--url http://10.0.169.144:9380/api/v1/chat
--header 'Content-Type: application/json'
--header 'Authorization: Bearer ragflow-QzYmQzOTdjOGEwMDExZWZhOTI0MDI0Mm' {"data":null,"retcode":100,"retmsg":"<MethodNotAllowed '405: Method Not Allowed'>"}

changqingla avatar Oct 15 '24 03:10 changqingla