diff --git a/integrations/qdrant/src/haystack_integrations/components/retrievers/qdrant/retriever.py b/integrations/qdrant/src/haystack_integrations/components/retrievers/qdrant/retriever.py index c8c9be44a..5663f5b0b 100644 --- a/integrations/qdrant/src/haystack_integrations/components/retrievers/qdrant/retriever.py +++ b/integrations/qdrant/src/haystack_integrations/components/retrievers/qdrant/retriever.py @@ -37,7 +37,7 @@ def __init__( document_store: QdrantDocumentStore, filters: Optional[Union[Dict[str, Any], models.Filter]] = None, top_k: int = 10, - scale_score: bool = True, + scale_score: bool = False, return_embedding: bool = False, ): """ @@ -159,7 +159,7 @@ def __init__( document_store: QdrantDocumentStore, filters: Optional[Union[Dict[str, Any], models.Filter]] = None, top_k: int = 10, - scale_score: bool = True, + scale_score: bool = False, return_embedding: bool = False, ): """ diff --git a/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py b/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py index 0236f00c3..910667db0 100644 --- a/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py +++ b/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/document_store.py @@ -496,7 +496,7 @@ def _query_by_sparse( query_sparse_embedding: SparseEmbedding, filters: Optional[Union[Dict[str, Any], rest.Filter]] = None, top_k: int = 10, - scale_score: bool = True, + scale_score: bool = False, return_embedding: bool = False, ) -> List[Document]: """ @@ -553,7 +553,7 @@ def _query_by_embedding( query_embedding: List[float], filters: Optional[Union[Dict[str, Any], rest.Filter]] = None, top_k: int = 10, - scale_score: bool = True, + scale_score: bool = False, return_embedding: bool = False, ) -> List[Document]: """ diff --git a/integrations/qdrant/tests/test_retriever.py b/integrations/qdrant/tests/test_retriever.py index 3bfb9e62e..7edf0d6d7 100644 --- a/integrations/qdrant/tests/test_retriever.py +++ b/integrations/qdrant/tests/test_retriever.py @@ -71,7 +71,7 @@ def test_to_dict(self): }, "filters": None, "top_k": 10, - "scale_score": True, + "scale_score": False, "return_embedding": False, }, } @@ -190,7 +190,7 @@ def test_to_dict(self): }, "filters": None, "top_k": 10, - "scale_score": True, + "scale_score": False, "return_embedding": False, }, }