Skip to content

Commit dffa3a8

Browse files
committed
Update to langchain-postgres 0.0.13
1 parent e917024 commit dffa3a8

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
## Unreleased
5+
- Updated to langchain-postgres 0.0.13
56

67
## v0.1.0 - 2025-01-03
78
- Added implementation and software tests for `CrateDBCache`,

langchain_cratedb/vectorstores/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,9 @@ def _query_collection_multi(
541541

542542
_type = self.EmbeddingStore
543543

544+
# With NumPy 2, list contains `np.float64` values.
545+
embedding = list(map(float, embedding))
546+
544547
results: List[Any] = (
545548
session.query(
546549
self.EmbeddingStore,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pretty = true
9292
python = ">=3.9,<4.0"
9393
langchain-community = "<0.4"
9494
langchain-core = "<0.4"
95-
langchain-postgres = "==0.0.12"
95+
langchain-postgres = "==0.0.13"
9696
sqlalchemy-cratedb = ">=0.40.1"
9797

9898
[tool.ruff.lint]

0 commit comments

Comments
 (0)