From d6a55ec29306c58bb44ce95bcf31266382a2c024 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Thu, 30 Oct 2025 13:52:35 +0530 Subject: [PATCH 1/3] feat(deps): Update langchain-postgres to v0.0.16 --- tests/test_async_vectorstore_search.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_async_vectorstore_search.py b/tests/test_async_vectorstore_search.py index 7e4effdf..9f496503 100644 --- a/tests/test_async_vectorstore_search.py +++ b/tests/test_async_vectorstore_search.py @@ -482,7 +482,7 @@ async def test_hybrid_search_weighted_sum_vector_bias( result_ids = [doc.metadata["doc_id_key"] for doc in results] assert len(result_ids) > 0 - assert result_ids[0] == "hs_doc_orange_fruit" + assert result_ids[0] == "hs_doc_generic_tech" async def test_hybrid_search_weighted_sum_fts_bias( self, vs_hybrid_search_with_tsv_column @@ -611,7 +611,7 @@ async def test_hybrid_search_fts_empty_results( assert len(result_ids) > 0 assert "hs_doc_apple_fruit" in result_ids or "hs_doc_apple_tech" in result_ids # The top result should be one of the apple documents based on vector search - assert results[0].metadata["doc_id_key"].startswith("hs_doc_unrelated_cat") + assert results[0].metadata["doc_id_key"].startswith("hs_doc_apple_fruit") async def test_hybrid_search_vector_empty_results_effectively( self, vs_hybrid_search_with_tsv_column @@ -638,7 +638,7 @@ async def test_hybrid_search_vector_empty_results_effectively( # Expect results based purely on FTS search for "orange fruit" assert len(result_ids) == 1 - assert result_ids[0] == "hs_doc_generic_tech" + assert result_ids[0] == "hs_doc_orange_fruit" async def test_hybrid_search_without_tsv_column(self, engine): """Test hybrid search without a TSV column.""" From e306450bee9cffeb4de7a925e93dbaa1014e9641 Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Thu, 30 Oct 2025 13:53:06 +0530 Subject: [PATCH 2/3] Update langchain-postgres version to 0.0.16 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cfb4d532..a68d6717 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ dependencies = [ "numpy>=1.24.4, <3.0.0; python_version >= '3.11'", "numpy>=1.24.4, <=2.2.6; python_version == '3.10'", "numpy>=1.24.4, <=2.0.2; python_version <= '3.9'", - "langchain-postgres>=0.0.15", + "langchain-postgres>=0.0.16", ] classifiers = [ From 8eb800ba9ad3c46a100d107555b5d017fe82ad8c Mon Sep 17 00:00:00 2001 From: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Date: Thu, 30 Oct 2025 13:53:16 +0530 Subject: [PATCH 3/3] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 02eaa6f8..d2aa371f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,4 @@ numpy==2.3.3; python_version >= "3.11" numpy==2.2.6; python_version == "3.10" numpy==2.0.2; python_version <= "3.9" langgraph==0.6.10 -langchain-postgres==0.0.15 +langchain-postgres==0.0.16