[GH-ISSUE #1251] RAG source retrieval #27942

Closed
opened 2026-04-25 02:42:35 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @JonoSax on GitHub (Mar 21, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1251

Is your feature request related to a problem? Please describe.
Suggestion to have a new feature. This would enable feature parity with PrivateGPT's RAG interface.

Describe the solution you'd like
When using RAG, return the source of the queried content (ie document names and the location within these used in the prompt). This would be similar to what PrivateGPT is able to do by providing the references of where it gets the content from (ie pg. 2 of [doc name]) which is extremely helpful in order to validate the output of any LLM.

Describe alternatives you've considered
Including in the prompt, "return the queries used to generate the response" and other similar prompts unreliably shows returns the content from the document used.

Additional context
No additional info.

Originally created by @JonoSax on GitHub (Mar 21, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/1251 **Is your feature request related to a problem? Please describe.** Suggestion to have a new feature. This would enable feature parity with PrivateGPT's RAG interface. **Describe the solution you'd like** When using RAG, return the source of the queried content (ie document names and the location within these used in the prompt). This would be similar to what PrivateGPT is able to do by providing the references of where it gets the content from (ie pg. 2 of [doc name]) which is extremely helpful in order to validate the output of any LLM. **Describe alternatives you've considered** Including in the prompt, "return the queries used to generate the response" and other similar prompts unreliably shows returns the content from the document used. **Additional context** No additional info.
Author
Owner

@tjbck commented on GitHub (Mar 21, 2024):

Duplicate #715, let's continue our discussion there!

<!-- gh-comment-id:2013786098 --> @tjbck commented on GitHub (Mar 21, 2024): Duplicate #715, let's continue our discussion there!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#27942