mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #91] Add support for HNSW and IVFFlat indexes, add tests #157
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/91
Author: @Sachin-Bhat
Created: 7/18/2024
Status: 🔄 Open
Base:
main← Head:feature-add-indexes📝 Commits (2)
86b520eAdd support for HNSW and IVFFlat indexes, add testsfceafd2Modify query to only select from embedding column📊 Changes
2 files changed (+233 additions, -1 deletions)
View changed files
📝
langchain_postgres/vectorstores.py(+148 -1)📝
tests/unit_tests/test_vectorstore.py(+85 -0)📄 Description
Hey @eyurtsev
Added support for HNSW and IVFFlat index via a control pane as mentioned in #85. Added a few test cases for the same as well. Please let me know what other changes have to be made and I can do the same. Merging this closes #89.
Cheers,
Sachin
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.