pgvector-haystack 3.2.0__py3-none-any.whl → 3.3.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.
- haystack_integrations/document_stores/pgvector/document_store.py +8 -4
- {pgvector_haystack-3.2.0.dist-info → pgvector_haystack-3.3.1.dist-info}/METADATA +2 -2
- {pgvector_haystack-3.2.0.dist-info → pgvector_haystack-3.3.1.dist-info}/RECORD +5 -5
- {pgvector_haystack-3.2.0.dist-info → pgvector_haystack-3.3.1.dist-info}/WHEEL +0 -0
- {pgvector_haystack-3.2.0.dist-info → pgvector_haystack-3.3.1.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -276,7 +276,9 @@ class PgvectorDocumentStore:
|
|
|
276
276
|
result = cursor.execute(sql_query, params)
|
|
277
277
|
except Error as e:
|
|
278
278
|
self._connection.rollback()
|
|
279
|
-
detailed_error_msg =
|
|
279
|
+
detailed_error_msg = (
|
|
280
|
+
f"{error_msg}. Error: {e!r}. \nYou can find the SQL query and the parameters in the debug logs."
|
|
281
|
+
)
|
|
280
282
|
raise DocumentStoreError(detailed_error_msg) from e
|
|
281
283
|
|
|
282
284
|
return result
|
|
@@ -314,7 +316,9 @@ class PgvectorDocumentStore:
|
|
|
314
316
|
result = await cursor.execute(sql_query, params)
|
|
315
317
|
except Error as e:
|
|
316
318
|
await self._async_connection.rollback()
|
|
317
|
-
detailed_error_msg =
|
|
319
|
+
detailed_error_msg = (
|
|
320
|
+
f"{error_msg}. Error: {e!r}. \nYou can find the SQL query and the parameters in the debug logs."
|
|
321
|
+
)
|
|
318
322
|
raise DocumentStoreError(detailed_error_msg) from e
|
|
319
323
|
|
|
320
324
|
return result
|
|
@@ -795,7 +799,7 @@ class PgvectorDocumentStore:
|
|
|
795
799
|
except Error as e:
|
|
796
800
|
self._connection.rollback()
|
|
797
801
|
error_msg = (
|
|
798
|
-
"Could not write documents to PgvectorDocumentStore. \n"
|
|
802
|
+
f"Could not write documents to PgvectorDocumentStore. Error: {e!r}. \n"
|
|
799
803
|
"You can find the SQL query and the parameters in the debug logs."
|
|
800
804
|
)
|
|
801
805
|
raise DocumentStoreError(error_msg) from e
|
|
@@ -852,7 +856,7 @@ class PgvectorDocumentStore:
|
|
|
852
856
|
except Error as e:
|
|
853
857
|
await self._async_connection.rollback()
|
|
854
858
|
error_msg = (
|
|
855
|
-
"Could not write documents to PgvectorDocumentStore. \n"
|
|
859
|
+
f"Could not write documents to PgvectorDocumentStore. Error: {e!r}. \n"
|
|
856
860
|
"You can find the SQL query and the parameters in the debug logs."
|
|
857
861
|
)
|
|
858
862
|
raise DocumentStoreError(error_msg) from e
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pgvector-haystack
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.1
|
|
4
4
|
Summary: An integration of pgvector (vector search extension for Postgres) 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/pgvector/README.md
|
|
@@ -20,7 +20,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
20
20
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
21
21
|
Requires-Python: >=3.9
|
|
22
22
|
Requires-Dist: haystack-ai>=2.11.0
|
|
23
|
-
Requires-Dist: pgvector
|
|
23
|
+
Requires-Dist: pgvector>=0.3.0
|
|
24
24
|
Requires-Dist: psycopg[binary]
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
|
|
@@ -3,9 +3,9 @@ haystack_integrations/components/retrievers/pgvector/embedding_retriever.py,sha2
|
|
|
3
3
|
haystack_integrations/components/retrievers/pgvector/keyword_retriever.py,sha256=5NECAn5qlLqcFTvRf_c-x1crdqdgTCeLHsmCxtD3pHk,6784
|
|
4
4
|
haystack_integrations/document_stores/pgvector/__init__.py,sha256=Ge-7ggarfr3x8UqNdFHUuFGiu52u49sOVe3l16WEwZU,197
|
|
5
5
|
haystack_integrations/document_stores/pgvector/converters.py,sha256=TQ85iX3IGkcAEo_WnnwvZl7q9RYwmZBoXXQHKWejQu0,2733
|
|
6
|
-
haystack_integrations/document_stores/pgvector/document_store.py,sha256=
|
|
6
|
+
haystack_integrations/document_stores/pgvector/document_store.py,sha256=FKlXCrBh-cQl5uAH8A2GjMmaqPv5CtI8UtC1i3ZUtcM,46671
|
|
7
7
|
haystack_integrations/document_stores/pgvector/filters.py,sha256=1xfU-DJcqFUFQtBezZCA8UsYFN0D9znXtsick1KANoU,8998
|
|
8
|
-
pgvector_haystack-3.
|
|
9
|
-
pgvector_haystack-3.
|
|
10
|
-
pgvector_haystack-3.
|
|
11
|
-
pgvector_haystack-3.
|
|
8
|
+
pgvector_haystack-3.3.1.dist-info/METADATA,sha256=0ND3ssFISjHk-MYNsvg1rd-6Jr9h89CQZwQl9XuGZrQ,2242
|
|
9
|
+
pgvector_haystack-3.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
10
|
+
pgvector_haystack-3.3.1.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
|
11
|
+
pgvector_haystack-3.3.1.dist-info/RECORD,,
|
|
File without changes
|
{pgvector_haystack-3.2.0.dist-info → pgvector_haystack-3.3.1.dist-info}/licenses/LICENSE.txt
RENAMED
|
File without changes
|