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

Easy-rag: allow to specify minScore through configuration #1027

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

edeandrea
Copy link
Collaborator

Allowing to specify minScore through configuration.

Also a little refactoring to pass the whole EasyRagConfig into the EasyRetrievalAugmentor rather than just the maxResults

@edeandrea edeandrea requested a review from a team as a code owner October 31, 2024 12:08
@edeandrea
Copy link
Collaborator Author

edeandrea commented Oct 31, 2024

I was debating whether to set a default of 0.0 (the current LangChain4j default), or to make it an OptionalDouble and only set it if the user wants it, that way if upstream LangChain4j changed the default then we would just inherit their default, rather than always say 0.0

@edeandrea edeandrea force-pushed the easy-rag-add-min-score branch from d9c3552 to 80003ee Compare October 31, 2024 12:25
@edeandrea
Copy link
Collaborator Author

Just rebased based on #1027 (comment)

@edeandrea edeandrea force-pushed the easy-rag-add-min-score branch from 01044b3 to 51d8cea Compare October 31, 2024 12:35
@jmartisk jmartisk merged commit 99297ed into quarkiverse:main Oct 31, 2024
59 checks passed
@edeandrea edeandrea deleted the easy-rag-add-min-score branch November 7, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants