mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-30 17:25:30 -05:00
[GH-ISSUE #22298] feat: Conflict between Rerank Score Threshold and Direct File Uploads in Chat #35220
Reference in New Issue
Block a user
Originally created by @inoue583 on GitHub (Mar 6, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22298
Check Existing Issues
Verify Feature Scope
Problem Description
Description:
I am using Open WebUI v0.8.5 and noticed that the Score Threshold in RAG settings globally affects direct file uploads in the chat interface.
The Issue:
When I set the Score Threshold to a high value (e.g., 0.7) to maintain high precision for Knowledge Base retrieval, direct file uploads (even small .txt files) often fail to be recognized by the LLM.
Specifically:
Current Workaround:
Enabling Full Context Mode or lowering the Score Threshold to 0.0 fixes the issue, but this compromises the retrieval quality for larger Knowledge Bases.
Desired Solution you'd like
Would it be possible to bypass the Rerank Score Threshold for files directly attached to the prompt? Or perhaps treat direct uploads as "Full Context" by default while keeping the Rerank settings for Knowledge Base queries?
Alternatives Considered
No response
Additional Context
No response