-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Do you need to file a feature request?
- I have searched the existing feature request and this feature request is not already filed.
- I believe this is a legitimate feature request, not just a question or bug.
Feature Request Description
Please consider adding the Document Chunks(DC) filtering function when ranking results
Filter by "relevance_score" parameter
I conducted my own tests and came to the conclusion that this allows increasing the quality of the answer by reducing the number of hallucinations, since filtering by ranking removes chunks that do not answer the question posed
Example: add "RERANK_MIN_SCORE = 0.5" to the .env file
Expected behavior:
Return values where "relevance_score">= RERANK_MIN_SCORE
Additional Context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request