Skip to content

Conversation

@dhruvkaliraman7
Copy link
Contributor

@dhruvkaliraman7 dhruvkaliraman7 commented Jan 7, 2025

The validation logic now allows similarity_scorer to be provided without requiring similarity_query, which restores the previous behavior. We only validate that if similarity_query is provided, similarity_scorer must also be provided.
Previous version of code.
Reranking initialization in docstore

Copy link
Contributor

@baitsguy baitsguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you unit test

@dhruvkaliraman7 dhruvkaliraman7 merged commit c84a2b0 into main Jan 7, 2025
11 of 14 checks passed
@dhruvkaliraman7 dhruvkaliraman7 deleted the Fix-similarity-bug branch January 7, 2025 20:46
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.

3 participants