pgvector-haystack 5.2.0__py3-none-any.whl → 5.2.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 +2 -0
- {pgvector_haystack-5.2.0.dist-info → pgvector_haystack-5.2.1.dist-info}/METADATA +1 -1
- {pgvector_haystack-5.2.0.dist-info → pgvector_haystack-5.2.1.dist-info}/RECORD +5 -5
- {pgvector_haystack-5.2.0.dist-info → pgvector_haystack-5.2.1.dist-info}/WHEEL +0 -0
- {pgvector_haystack-5.2.0.dist-info → pgvector_haystack-5.2.1.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -534,6 +534,7 @@ class PgvectorDocumentStore:
|
|
|
534
534
|
The name of the schema (`schema_name`) and the name of the table (`table_name`)
|
|
535
535
|
are defined when initializing the `PgvectorDocumentStore`.
|
|
536
536
|
"""
|
|
537
|
+
self._ensure_db_setup()
|
|
537
538
|
delete_sql = SQL("DROP TABLE IF EXISTS {schema_name}.{table_name}").format(
|
|
538
539
|
schema_name=Identifier(self.schema_name),
|
|
539
540
|
table_name=Identifier(self.table_name),
|
|
@@ -551,6 +552,7 @@ class PgvectorDocumentStore:
|
|
|
551
552
|
"""
|
|
552
553
|
Async method to delete the table used to store Haystack documents.
|
|
553
554
|
"""
|
|
555
|
+
await self._ensure_db_setup_async()
|
|
554
556
|
delete_sql = SQL("DROP TABLE IF EXISTS {schema_name}.{table_name}").format(
|
|
555
557
|
schema_name=Identifier(self.schema_name),
|
|
556
558
|
table_name=Identifier(self.table_name),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pgvector-haystack
|
|
3
|
-
Version: 5.2.
|
|
3
|
+
Version: 5.2.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
|
|
@@ -5,9 +5,9 @@ haystack_integrations/components/retrievers/pgvector/keyword_retriever.py,sha256
|
|
|
5
5
|
haystack_integrations/document_stores/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
haystack_integrations/document_stores/pgvector/__init__.py,sha256=Ge-7ggarfr3x8UqNdFHUuFGiu52u49sOVe3l16WEwZU,197
|
|
7
7
|
haystack_integrations/document_stores/pgvector/converters.py,sha256=9ORG_Yb8Ss4eGGJB9ZGaDE25z89rLAh3ZisKwRww1bw,2937
|
|
8
|
-
haystack_integrations/document_stores/pgvector/document_store.py,sha256=
|
|
8
|
+
haystack_integrations/document_stores/pgvector/document_store.py,sha256=ygLMX4Y73TPsqQUdpnvXTgkXpnyDHyeHKXrSFB27Jw0,49839
|
|
9
9
|
haystack_integrations/document_stores/pgvector/filters.py,sha256=jYdoXJZhAn3hNZTnx1x8K5Ok2LZzh-GB4hOhk6r7ZPk,9021
|
|
10
|
-
pgvector_haystack-5.2.
|
|
11
|
-
pgvector_haystack-5.2.
|
|
12
|
-
pgvector_haystack-5.2.
|
|
13
|
-
pgvector_haystack-5.2.
|
|
10
|
+
pgvector_haystack-5.2.1.dist-info/METADATA,sha256=o0Cjf0OCN1rbYeiilUFOYgJSI-XMzjNtO_D4csagW5Q,2187
|
|
11
|
+
pgvector_haystack-5.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
12
|
+
pgvector_haystack-5.2.1.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
|
13
|
+
pgvector_haystack-5.2.1.dist-info/RECORD,,
|
|
File without changes
|
{pgvector_haystack-5.2.0.dist-info → pgvector_haystack-5.2.1.dist-info}/licenses/LICENSE.txt
RENAMED
|
File without changes
|