[PR #170] [CLOSED] chore(docs): Add sample notebook and documentation for PGVectorStore #201

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langchain-postgres/pull/170
Author: @dishaprakash
Created: 3/19/2025
Status: Closed

Base: pg-vectorstoreHead: add-pgvs-docs


📝 Commits (10+)

📊 Changes

30 files changed (+7092 additions, -69 deletions)

View changed files

📝 README.md (+38 -0)
examples/migrate_pgvector_to_pgvectorstore.md (+174 -0)
examples/pg_vectorstore.ipynb (+644 -0)
📝 examples/vectorstore.ipynb (+101 -41)
📝 langchain_postgres/__init__.py (+5 -0)
langchain_postgres/async_vectorstore.py (+1221 -0)
📝 langchain_postgres/chat_message_histories.py (+1 -0)
langchain_postgres/engine.py (+345 -0)
langchain_postgres/indexes.py (+118 -0)
langchain_postgres/utils/pgvector_migrator.py (+321 -0)
langchain_postgres/vectorstore.py (+842 -0)
📝 poetry.lock (+262 -28)
📝 pyproject.toml (+1 -0)
📝 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_async_pg_vectorstore.py (+338 -0)
tests/unit_tests/test_async_pg_vectorstore_from_methods.py (+189 -0)
tests/unit_tests/test_async_pg_vectorstore_index.py (+108 -0)
tests/unit_tests/test_async_pg_vectorstore_search.py (+339 -0)

...and 10 more files

📄 Description

No description provided


🔄 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/170 **Author:** [@dishaprakash](https://github.com/dishaprakash) **Created:** 3/19/2025 **Status:** ❌ Closed **Base:** `pg-vectorstore` ← **Head:** `add-pgvs-docs` --- ### 📝 Commits (10+) - [`a21a8e2`](https://github.com/langchain-ai/langchain-postgres/commit/a21a8e27c5d6f488d274de4114bbf380f3e98dab) feat: Add the PGVectorStore class - [`926f417`](https://github.com/langchain-ai/langchain-postgres/commit/926f417d2f940b392728c9b3b9193cf484df03a3) Linter and format fix - [`a34ddbe`](https://github.com/langchain-ai/langchain-postgres/commit/a34ddbea3cb6eef2b1186b54cbc3c37091cfcebe) update poetry lock - [`bdd2bf6`](https://github.com/langchain-ai/langchain-postgres/commit/bdd2bf67a2dbeba5183110782ad2d5c6e5dd27ed) minor variable name change - [`239b1c3`](https://github.com/langchain-ai/langchain-postgres/commit/239b1c3cd3cac52034849bb16cff53a7de05a315) Fix import test - [`544cade`](https://github.com/langchain-ai/langchain-postgres/commit/544cade6539ea6dc7010d224ffab4b587ee4ae87) enabled socket in one test file - [`03dcac1`](https://github.com/langchain-ai/langchain-postgres/commit/03dcac16f9be29263c5c510a53ebf1921a338958) enabled socket in all test files - [`7b4fa7f`](https://github.com/langchain-ai/langchain-postgres/commit/7b4fa7f1b88630d26484cfe6799efee158addeee) Debug tests being skipped - [`1d42314`](https://github.com/langchain-ai/langchain-postgres/commit/1d42314e3f812517ba6ca6302d478dd23efd75ec) Debug tests being skipped - [`dc9a5b8`](https://github.com/langchain-ai/langchain-postgres/commit/dc9a5b8b3eed71b894a1d3d0ca2f059ba7bfe568) Debug tests being skipped ### 📊 Changes **30 files changed** (+7092 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+38 -0) ➕ `examples/migrate_pgvector_to_pgvectorstore.md` (+174 -0) ➕ `examples/pg_vectorstore.ipynb` (+644 -0) 📝 `examples/vectorstore.ipynb` (+101 -41) 📝 `langchain_postgres/__init__.py` (+5 -0) ➕ `langchain_postgres/async_vectorstore.py` (+1221 -0) 📝 `langchain_postgres/chat_message_histories.py` (+1 -0) ➕ `langchain_postgres/engine.py` (+345 -0) ➕ `langchain_postgres/indexes.py` (+118 -0) ➕ `langchain_postgres/utils/pgvector_migrator.py` (+321 -0) ➕ `langchain_postgres/vectorstore.py` (+842 -0) 📝 `poetry.lock` (+262 -28) 📝 `pyproject.toml` (+1 -0) 📝 `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_async_pg_vectorstore.py` (+338 -0) ➕ `tests/unit_tests/test_async_pg_vectorstore_from_methods.py` (+189 -0) ➕ `tests/unit_tests/test_async_pg_vectorstore_index.py` (+108 -0) ➕ `tests/unit_tests/test_async_pg_vectorstore_search.py` (+339 -0) _...and 10 more files_ </details> ### 📄 Description _No description provided_ --- <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:56 -05:00
yindo closed this issue 2026-02-16 05:16:56 -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#201