[Bug]: Cannot use Chat API in other apps, such as autogen
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch name
main
Commit ID
commit 0a7654c747082c512e7ac39ec1fc967a943957b3
Other environment information
No response
Actual behavior
I have already setup everything in ragflow:
Then I want import the Chat API as a model to use in Autogen studio, error occurs:
It failed no matter I used http://139.xxx.xxx.xxx:5000/v1/api/,http://139.xxx.xxx.xxx:5000/v1/ or http://139.xxx.xxx.xxx:5000/v1/api/completions.
I also try to use FastAPI to make a proxy, it always failed.
Isn't ragflow API the openai-compatible API?
Expected behavior
No response
Steps to reproduce
non
Additional information
No response
No, it's not. Checkout this.
No, it's not. Checkout this.
Could you please tell me more? I know litter about API.
For example, which type listed below should I adopt? If none of them is right, how should I utilize the API from Ragflow in AutoGen? Many thanks!
API of RAGFlow has its own protocols. It can be used for generation tasks.