mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #103] [CLOSED] Added possibility to add indexes and filter by full text search #165
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/103
Author: @danielfornarini
Created: 8/7/2024
Status: ❌ Closed
Base:
main← Head:main📝 Commits (10+)
71a9b00add full text search953c33dadd async full text search3a0500cadd indexesd137386fix8d7773afixceb38b0fix543f7c6add documentationc65cdc7add documentation20b9d38Merge pull request #1 from danielfornarini/full-text-search0a84407add document vector generated column with indexes📊 Changes
12 files changed (+2201 additions, -192 deletions)
View changed files
📝
.github/workflows/ci.yml(+2 -2)➕
.tool-versions(+1 -0)📝
README.md(+180 -0)📝
docker-compose.yml(+1 -1)📝
langchain_postgres/__init__.py(+3 -1)📝
langchain_postgres/vectorstores.py(+661 -76)📝
poetry.lock(+147 -71)📝
pyproject.toml(+3 -3)📝
tests/unit_tests/query_constructors/test_pgvector.py(+973 -1)📝
tests/unit_tests/test_imports.py(+2 -0)📝
tests/unit_tests/test_vectorstore.py(+194 -37)📝
tests/utils.py(+34 -0)📄 Description
Now you can choose if add hnsw or ivfflat index to embeddings.
Also you can filter documents by full text search
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.