Issues with Updating Knowledge Base and Agents #2718

Closed
opened 2026-02-21 17:49:11 -05:00 by yindo · 0 comments
Owner

Originally created by @MitraSafarinejad on GitHub (Apr 27, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a quesion, 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).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.6.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I have encountered problems after updating to version 6, specifically with the knowledge base and chatbot agents. Here are the issues I'm facing:

1- Knowledge Base Update Problem:
When I upload a "Q&A1.csv" file to an existing document, the retrieval system fails to provide answers from the new file. Even when I add new content as a chunk to an old document, it still doesn't retrieve it. However, if I upload the new file as a completely new document, everything works fine.

2- Agent Annotation Issue:
Initially, I had 40 annotations within the agent. After adding new annotations, I found that when I copy the question, the answer provided does not reflect the new annotations. Instead, it still refers to the document citation (for old annotation works fine).

1
2
3

✔️ Expected Behavior

When updating a document or adding new features to the chatbot, the system should operate as expected. For instance, if I add a new chunk of information or context to an existing document, the knowledge base should update accordingly. Similarly, when new annotations are added to the chatbot, the system should recognize and utilize them in responses to user queries.

Actual Behavior

Unfortunately, it appears that the system is not functioning as expected. Despite updates to documents or the addition of new features to the chatbot, there is no observable change in behavior. Specifically, when new content is added to existing documents, the knowledge retrieval system fails to incorporate this information, and responses continue to be based on outdated data. Similarly, although new annotations are added to the chatbot, the responses provided still rely on older documents rather than incorporating the new information.

Originally created by @MitraSafarinejad on GitHub (Apr 27, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a quesion, 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] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.6.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I have encountered problems after updating to version 6, specifically with the knowledge base and chatbot agents. Here are the issues I'm facing: 1- Knowledge Base Update Problem: When I upload a "Q&A1.csv" file to an existing document, the retrieval system fails to provide answers from the new file. Even when I add new content as a chunk to an old document, it still doesn't retrieve it. However, if I upload the new file as a completely new document, everything works fine. 2- Agent Annotation Issue: Initially, I had 40 annotations within the agent. After adding new annotations, I found that when I copy the question, the answer provided does not reflect the new annotations. Instead, it still refers to the document citation (for old annotation works fine). ![1](https://github.com/langgenius/dify/assets/39375115/da00585e-40f9-403f-80dd-2c408c457a9b) ![2](https://github.com/langgenius/dify/assets/39375115/92ab0d1c-1f72-4cdd-88aa-c8c9fc5da731) ![3](https://github.com/langgenius/dify/assets/39375115/7cffefb3-b87d-4ecb-b072-2cf6dbe54c37) ### ✔️ Expected Behavior When updating a document or adding new features to the chatbot, the system should operate as expected. For instance, if I add a new chunk of information or context to an existing document, the knowledge base should update accordingly. Similarly, when new annotations are added to the chatbot, the system should recognize and utilize them in responses to user queries. ### ❌ Actual Behavior Unfortunately, it appears that the system is not functioning as expected. Despite updates to documents or the addition of new features to the chatbot, there is no observable change in behavior. Specifically, when new content is added to existing documents, the knowledge retrieval system fails to incorporate this information, and responses continue to be based on outdated data. Similarly, although new annotations are added to the chatbot, the responses provided still rely on older documents rather than incorporating the new information.
yindo added the 🤖 feat:agent🌊 feat:workflow labels 2026-02-21 17:49:11 -05:00
yindo closed this issue 2026-02-21 17:49:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2718