-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Add threshold to retrieval config #1830
Comments
Hi @szwang-seedtech , we don't support a threshold, but you can set |
@thinkall Hello, I am just wondering, will the threshold feature be added in the future. According to my test, the unrelated information in the retrieval_content will actually make an impact on the replies from agents. |
Yes, this is a good-to-have feature. We're currently working on a refactor of RAG, this is on the to-do list #1657 |
I see. Thank you. I will close this request then : ) |
Is your feature request related to a problem? Please describe.
Hello,
The current rag seems to list the top few numbers of chunks into the retrieval content, and then filter them by determing whether they are related to the question, and this will still waste a certain number of tokens at the first place.
Is it possible to add a threshold setting to the retrieval config, so that only the similarity over the threshold value will be listed in the retrieval content?
Describe the solution you'd like
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: