[PR #264] [MERGED] Feature: Add Document Retrieval with Metadata Filtering similar to Chroma Vector Store #267

Closed
opened 2026-02-16 05:17:10 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: origin/feature/search_by_metadata


📝 Commits (10+)

  • 1b0c89d Implement get through filter
  • 99d1440 Implement synchronous get with pydoc and test cases
  • a986493 Implement missing async implementation into sync vector store
  • b0ce110 Merge branch 'main' into feature/search_by_metadata
  • 6fafde4 fix(docs): update command to install packages using uv & update port to default port used in tests
  • 80f5061 Merge branch 'main' into development-steps-fix
  • 3dad796 fix(docs): update tests invoking command
  • 7d50960 Merge branch 'main' into development-steps-fix
  • 27d8ecc Merge remote-tracking branch 'origin/development-steps-fix' into feature/search_by_metadata
  • a7dd0bd feat: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-postgres/pull/264 **Author:** [@gRedHeadphone](https://github.com/gRedHeadphone) **Created:** 10/23/2025 **Status:** ✅ Merged **Merged:** 1/12/2026 **Merged by:** [@dishaprakash](https://github.com/dishaprakash) **Base:** `main` ← **Head:** `origin/feature/search_by_metadata` --- ### 📝 Commits (10+) - [`1b0c89d`](https://github.com/langchain-ai/langchain-postgres/commit/1b0c89d2f9c9e16d4866176c031f769178f8ebdd) Implement get through filter - [`99d1440`](https://github.com/langchain-ai/langchain-postgres/commit/99d1440e6989b257361314c5e2e5a3db19d74d0c) Implement synchronous get with pydoc and test cases - [`a986493`](https://github.com/langchain-ai/langchain-postgres/commit/a9864930f3e873951c1157b47aadd37851b9ff80) Implement missing async implementation into sync vector store - [`b0ce110`](https://github.com/langchain-ai/langchain-postgres/commit/b0ce110252de1ab2765083f1b8f017701172b573) Merge branch 'main' into feature/search_by_metadata - [`6fafde4`](https://github.com/langchain-ai/langchain-postgres/commit/6fafde4c56357d683d8588df32769253a009ddce) fix(docs): update command to install packages using uv & update port to default port used in tests - [`80f5061`](https://github.com/langchain-ai/langchain-postgres/commit/80f50612e10360de2bf0f10a46164ebc4dc9265f) Merge branch 'main' into development-steps-fix - [`3dad796`](https://github.com/langchain-ai/langchain-postgres/commit/3dad796ab37efcbb434db018316674462d432c43) fix(docs): update tests invoking command - [`7d50960`](https://github.com/langchain-ai/langchain-postgres/commit/7d50960a230e825599af872d2cec068904724c74) Merge branch 'main' into development-steps-fix - [`27d8ecc`](https://github.com/langchain-ai/langchain-postgres/commit/27d8eccce3ae73e06ad882b211aa4c71732d302e) Merge remote-tracking branch 'origin/development-steps-fix' into feature/search_by_metadata - [`a7dd0bd`](https://github.com/langchain-ai/langchain-postgres/commit/a7dd0bddb594a9195dbb570dd142e438782ab842) feat: add limit offset parameters to get methods similar to chroma vector store ### 📊 Changes **6 files changed** (+301 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description original PR: #231 On top of it adding limit and offset parameter to get methods similar to chroma vector store --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 05:17:10 -05:00
yindo closed this issue 2026-02-16 05:17:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-postgres#267