Skip to content

Commit

Permalink
Update to langchain-postgres 0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Feb 5, 2025
1 parent e917024 commit dffa3a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Unreleased
- Updated to langchain-postgres 0.0.13

## v0.1.0 - 2025-01-03
- Added implementation and software tests for `CrateDBCache`,
Expand Down
3 changes: 3 additions & 0 deletions langchain_cratedb/vectorstores/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,9 @@ def _query_collection_multi(

_type = self.EmbeddingStore

# With NumPy 2, list contains `np.float64` values.
embedding = list(map(float, embedding))

results: List[Any] = (
session.query(
self.EmbeddingStore,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pretty = true
python = ">=3.9,<4.0"
langchain-community = "<0.4"
langchain-core = "<0.4"
langchain-postgres = "==0.0.12"
langchain-postgres = "==0.0.13"
sqlalchemy-cratedb = ">=0.40.1"

[tool.ruff.lint]
Expand Down

0 comments on commit dffa3a8

Please sign in to comment.