elasticsearch-haystack 0.7.0__py3-none-any.whl → 0.7.1__py3-none-any.whl
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 elasticsearch-haystack might be problematic. Click here for more details.
- {elasticsearch_haystack-0.7.0.dist-info → elasticsearch_haystack-0.7.1.dist-info}/METADATA +1 -1
- {elasticsearch_haystack-0.7.0.dist-info → elasticsearch_haystack-0.7.1.dist-info}/RECORD +6 -6
- haystack_integrations/components/retrievers/elasticsearch/bm25_retriever.py +4 -1
- haystack_integrations/components/retrievers/elasticsearch/embedding_retriever.py +4 -1
- {elasticsearch_haystack-0.7.0.dist-info → elasticsearch_haystack-0.7.1.dist-info}/WHEEL +0 -0
- {elasticsearch_haystack-0.7.0.dist-info → elasticsearch_haystack-0.7.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: elasticsearch-haystack
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: Haystack 2.x Document Store for ElasticSearch
|
|
5
5
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/elasticsearch#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
haystack_integrations/components/retrievers/elasticsearch/__init__.py,sha256=cSJBsYjz_T4kK-M-auAHVUnYIcgUqqwwQe_hsF0_IG4,307
|
|
2
|
-
haystack_integrations/components/retrievers/elasticsearch/bm25_retriever.py,sha256=
|
|
3
|
-
haystack_integrations/components/retrievers/elasticsearch/embedding_retriever.py,sha256
|
|
2
|
+
haystack_integrations/components/retrievers/elasticsearch/bm25_retriever.py,sha256=4kCb10S073IHXnBxP4gVU2bxeYlqQbK6FhV8aTg3wVs,5850
|
|
3
|
+
haystack_integrations/components/retrievers/elasticsearch/embedding_retriever.py,sha256=9at7bGJt4ZLSwD4kmTKYGLc7bHAn8zWshx3-sZgDU0g,5991
|
|
4
4
|
haystack_integrations/document_stores/elasticsearch/__init__.py,sha256=YTfu94dtVUBogbJFr1aJrKuaI6-Bw9VuHfPoyU7M8os,207
|
|
5
5
|
haystack_integrations/document_stores/elasticsearch/document_store.py,sha256=H5aqriF7rFYYpqALqAhvBSL41jzGtOxa-vSIPcLgXGw,18719
|
|
6
6
|
haystack_integrations/document_stores/elasticsearch/filters.py,sha256=L1tN7YCIDuNdhGrBQdPoqXFk37x__2-K038xZ6PRdNQ,9923
|
|
7
|
-
elasticsearch_haystack-0.7.
|
|
8
|
-
elasticsearch_haystack-0.7.
|
|
9
|
-
elasticsearch_haystack-0.7.
|
|
10
|
-
elasticsearch_haystack-0.7.
|
|
7
|
+
elasticsearch_haystack-0.7.1.dist-info/METADATA,sha256=G6FdW5Hm8aNTFKon36o6RoigWXUNY2IrozKQUXksTg8,2168
|
|
8
|
+
elasticsearch_haystack-0.7.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
9
|
+
elasticsearch_haystack-0.7.1.dist-info/licenses/LICENSE,sha256=_M2kulivnaiTHiW-5CRlZrPmH47tt04pBgAgeDvfYi4,11342
|
|
10
|
+
elasticsearch_haystack-0.7.1.dist-info/RECORD,,
|
|
@@ -108,7 +108,10 @@ class ElasticsearchBM25Retriever:
|
|
|
108
108
|
data["init_parameters"]["document_store"] = ElasticsearchDocumentStore.from_dict(
|
|
109
109
|
data["init_parameters"]["document_store"]
|
|
110
110
|
)
|
|
111
|
-
|
|
111
|
+
# Pipelines serialized with old versions of the component might not
|
|
112
|
+
# have the filter_policy field.
|
|
113
|
+
if filter_policy := data["init_parameters"].get("filter_policy"):
|
|
114
|
+
data["init_parameters"]["filter_policy"] = FilterPolicy.from_str(filter_policy)
|
|
112
115
|
return default_from_dict(cls, data)
|
|
113
116
|
|
|
114
117
|
@component.output_types(documents=List[Document])
|
|
@@ -106,7 +106,10 @@ class ElasticsearchEmbeddingRetriever:
|
|
|
106
106
|
data["init_parameters"]["document_store"] = ElasticsearchDocumentStore.from_dict(
|
|
107
107
|
data["init_parameters"]["document_store"]
|
|
108
108
|
)
|
|
109
|
-
|
|
109
|
+
# Pipelines serialized with old versions of the component might not
|
|
110
|
+
# have the filter_policy field.
|
|
111
|
+
if filter_policy := data["init_parameters"].get("filter_policy"):
|
|
112
|
+
data["init_parameters"]["filter_policy"] = FilterPolicy.from_str(filter_policy)
|
|
110
113
|
return default_from_dict(cls, data)
|
|
111
114
|
|
|
112
115
|
@component.output_types(documents=List[Document])
|
|
File without changes
|
{elasticsearch_haystack-0.7.0.dist-info → elasticsearch_haystack-0.7.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|