mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
issue: RELEVANCE_THRESHOLD not resettable #5248
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 @brainboutique on GitHub (May 20, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.10
Ollama Version (if applicable)
v0.6.5
Operating System
Linux
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
On /admin/settings, I would expect the RELEVANCE_THRESHOLD to be resettable to "null" (not 0).
Reason: I suspect that a tool call returns a unknown relevance and therefore is skipped while re-ranking
Actual Behavior
Keeps old value.
Steps to Reproduce
Logs & Screenshots
/api/v1/retrieval/config/update
Request payload (as copied from developer console)
{
"status": true,
...
"RELEVANCE_THRESHOLD": null,
...
}
Response payload (as copied from developer console)
{
"status": true,
...
"RELEVANCE_THRESHOLD": 0.0,
...
}
Additional Information
No response
@tjbck commented on GitHub (May 20, 2025):
r_score must be a float.
@brainboutique commented on GitHub (May 20, 2025):
@tjbck then how to disable threshold filtering? "0" apparently has different semantics.