The content of the dify knowledge base suddenly couldn't be retrieved at all today
Self Checks
- [x] This is only for bug report, if you would like to ask a question, 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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.3
Cloud or Self Hosted
Cloud
Steps to reproduce
Without any changes, no issues in the knowledge base can be retrieved. The problem that occurred today
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Hello @axiba053! I'm Dosu, your friendly bot here to help you with bugs, answer questions, and assist with becoming a contributor. I'm here while you wait for a human maintainer. How can I assist you today?
I found a similar unsolved discussion titled "Why cannot find required text from knowledge base in Dify?" which might be relevant to your issue [1].
There are several reasons why the content of the Dify knowledge base might not be retrievable today despite no changes being made:
-
API Response Structure: Ensure that the external knowledge base API response follows Dify's required JSON structure, which must include 'records' containing metadata, score, title, and content fields [2].
-
Rerank Model Bug: In Dify v0.15.3, there was a bug where the rerank model switch would automatically enable itself in the 'Recall Settings', causing empty results during retrieval testing. This issue was fixed in a later update [2].
-
AI Model Decision: When using the knowledge base in Agent mode, the AI model may independently decide not to use the knowledge base content, resulting in generic responses. Ensure your knowledge base is configured with detailed descriptions and explicit instructions for retrieval [3].
-
Automatic Document Disabling: Documents that haven’t been updated or accessed in the past 30 days may be automatically disabled. Check your email for any notifications and follow the provided link to re-enable these documents [4].
You might want to check these aspects to resolve the issue.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
I'm using the chatbot mode, not the external knowledge base