mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #264] [MERGED] Feature: Add Document Retrieval with Metadata Filtering similar to Chroma Vector Store #267
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/264
Author: @gRedHeadphone
Created: 10/23/2025
Status: ✅ Merged
Merged: 1/12/2026
Merged by: @dishaprakash
Base:
main← Head:origin/feature/search_by_metadata📝 Commits (10+)
1b0c89dImplement get through filter99d1440Implement synchronous get with pydoc and test casesa986493Implement missing async implementation into sync vector storeb0ce110Merge branch 'main' into feature/search_by_metadata6fafde4fix(docs): update command to install packages using uv & update port to default port used in tests80f5061Merge branch 'main' into development-steps-fix3dad796fix(docs): update tests invoking command7d50960Merge branch 'main' into development-steps-fix27d8eccMerge remote-tracking branch 'origin/development-steps-fix' into feature/search_by_metadataa7dd0bdfeat: add limit offset parameters to get methods similar to chroma vector store📊 Changes
6 files changed (+301 additions, -4 deletions)
View changed files
📝
examples/pg_vectorstore.ipynb(+28 -4)📝
examples/pg_vectorstore_how_to.ipynb(+24 -0)📝
langchain_postgres/v2/async_vectorstore.py(+114 -0)📝
langchain_postgres/v2/vectorstores.py(+46 -0)📝
tests/unit_tests/v2/test_async_pg_vectorstore_search.py(+44 -0)📝
tests/unit_tests/v2/test_pg_vectorstore_search.py(+45 -0)📄 Description
original PR: #231
On top of it adding limit and offset parameter to get methods similar to chroma vector store
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.