Open cabinai opened 1 month ago
I found some similar discussions that might be relevant to your issue:
Question Regarding Chat Assistant - Workflow Orchestration Dialogue API: /chat-messages - This discussion is unsolved and was last updated on 2024-08-21. It might provide insights into issues with the chat assistant's workflow orchestration and API usage [1].
I am a self-trained model. Why is there such a significant difference in the accuracy of responses between the dialogue box and API calls? - This unsolved discussion, last updated on 2024-08-16, addresses discrepancies in response accuracy between the dialogue box and API calls, which could be related to your context handling issue [2].
Why doesn't the /chat-messages API allow passes context messages as a list? - This unsolved discussion, last updated on 2024-06-27, discusses limitations in passing context messages through the API, which might be relevant to your problem [3].
These discussions might help you understand the differences in context handling between the Dify platform and the API. If you need further assistance, reviewing these discussions could provide additional context or solutions.
To continue talking to Dosu, mention @dosu.
Whether there is a suitable solution to the problem in question
Self Checks
Dify version
0.9.1
Cloud or Self Hosted
Cloud, Self Hosted (Docker)
Steps to reproduce
The advanced workflow orchestration of the chat assistant can automatically connect to the context when used in Dify, but not when using the API 1.Create an advanced workflow orchestration for the chat assistant 2.Directly carry out the preview test, the first message is "Hello", the second message is "What I said in the last sentence", and the AI successfully returns "Hello in the previous sentence" 3.Using the API test (bring in conversation_id), the first message is "Hello", the second message is "What did I say in the last sentence", and the AI returns "I can't know the content of your last sentence"
✔️ Expected Behavior
No response
❌ Actual Behavior
No response