dify
dify copied to clipboard
Feature: remove documents of which score is below 0.01 from knowledge retrieval
Self Checks
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [X] Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
When performing knowledge searches, there are instances where documents with scores below 0.01 are retrieved, as their scores are non-zero but extremely low (e.g., 0.00051512). I would like to propose a feature that checks the scores of retrieved documents and excludes those where the rounded value of the score is 0.00.
Would your team be open to a pull request for this enhancement?
2. Additional context or comments
No response
3. Can you help us with this feature?
- [X] I am interested in contributing to this feature.
Hi, @jasonkang14. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You suggested a feature to exclude documents with scores below 0.01 from knowledge retrieval results.
- You expressed willingness to contribute by submitting a pull request.
- There has been no further activity or comments on the issue.
Next Steps:
- Please let me know if this issue is still relevant to the latest version of the Dify repository by commenting here.
- If there is no further input, this issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!