The content of the dify knowledge base suddenly couldn't be retrieved at all today #13391

Closed
opened 2026-02-21 19:11:57 -05:00 by yindo · 2 comments
Owner

Originally created by @axiba053 on GitHub (Apr 26, 2025).

Originally assigned to: @JohnJyong on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • 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

Originally created by @axiba053 on GitHub (Apr 26, 2025). Originally assigned to: @JohnJyong on GitHub. ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [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_
yindo added the 🐞 bugcloud labels 2026-02-21 19:11:57 -05:00
yindo closed this issue 2026-02-21 19:11:57 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 26, 2025):

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:

  1. 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].

  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].

  3. 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].

  4. 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

@dosubot[bot] commented on GitHub (Apr 26, 2025): <!-- Greeting --> Hello @axiba053! I'm [Dosu](https://dosu.dev), 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? <!-- Answer --> I found a similar unsolved discussion titled "[Why cannot find required text from knowledge base in Dify?](https://github.com/langgenius/dify/discussions/10459)" which might be relevant to your issue <sup>[[1]](https://github.com/langgenius/dify/discussions/10459)</sup>. There are several reasons why the content of the Dify knowledge base might not be retrievable today despite no changes being made: 1. **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 <sup>[[2]](https://github.com/langgenius/dify/issues/14215)</sup>. 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 <sup>[[2]](https://github.com/langgenius/dify/issues/14215)</sup>. 3. **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 <sup>[[3]](https://github.com/langgenius/dify/issues/18333)</sup>. 4. **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 <sup>[[4]](https://github.com/langgenius/dify/blob/main/api/templates/clean_document_job_mail_template-US.html)</sup>. You might want to check these aspects to resolve the issue. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/1e5a69e6-395e-455d-a4b4-d461ed5384e4?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/1e5a69e6-395e-455d-a4b4-d461ed5384e4?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/1e5a69e6-395e-455d-a4b4-d461ed5384e4?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/1e5a69e6-395e-455d-a4b4-d461ed5384e4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1e5a69e6-395e-455d-a4b4-d461ed5384e4?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/1e5a69e6-395e-455d-a4b4-d461ed5384e4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1e5a69e6-395e-455d-a4b4-d461ed5384e4?feedback_type=other)</sup>
Author
Owner

@axiba053 commented on GitHub (Apr 26, 2025):

I'm using the chatbot mode, not the external knowledge base

@axiba053 commented on GitHub (Apr 26, 2025): I'm using the chatbot mode, not the external knowledge base
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13391