mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #168] [MERGED] feat: Add the PGVectorStore class #199
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/168
Author: @dishaprakash
Created: 3/19/2025
Status: ✅ Merged
Merged: 4/4/2025
Merged by: @averikitsch
Base:
pg-vectorstore← Head:upstream-langchain📝 Commits (10+)
a21a8e2feat: Add the PGVectorStore class926f417Linter and format fixa34ddbeupdate poetry lockbdd2bf6minor variable name change239b1c3Fix import test544cadeenabled socket in one test file03dcac1enabled socket in all test files7b4fa7fDebug tests being skipped1d42314Debug tests being skippeddc9a5b8Debug tests being skipped📊 Changes
32 files changed (+7116 additions, -801 deletions)
View changed files
➕
examples/migrate_pgvector_to_pgvectorstore.md(+174 -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)📝
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)📝
tests/unit_tests/v1/test_vectorstore.py(+1 -0)📝
tests/unit_tests/v1/test_vectorstore_standard_tests.py(+1 -1)➕
tests/unit_tests/v2/__init__.py(+0 -0)...and 12 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.