Save original url of data or file when embedding to knowledge base via API #3147

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

Originally created by @Emirateyang on GitHub (May 10, 2024).

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).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

When performing information retrieval use RAG, I hope that in addition to returning relevant content segments, the system can also return the original address of the matched files or data.
Therefore, I would like the ability to pass in the original address of the data when using the API to add data to the knowledge base.

2. Describe the feature you'd like to see

Save data to knowledge base:could pass in the original address of the data(text or file)
Retrieval:can return the original address of the matched files or data.

3. How will this feature improve your workflow or experience?

In some cases, If the original files are publicly accessible web pages or documents, the system can also provide the original URL links in the returned results, allowing users to directly access the sources.

4. Additional context or comments

No response

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @Emirateyang on GitHub (May 10, 2024). ### 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] Pleas do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? When performing information retrieval use RAG, I hope that in addition to returning relevant content segments, the system can also return the original address of the matched files or data. Therefore, I would like the ability to pass in the original address of the data when using the API to add data to the knowledge base. ### 2. Describe the feature you'd like to see Save data to knowledge base:could pass in the original address of the data(text or file) Retrieval:can return the original address of the matched files or data. ### 3. How will this feature improve your workflow or experience? In some cases, If the original files are publicly accessible web pages or documents, the system can also provide the original URL links in the returned results, allowing users to directly access the sources. ### 4. Additional context or comments _No response_ ### 5. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 👻 feat:rag label 2026-02-21 17:54:19 -05:00
yindo closed this issue 2026-02-21 17:54:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#3147