mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
feat: Optionally include the filename in the RAG context #4462
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 @alphafalcon on GitHub (Mar 17, 2025).
Check Existing Issues
Problem Description
I'm trying to use the RAG functionality to search my obsidian.md knowledge base. However, a lot of context for the content of a note is in the path and filename.
For example, when asking to retrieve a phone number for Jane Doe, which is located inside a note "People/Jane Doe.md" the model responds with the phone number, but notes that there is no information about a Jane Doe in the provided context, probably because the context transmitted to the LLM only contains a <source_id> tag
Desired Solution you'd like
The model should optionally be provided with metadata about the files, allowing it to more precisely identify relevant material.
Alternatives Considered
No response
Additional Context
No response