infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
18.18k stars 1.84k forks source link

[Feature Request]: Provide openai style api #2603

Open HGGshiwo opened 1 day ago

HGGshiwo commented 1 day ago

Is there an existing issue for the same feature request?

Is your feature request related to a problem?

No response

Describe the feature you'd like

I want to use chatgpt-next as the frontend, but ragflow api is different than any other popular model provider api. If want to use history, must provide a conversation id, rather than pass the historys as a praram, and it is hard to convert it to any openai style api.

I hope ragflow can provide an openai style api, so It can integrating different frontends for better suitability.

Describe implementation you've considered

No response

Documentation, adoption, use case

No response

Additional information

No response