mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #14089] issue: RELEVANCE_THRESHOLD not resettable #17137
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).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14089
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.