[PR #175] [MERGED] feat: Add the PGVectorStore #206

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/175
Author: @averikitsch
Created: 4/4/2025
Status: Merged
Merged: 4/4/2025
Merged by: @averikitsch

Base: mainHead: pg-vectorstore


📝 Commits (4)

  • 016f1a3 chore(docs): Add sample notebook and documentation for PGVectorStore (#172)
  • e72f740 chore: Add deprecation warning for PGVector (#169)
  • c957a09 feat: Add the PGVectorStore class (#168)
  • b5a6d1f Merge branch 'main' into pg-vectorstore

📊 Changes

35 files changed (+7851 additions, -810 deletions)

View changed files

📝 README.md (+51 -9)
examples/migrate_pgvector_to_pgvectorstore.md (+174 -0)
examples/pg_vectorstore.ipynb (+674 -0)
📝 examples/vectorstore.ipynb (+101 -41)
📝 langchain_postgres/__init__.py (+6 -0)
langchain_postgres/utils/pgvector_migrator.py (+321 -0)
langchain_postgres/v2/__init__.py (+0 -0)
langchain_postgres/v2/async_vectorstore.py (+1248 -0)
langchain_postgres/v2/engine.py (+351 -0)
langchain_postgres/v2/indexes.py (+155 -0)
langchain_postgres/v2/vectorstores.py (+842 -0)
📝 langchain_postgres/vectorstores.py (+10 -0)
📝 poetry.lock (+767 -757)
📝 pyproject.toml (+3 -2)
📝 tests/unit_tests/fake_embeddings.py (+1 -0)
📝 tests/unit_tests/fixtures/filtering_test_cases.py (+1 -0)
tests/unit_tests/fixtures/metadata_filtering_data.py (+249 -0)
📝 tests/unit_tests/test_imports.py (+4 -0)
tests/unit_tests/v1/__init__.py (+0 -0)
📝 tests/unit_tests/v1/test_chat_histories.py (+0 -0)

...and 15 more files

📄 Description

This PR includes

  • New PGVectorStore classes (in namespace v2)
  • Migration module and guide
  • Deprecation warning for PGVector
  • Updated documentation

🔄 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/175 **Author:** [@averikitsch](https://github.com/averikitsch) **Created:** 4/4/2025 **Status:** ✅ Merged **Merged:** 4/4/2025 **Merged by:** [@averikitsch](https://github.com/averikitsch) **Base:** `main` ← **Head:** `pg-vectorstore` --- ### 📝 Commits (4) - [`016f1a3`](https://github.com/langchain-ai/langchain-postgres/commit/016f1a382f22a1bcb68845899a2d3657d574dd4f) chore(docs): Add sample notebook and documentation for PGVectorStore (#172) - [`e72f740`](https://github.com/langchain-ai/langchain-postgres/commit/e72f740a30b404a610fb7ddc21aab05ca322f6d0) chore: Add deprecation warning for PGVector (#169) - [`c957a09`](https://github.com/langchain-ai/langchain-postgres/commit/c957a095ff71ef790bdef1e0ef109de4dcf65e4e) feat: Add the PGVectorStore class (#168) - [`b5a6d1f`](https://github.com/langchain-ai/langchain-postgres/commit/b5a6d1f5362135a430e330a909f89d0fc8083f19) Merge branch 'main' into pg-vectorstore ### 📊 Changes **35 files changed** (+7851 additions, -810 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+51 -9) ➕ `examples/migrate_pgvector_to_pgvectorstore.md` (+174 -0) ➕ `examples/pg_vectorstore.ipynb` (+674 -0) 📝 `examples/vectorstore.ipynb` (+101 -41) 📝 `langchain_postgres/__init__.py` (+6 -0) ➕ `langchain_postgres/utils/pgvector_migrator.py` (+321 -0) ➕ `langchain_postgres/v2/__init__.py` (+0 -0) ➕ `langchain_postgres/v2/async_vectorstore.py` (+1248 -0) ➕ `langchain_postgres/v2/engine.py` (+351 -0) ➕ `langchain_postgres/v2/indexes.py` (+155 -0) ➕ `langchain_postgres/v2/vectorstores.py` (+842 -0) 📝 `langchain_postgres/vectorstores.py` (+10 -0) 📝 `poetry.lock` (+767 -757) 📝 `pyproject.toml` (+3 -2) 📝 `tests/unit_tests/fake_embeddings.py` (+1 -0) 📝 `tests/unit_tests/fixtures/filtering_test_cases.py` (+1 -0) ➕ `tests/unit_tests/fixtures/metadata_filtering_data.py` (+249 -0) 📝 `tests/unit_tests/test_imports.py` (+4 -0) ➕ `tests/unit_tests/v1/__init__.py` (+0 -0) 📝 `tests/unit_tests/v1/test_chat_histories.py` (+0 -0) _...and 15 more files_ </details> ### 📄 Description This PR includes * New PGVectorStore classes (in namespace v2) * Migration module and guide * Deprecation warning for PGVector * Updated documentation --- <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:16:57 -05:00
yindo closed this issue 2026-02-16 05:16:57 -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#206