mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #175] [MERGED] feat: Add the PGVectorStore #206
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/175
Author: @averikitsch
Created: 4/4/2025
Status: ✅ Merged
Merged: 4/4/2025
Merged by: @averikitsch
Base:
main← Head:pg-vectorstore📝 Commits (4)
016f1a3chore(docs): Add sample notebook and documentation for PGVectorStore (#172)e72f740chore: Add deprecation warning for PGVector (#169)c957a09feat: Add the PGVectorStore class (#168)b5a6d1fMerge 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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.