llama-index-vector-stores-postgres 0.7.2__tar.gz → 0.7.3__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.
- {llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/PKG-INFO +1 -1
- {llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/llama_index/vector_stores/postgres/base.py +4 -0
- {llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/pyproject.toml +1 -1
- {llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/.gitignore +0 -0
- {llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/LICENSE +0 -0
- {llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/README.md +0 -0
- {llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/llama_index/py.typed +0 -0
- {llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/llama_index/vector_stores/postgres/__init__.py +0 -0
|
@@ -828,6 +828,7 @@ class PGVectorStore(BasePydanticVectorStore):
|
|
|
828
828
|
text(f"SET ivfflat.probes = :ivfflat_probes"),
|
|
829
829
|
{"ivfflat_probes": ivfflat_probes},
|
|
830
830
|
)
|
|
831
|
+
session.execute(text("SET LOCAL enable_bitmapscan = off"))
|
|
831
832
|
if self.hnsw_kwargs:
|
|
832
833
|
hnsw_ef_search = (
|
|
833
834
|
kwargs.get("hnsw_ef_search") or self.hnsw_kwargs["hnsw_ef_search"]
|
|
@@ -836,6 +837,7 @@ class PGVectorStore(BasePydanticVectorStore):
|
|
|
836
837
|
text(f"SET hnsw.ef_search = :hnsw_ef_search"),
|
|
837
838
|
{"hnsw_ef_search": hnsw_ef_search},
|
|
838
839
|
)
|
|
840
|
+
session.execute(text("SET LOCAL enable_bitmapscan = off"))
|
|
839
841
|
|
|
840
842
|
res = session.execute(
|
|
841
843
|
stmt,
|
|
@@ -873,12 +875,14 @@ class PGVectorStore(BasePydanticVectorStore):
|
|
|
873
875
|
await async_session.execute(
|
|
874
876
|
text(f"SET hnsw.ef_search = {hnsw_ef_search}"),
|
|
875
877
|
)
|
|
878
|
+
await async_session.execute(text("SET LOCAL enable_bitmapscan = off"))
|
|
876
879
|
if kwargs.get("ivfflat_probes"):
|
|
877
880
|
ivfflat_probes = kwargs.get("ivfflat_probes")
|
|
878
881
|
await async_session.execute(
|
|
879
882
|
text(f"SET ivfflat.probes = :ivfflat_probes"),
|
|
880
883
|
{"ivfflat_probes": ivfflat_probes},
|
|
881
884
|
)
|
|
885
|
+
await async_session.execute(text("SET LOCAL enable_bitmapscan = off"))
|
|
882
886
|
|
|
883
887
|
res = await async_session.execute(stmt)
|
|
884
888
|
return [
|
{llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/pyproject.toml
RENAMED
|
@@ -27,7 +27,7 @@ dev = [
|
|
|
27
27
|
|
|
28
28
|
[project]
|
|
29
29
|
name = "llama-index-vector-stores-postgres"
|
|
30
|
-
version = "0.7.
|
|
30
|
+
version = "0.7.3"
|
|
31
31
|
description = "llama-index vector_stores postgres integration"
|
|
32
32
|
authors = [{name = "Your Name", email = "you@example.com"}]
|
|
33
33
|
requires-python = ">=3.9,<4.0"
|
{llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/.gitignore
RENAMED
|
File without changes
|
{llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/LICENSE
RENAMED
|
File without changes
|
{llama_index_vector_stores_postgres-0.7.2 → llama_index_vector_stores_postgres-0.7.3}/README.md
RENAMED
|
File without changes
|
|
File without changes
|