mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 09:31:58 -05:00
[GH-ISSUE #14231] feat: Individual RAG Config Settings #71793
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 @Maytown on GitHub (May 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14231
Check Existing Issues
Problem Description
Right now we can only use the globally defined RAG Settings for each knowledge base, but some collections need different settings than others. #9361
Parts of this problem: #12204 #7679
Desired Solution you'd like
When creating the knowledge, have a switch to turn on/off individual config and have the same settingspanel as in the settings->documents.
Save the RAG config to the DB and in backend distinguish between individual and default RAG settings via simple DB call if the default is True/False.
Further add a new modal to the knowledge base to edit the rag config again.
Alternatives Considered
No response
Additional Context
I already started working on this and have a running version. Only issue is now as mentioned in #12204 , how it should be handled when the model has multiple knowledge bases.