for knowledge base retrieval, is the associated knowledge base entered through parameters at the start node? #8695

Closed
opened 2026-02-21 18:27:04 -05:00 by yindo · 3 comments
Owner

Originally created by @TigerYangYang on GitHub (Feb 27, 2025).

Self Checks

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

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Hello, for knowledge base retrieval, is the associated knowledge base entered through parameters at the start node? thank you

Image

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @TigerYangYang on GitHub (Feb 27, 2025). ### Self Checks - [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. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Hello, for knowledge base retrieval, is the associated knowledge base entered through parameters at the start node? thank you <img width="1211" alt="Image" src="https://github.com/user-attachments/assets/7b066f85-c0ef-439b-abbc-26f5b6519fea" /> ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 🌚 invalid label 2026-02-21 18:27:04 -05:00
yindo closed this issue 2026-02-21 18:27:04 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 27, 2025):

Yes, for knowledge base retrieval in Dify, the associated knowledge base is indeed entered through parameters at the start node. Specifically, the sys.query from the start node is used as the query variable to search for relevant text segments within the knowledge base. The knowledge base to be searched must be pre-created within Dify. Additionally, to enable workflow applications to read knowledge base content, you should add a knowledge base retrieval node upstream of the LLM node and fill in the output variable result of the knowledge retrieval node into the context variable of the LLM node [1][2].

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 (Feb 27, 2025): <!-- Answer --> Yes, for knowledge base retrieval in Dify, the associated knowledge base is indeed entered through parameters at the start node. Specifically, the `sys.query` from the start node is used as the query variable to search for relevant text segments within the knowledge base. The knowledge base to be searched must be pre-created within Dify. Additionally, to enable workflow applications to read knowledge base content, you should add a knowledge base retrieval node upstream of the LLM node and fill in the output variable `result` of the knowledge retrieval node into the context variable of the LLM node <sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/jp/guides/workflow/node/knowledge-retrieval.md)</sup><sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/node/llm.md)</sup>. <!-- 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/1af1b72f-f5d4-4138-9f0c-cbe2a71d8e0b?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/1af1b72f-f5d4-4138-9f0c-cbe2a71d8e0b?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/1af1b72f-f5d4-4138-9f0c-cbe2a71d8e0b?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/1af1b72f-f5d4-4138-9f0c-cbe2a71d8e0b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1af1b72f-f5d4-4138-9f0c-cbe2a71d8e0b?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/1af1b72f-f5d4-4138-9f0c-cbe2a71d8e0b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1af1b72f-f5d4-4138-9f0c-cbe2a71d8e0b?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Feb 27, 2025):

Image
@crazywoola commented on GitHub (Feb 27, 2025): <img width="158" alt="Image" src="https://github.com/user-attachments/assets/2c8ce823-d2b6-4e19-8f09-7cae394ea57b" />
Author
Owner

@crazywoola commented on GitHub (Feb 27, 2025):

This is feature request template, please use discussion for questions instead.

@crazywoola commented on GitHub (Feb 27, 2025): This is feature request template, please use discussion for questions instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8695