Skip to content
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

Allow user-configurable threshold for relevant docs retrieved from Vector DB #14

Open
selvik opened this issue Dec 18, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@selvik
Copy link

selvik commented Dec 18, 2024

When sufficient context is not available in the RAG Knowledge base (stored in the Vector DB) for an incoming question, we would need to detect this and return a suitable answer to the question being asked. For e.g. answering: "Sufficient context is not available to answer this question" would be better than providing a wrong answer from non-relevant "context".

This detection will also need to be user-configurable - perhaps a confidence estimate on the "similarity" of the top-k relevant vectors returned for the end-user's question? Investigate the availability of such a metric and include it in the RAG serve app.

@selvik selvik added the good first issue Good for newcomers label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant