-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use strategy pattern for rank fusion algorithms + Implement reciproca…
…l rank fusion (RRF) (#2599) * Strategy pattern for rank fusion and add RRF RRF still not available to the API * Add rank_fusion parameter to /find and /ask (void) * Move rank fusion parsing to get_rank_fusion * Implement RRF * Add discriminator to help pydantic validation * Parametrize RRF + Implement weighted (boosted) RRF * Implement RRF deduplication * Fix default_factory for rank fusion * Use a model for RRF boosting * Hide rank_fusion parameter from public API
- Loading branch information
Showing
14 changed files
with
913 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.