Workflows that include knowledge bases cannot view referenced documents #6733

Closed
opened 2026-02-21 18:17:02 -05:00 by yindo · 1 comment
Owner

Originally created by @zengyunda on GitHub (Nov 13, 2024).

Originally assigned to: @JzoNgKVO 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

0.10.x

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Use dify's workflow to orchestrate an agent, which contains the content of the knowledge base. The relevant agent orchestration is shown in the figure below:
    image

  2. When the agent is published as a link and used alone on a web page, the following situation occurs. If the link is not refreshed, the question can see the knowledge base reference document after the answer, as shown in the figure below:
    image

  3. Every time I refresh the link, the knowledge base reference document that I could see before will disappear, as shown in the figure below:
    image

  4. I found this problem in both version 0.82 and version 0.10. I confirmed that the parameter settings in the application have enabled the knowledge base reference function.

  5. When I use the knowledge base application in chat mode, I can still see the reference document of the knowledge base when refreshing the link. I am not sure whether this is a bug in dify or a problem in my application orchestration. This problem has been bothering me for a few days. I hope it can be solved

✔️ Expected Behavior

I expect to be able to see the reference document of the knowledge base using workflow, even after the link is refreshed after publishing.

Actual Behavior

Every time I refresh the link, the knowledge base reference document that I could see before will disappear

Originally created by @zengyunda on GitHub (Nov 13, 2024). Originally assigned to: @JzoNgKVO 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 0.10.x ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Use dify's workflow to orchestrate an agent, which contains the content of the knowledge base. The relevant agent orchestration is shown in the figure below: ![image](https://github.com/user-attachments/assets/0debea41-2864-428c-98e7-b3f29d1ee950) 2. When the agent is published as a link and used alone on a web page, the following situation occurs. If the link is not refreshed, the question can see the knowledge base reference document after the answer, as shown in the figure below: ![image](https://github.com/user-attachments/assets/710bfa01-0a34-45a7-a488-f5c6ba676865) 3. Every time I refresh the link, the knowledge base reference document that I could see before will disappear, as shown in the figure below: ![image](https://github.com/user-attachments/assets/e04bb18a-5efc-439e-ba30-4a31d65c0ba3) 4. I found this problem in both version 0.82 and version 0.10. I confirmed that the parameter settings in the application have enabled the knowledge base reference function. 5. When I use the knowledge base application in chat mode, I can still see the reference document of the knowledge base when refreshing the link. I am not sure whether this is a bug in dify or a problem in my application orchestration. This problem has been bothering me for a few days. I hope it can be solved ### ✔️ Expected Behavior I expect to be able to see the reference document of the knowledge base using workflow, even after the link is refreshed after publishing. ### ❌ Actual Behavior Every time I refresh the link, the knowledge base reference document that I could see before will disappear
yindo added the 🐞 bug label 2026-02-21 18:17:02 -05:00
yindo closed this issue 2026-02-21 18:17:02 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 13, 2024):

I couldn't find a specific solution to the issue of knowledge base references disappearing after a page refresh in Dify's published link mode. However, there is a similar unsolved discussion that might be relevant to your problem. You can check it out here [1].

Additionally, you might want to review the configuration settings related to visibility permissions, index mode, retrieval settings, and retrieval strategy configuration, as these can affect the visibility of knowledge base reference documents in workflows [2][3][4].

If the issue persists, consider checking for any specific logs or error messages that might provide more insight into why the references disappear after a refresh.

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Nov 13, 2024): <!-- Answer --> I couldn't find a specific solution to the issue of knowledge base references disappearing after a page refresh in Dify's published link mode. However, there is a similar unsolved discussion that might be relevant to your problem. You can check it out [here](https://github.com/langgenius/dify/discussions/7061) <sup>[[1]](https://github.com/langgenius/dify/discussions/7061)</sup>. Additionally, you might want to review the configuration settings related to visibility permissions, index mode, retrieval settings, and retrieval strategy configuration, as these can affect the visibility of knowledge base reference documents in workflows <sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/en/guides/knowledge-base/knowledge-and-documents-maintenance.md)</sup><sup>[[3]](https://github.com/langgenius/dify-docs/blob/main/en/guides/knowledge-base/create-knowledge-and-upload-documents.md)</sup><sup>[[4]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/node/knowledge-retrieval.md)</sup>. If the issue persists, consider checking for any specific logs or error messages that might provide more insight into why the references disappear after a refresh. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6733