qdrant-haystack 3.7.0__tar.gz → 3.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of qdrant-haystack might be problematic. Click here for more details.
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/PKG-INFO +1 -1
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/src/haystack_integrations/document_stores/qdrant/document_store.py +3 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/tests/test_dict_converters.py +3 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/tests/test_retriever.py +3 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/.gitignore +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/LICENSE.txt +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/README.md +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/examples/embedding_retrieval.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/pydoc/config.yml +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/pyproject.toml +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/src/haystack_integrations/components/retrievers/qdrant/__init__.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/src/haystack_integrations/components/retrievers/qdrant/retriever.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/src/haystack_integrations/document_stores/qdrant/__init__.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/src/haystack_integrations/document_stores/qdrant/converters.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/src/haystack_integrations/document_stores/qdrant/filters.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/src/haystack_integrations/document_stores/qdrant/migrate_to_sparse.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/tests/__init__.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/tests/conftest.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/tests/test_converters.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/tests/test_document_store.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/tests/test_filters.py +0 -0
- {qdrant_haystack-3.7.0 → qdrant_haystack-3.8.0}/tests/test_legacy_filters.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: qdrant-haystack
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.8.0
|
|
4
4
|
Summary: An integration of Qdrant ANN vector database backend with Haystack
|
|
5
5
|
Project-URL: Source, https://github.com/deepset-ai/haystack-core-integrations
|
|
6
6
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/qdrant/README.md
|
|
@@ -68,6 +68,7 @@ class QdrantDocumentStore:
|
|
|
68
68
|
timeout: Optional[int] = None,
|
|
69
69
|
host: Optional[str] = None,
|
|
70
70
|
path: Optional[str] = None,
|
|
71
|
+
force_disable_check_same_thread: bool = False,
|
|
71
72
|
index: str = "Document",
|
|
72
73
|
embedding_dim: int = 768,
|
|
73
74
|
on_disk: bool = False,
|
|
@@ -109,6 +110,7 @@ class QdrantDocumentStore:
|
|
|
109
110
|
self.timeout = timeout
|
|
110
111
|
self.host = host
|
|
111
112
|
self.path = path
|
|
113
|
+
self.force_disable_check_same_thread = force_disable_check_same_thread
|
|
112
114
|
self.metadata = metadata or {}
|
|
113
115
|
self.api_key = api_key
|
|
114
116
|
|
|
@@ -155,6 +157,7 @@ class QdrantDocumentStore:
|
|
|
155
157
|
host=self.host,
|
|
156
158
|
path=self.path,
|
|
157
159
|
metadata=self.metadata,
|
|
160
|
+
force_disable_check_same_thread=self.force_disable_check_same_thread,
|
|
158
161
|
)
|
|
159
162
|
# Make sure the collection is properly set up
|
|
160
163
|
self._set_up_collection(
|
|
@@ -25,6 +25,7 @@ def test_to_dict():
|
|
|
25
25
|
"content_field": "content",
|
|
26
26
|
"name_field": "name",
|
|
27
27
|
"embedding_field": "embedding",
|
|
28
|
+
"force_disable_check_same_thread": False,
|
|
28
29
|
"use_sparse_embeddings": False,
|
|
29
30
|
"similarity": "cosine",
|
|
30
31
|
"return_embedding": False,
|
|
@@ -64,6 +65,7 @@ def test_from_dict():
|
|
|
64
65
|
"content_field": "content",
|
|
65
66
|
"name_field": "name",
|
|
66
67
|
"embedding_field": "embedding",
|
|
68
|
+
"force_disable_check_same_thread": False,
|
|
67
69
|
"use_sparse_embeddings": True,
|
|
68
70
|
"similarity": "cosine",
|
|
69
71
|
"return_embedding": False,
|
|
@@ -88,6 +90,7 @@ def test_from_dict():
|
|
|
88
90
|
document_store.content_field == "content",
|
|
89
91
|
document_store.name_field == "name",
|
|
90
92
|
document_store.embedding_field == "embedding",
|
|
93
|
+
document_store.force_disable_check_same_thread is False,
|
|
91
94
|
document_store.use_sparse_embeddings is True,
|
|
92
95
|
document_store.on_disk is False,
|
|
93
96
|
document_store.similarity == "cosine",
|
|
@@ -49,6 +49,7 @@ class TestQdrantRetriever(FilterableDocsFixtureMixin):
|
|
|
49
49
|
"on_disk": False,
|
|
50
50
|
"content_field": "content",
|
|
51
51
|
"name_field": "name",
|
|
52
|
+
"force_disable_check_same_thread": False,
|
|
52
53
|
"embedding_field": "embedding",
|
|
53
54
|
"use_sparse_embeddings": False,
|
|
54
55
|
"similarity": "cosine",
|
|
@@ -172,6 +173,7 @@ class TestQdrantSparseEmbeddingRetriever(FilterableDocsFixtureMixin):
|
|
|
172
173
|
"content_field": "content",
|
|
173
174
|
"name_field": "name",
|
|
174
175
|
"embedding_field": "embedding",
|
|
176
|
+
"force_disable_check_same_thread": False,
|
|
175
177
|
"use_sparse_embeddings": False,
|
|
176
178
|
"similarity": "cosine",
|
|
177
179
|
"return_embedding": False,
|
|
@@ -281,6 +283,7 @@ class TestQdrantHybridRetriever:
|
|
|
281
283
|
"content_field": "content",
|
|
282
284
|
"name_field": "name",
|
|
283
285
|
"embedding_field": "embedding",
|
|
286
|
+
"force_disable_check_same_thread": False,
|
|
284
287
|
"use_sparse_embeddings": False,
|
|
285
288
|
"similarity": "cosine",
|
|
286
289
|
"return_embedding": False,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|