You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
Please do not modify this template :) and fill in all the required fields.
Dify version
0.6.8
Cloud or Self Hosted
Cloud
Steps to reproduce
I created an agent chat. Then I added the Knowledge I had prepared and turned on 'Citations and Attributions'. But after I asked some questions, the corresponding answer was irrelevant, 'Citations' did not come up
✔️ Expected Behavior
After I asked, the answers returned were retrieved from the knowledge, and 'Citations' appear successfully
❌ Actual Behavior
After I asked some questions, the corresponding answer was irrelevant, 'Citations' did not come up
The text was updated successfully, but these errors were encountered:
To address the issue with the agent chat not retrieving data correctly from the 'Knowledge' section and missing 'Citations' in Dify version 0.6.8, follow these targeted steps:
Verify Knowledge Base Integration: Ensure your knowledge base is correctly integrated so the agent can access the necessary information. This step is crucial for the agent to generate relevant answers and citations.
Optimize Instructions: Make sure the instructions provided to the agent are clear and detailed. This helps in guiding the agent to utilize the knowledge base more effectively.
Check Configuration of Tools and Plugins: Confirm that all required tools and plugins are correctly added and configured. This includes ensuring that any external plugins like Google Search or Wikipedia are properly set up with the correct API keys if required.
Adjust Agent Settings: Review the agent settings to ensure the model is correctly configured for optimal use. This involves selecting the right inference mode and ensuring the model is set up to effectively use the knowledge base.
Utilize Debugging and Preview Features: Use the debugging and preview tools to test the agent's performance in retrieving data and generating citations. This can help identify any setup or integration issues.
For further assistance, consider checking the Dify documentation on Agent Assistant and Chat, as well as keeping an eye on similar discussions and issues in the Dify repository for any updates or solutions shared by the community.
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.
The agent will choose to use the 'knowledge' based on the description of the 'knowledge', so you should refine that to make sure the agent will be able to use that. Basically, it's the same with tools.
Self Checks
Dify version
0.6.8
Cloud or Self Hosted
Cloud
Steps to reproduce
I created an agent chat. Then I added the Knowledge I had prepared and turned on 'Citations and Attributions'. But after I asked some questions, the corresponding answer was irrelevant, 'Citations' did not come up
✔️ Expected Behavior
After I asked, the answers returned were retrieved from the knowledge, and 'Citations' appear successfully
❌ Actual Behavior
After I asked some questions, the corresponding answer was irrelevant, 'Citations' did not come up
The text was updated successfully, but these errors were encountered: