mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #1251] RAG source retrieval #12414
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@tjbck commented on GitHub (Mar 21, 2024):
Duplicate #715, let's continue our discussion there!