Using method using openai format api to request the chat application #14619
Replies: 2 comments
-
The not solved closed issue is #14592 |
Beta Was this translation helpful? Give feedback.
-
You can use fastgpt platform as an alternative to solve this problem, directly using the class openai interface in the messages of the chat app and workflow to control the history of conversations, and I think fastgpt's workflow setup is a little more intuitive, will not be tied to the chatid, just if you pass the If you pass the chatid, it won't create a new conversation, but if you don't pass it, it will create a new conversation, I think this is very good, more suitable for enterprise development program. |
Beta Was this translation helpful? Give feedback.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Not easy integrate the dify to own project with OpenAI package and if i need to control the messages i need control the history.Since have chosen to open-source the project, wouldn’t it be better to use a universal interface and adhere to open-source standards. What I don't understand is that when initially developing an open-source project, one should consider that the very purpose of open-source projects is to reduce repetitive development work for future developers. If, when using OpenAI's SDK, simply entering the URL does not allow us to successfully call the API, then what is the purpose of providing an open API? Is it intended for secondary development for the personal project?
2. Additional context or comments
for example
if i using the original API
even now there was the plugin could support the "openai format" for the chat app but still can not control the history even we know about how is important of the history for the llm app.
Beta Was this translation helpful? Give feedback.
All reactions