forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
# Adds "IN" metadata filter for pgvector to all checking for set presence PGVector currently supports metadata filters of the form: ``` {"filter": {"key": "value"}} ``` which will return documents where the "key" metadata field is equal to "value". This PR adds support for metadata filters of the form: ``` {"filter": {"key": { "IN" : ["list", "of", "values"]}}} ``` Other vector stores support this via an "$in" syntax. I chose to use "IN" to match postgres' syntax, though happy to switch. Tested locally with PGVector and ChatVectorDBChain. @dev2049 --------- Co-authored-by: jade@spanninglabs.com <jade@spanninglabs.com> |
1 year ago | |
---|---|---|
.. | ||
cassettes | 1 year ago | |
docarray | 1 year ago | |
docker-compose | 1 year ago | |
fixtures | 1 year ago | |
__init__.py | 2 years ago | |
conftest.py | 1 year ago | |
fake_embeddings.py | 1 year ago | |
test_analyticdb.py | 1 year ago | |
test_annoy.py | 1 year ago | |
test_atlas.py | 1 year ago | |
test_chroma.py | 1 year ago | |
test_deeplake.py | 1 year ago | |
test_elasticsearch.py | 1 year ago | |
test_faiss.py | 1 year ago | |
test_lancedb.py | 1 year ago | |
test_milvus.py | 1 year ago | |
test_myscale.py | 1 year ago | |
test_opensearch.py | 1 year ago | |
test_pgvector.py | 1 year ago | |
test_pinecone.py | 1 year ago | |
test_qdrant.py | 1 year ago | |
test_redis.py | 1 year ago | |
test_tair.py | 1 year ago | |
test_weaviate.py | 1 year ago | |
test_zilliz.py | 1 year ago |