dify
dify copied to clipboard
The application type “workflow orchestration” has several issues.
Self Checks
- [X] This is only for bug report, if you would like to ask a quesion, please head to Discussions.
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] Pleas do not modify this template :) and fill in all the required fields.
Dify version
0.6.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
- When the next node after “Knowledge Retrieval” is “LLM”, it is necessary to add a USER message for “LLM”. Otherwise, an error will occur.
- The “Dialogue Opening” feature is not enabled successfully.
- After “Quotation and Attribution” is enabled, the source of the quote cannot be displayed in the dialogue information.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
To address the issues you're encountering with the "workflow orchestration" application type in Dify version 0.6.1:
-
For the "Knowledge Retrieval" and "LLM" nodes issue: It's crucial to ensure that a USER message is added for the "LLM" node to function correctly after "Knowledge Retrieval". This step is necessary for the LLM node to receive the required input for response generation. Check the configuration of your LLM node to ensure it's correctly set up to process the output from "Knowledge Retrieval". For more details, you might want to look into the
workflow_converter.py
script. -
Regarding the "Dialogue Opening" feature not enabling: This could be due to various factors, including issues with variable validation, focus management, or localization. Review the component's implementation in
opening-statement/index.tsx
to ensure it matches your setup and usage requirements. -
For the "Quotation and Attribution" feature: Ensure that this feature is correctly configured in your version of Dify to display the source of the quote in the dialogue information. Without specific details, it's challenging to provide a more targeted solution.
If these steps don't resolve your issues or if you need further assistance, please provide more detailed information about the problems you're facing.
Sources
- api/services/workflow/workflow_converter.py
- web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
Have you published your app?
Have you published your app?
yes
Hi, @andylzming,
I'm helping the Dify team manage their backlog and am marking this issue as stale. From what I understand, you reported several issues with the "workflow orchestration" application type in Dify version 0.6.1, including errors with the "LLM" node after "Knowledge Retrieval," the inability to display the source of a quote in dialogue information after enabling "Quotation and Attribution," and the unsuccessful enabling of the "Dialogue Opening" feature. Dosubot provided detailed steps to address these issues, and you confirmed that the app has been published.
Could you please confirm if this issue is still relevant to the latest version of the Dify repository? If it is, please let the Dify team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.
Thank you for your understanding and cooperation.
Please upgrade to latest one to see if this persists.