-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: rename
SimilarityRanker
to TransformersSimilarityRanker
(
#6100) * rename * release note * Update haystack/preview/components/rankers/transformers_similarity.py Co-authored-by: Domenico <[email protected]> * Update haystack/preview/components/rankers/transformers_similarity.py Co-authored-by: Domenico <[email protected]> * fix test --------- Co-authored-by: Domenico <[email protected]>
- Loading branch information
1 parent
1cf70d3
commit 1f4ed3c
Showing
4 changed files
with
27 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from haystack.preview.components.rankers.similarity import SimilarityRanker | ||
from haystack.preview.components.rankers.transformers_similarity import TransformersSimilarityRanker | ||
|
||
__all__ = ["SimilarityRanker"] | ||
__all__ = ["TransformersSimilarityRanker"] |
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
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/rename_similarity_ranker-d755c2cd00449ecc.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
preview: | ||
- | | ||
Rename `SimilarityRanker` to `TransformersSimilarityRanker`, | ||
as there will be more similarity rankers in the future. |
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