mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #211] [MERGED] feat: Added Hybrid Search Config and Tests [1/N] #237
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langchain-postgres/pull/211
Author: @vishwarajanand
Created: 5/19/2025
Status: ✅ Merged
Merged: 6/3/2025
Merged by: @vishwarajanand
Base:
main← Head:hybrid_search_1📝 Commits (10+)
22088a1feat: Added Hybrid Search Config and Tests [1/N]30942fffeat: create hybrid search capable vector store table [2/N]e641575feat: adds hybrid search for async VS interface [3/N]2a0bf0dfeat: adds hybrid search for sync VS interface [4/N]0562678Merge branch 'main' into hybrid_search_170ee300fix: tests5234648fix: pr comments73d4400fix: lint57ceb2cfix: lint678e7b1Merge branch 'hybrid_search_1' into hybrid_search_2📊 Changes
9 files changed (+1195 additions, -32 deletions)
View changed files
📝
langchain_postgres/v2/async_vectorstore.py(+152 -13)📝
langchain_postgres/v2/engine.py(+32 -2)➕
langchain_postgres/v2/hybrid_search_config.py(+149 -0)📝
langchain_postgres/v2/vectorstores.py(+19 -0)📝
tests/unit_tests/v2/test_async_pg_vectorstore_index.py(+65 -8)📝
tests/unit_tests/v2/test_async_pg_vectorstore_search.py(+423 -0)📝
tests/unit_tests/v2/test_engine.py(+63 -8)➕
tests/unit_tests/v2/test_hybrid_search_config.py(+229 -0)📝
tests/unit_tests/v2/test_pg_vectorstore_search.py(+63 -1)📄 Description
Adds configs and tests for Hybrid Search based on TSV + Vector Search
Other PRs:
TODO:
Add documentation in a followup PR, ref for comment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.