langchain/tests/integration_tests/vectorstores
Akhil Vempali d7d629911b
feat: Added filtering option to FAISS vectorstore (#5966)
Inspired by the filtering capability available in ChromaDB, added the
same functionality to the FAISS vectorestore as well. Since FAISS does
not have an inbuilt method of filtering used the approach suggested in
this [thread](https://github.com/facebookresearch/faiss/issues/1079)
Langchain Issue inspiration:
https://github.com/hwchase17/langchain/issues/4572

- [x] Added filtering capability to semantic similarly and MMR
- [x] Added test cases for filtering in
`tests/integration_tests/vectorstores/test_faiss.py`

#### Who can review?

Tag maintainers/contributors who might be interested:

  VectorStores / Retrievers / Memory
  - @dev2049
  - @hwchase17
2023-06-11 13:20:03 -07:00
..
cassettes Fix/issue 2695 (#3608) 2023-04-26 21:45:03 -07:00
docarray Add DocArray vector stores (#4483) 2023-05-10 15:22:16 -07:00
docker-compose Fix/issue 1213 (#2932) 2023-04-16 13:11:30 -07:00
fixtures
__init__.py
conftest.py [minor] Deep Lake auth improvements in docs, kwargs pass, faster tests (#2927) 2023-04-15 10:49:16 -07:00
fake_embeddings.py Feat: Add batching to Qdrant (#5443) 2023-05-30 15:33:54 -07:00
test_analyticdb.py Add a full PostgresSQL syntax database 'AnalyticDB' as vector store. (#3135) 2023-04-22 08:25:41 -07:00
test_annoy.py Add Annoy as VectorStore (#2939) 2023-04-16 13:44:04 -07:00
test_atlas.py
test_awadb.py Add a new vector store - AwaDB (#5971) (#5992) 2023-06-10 15:42:32 -07:00
test_chroma.py fix chroma update_document to embed entire documents, fixes a characer-wise embedding bug (#5584) 2023-06-02 11:12:48 -07:00
test_clickhouse.py Integrate Clickhouse as Vector Store (#5650) 2023-06-05 13:32:04 -07:00
test_deeplake.py Fixing DeepLake Overwrite Flag (#4683) 2023-05-15 17:39:16 -07:00
test_elasticsearch.py Add the usage of SSL certificates for Elasticsearch and user password authentication (#5058) 2023-05-22 11:51:32 -07:00
test_faiss.py feat: Added filtering option to FAISS vectorstore (#5966) 2023-06-11 13:20:03 -07:00
test_lancedb.py Harrison/lancedb (#3634) 2023-04-27 08:14:36 -07:00
test_milvus.py Refactor Milvus/Zilliz (#3047) 2023-04-22 08:26:19 -07:00
test_mongodb_atlas.py removing client+namespace in favor of collection (#5610) 2023-06-03 16:27:31 -07:00
test_myscale.py Harrison/myscale (#3352) 2023-04-22 09:17:38 -07:00
test_opensearch.py OpenSearch: Add Similarity Search with Score (#4089) 2023-05-08 16:35:21 -07:00
test_pgvector.py Add texts with embeddings to PGVector wrapper (#5500) 2023-05-31 17:31:52 -07:00
test_pinecone.py feat: improve pinecone tests (#2806) 2023-04-13 21:49:31 -07:00
test_qdrant.py qdrant vector store - search with relevancy scores (#5781) 2023-06-07 19:26:40 -07:00
test_redis.py Update redis integration tests (#4937) 2023-05-18 10:22:17 -07:00
test_singlestoredb.py Added SingleStoreDB Vector Store (#5619) 2023-06-07 20:45:33 -07:00
test_tair.py Harrison/tair (#3770) 2023-04-28 21:25:33 -07:00
test_vectara.py Update to Vectara integration (#5950) 2023-06-10 16:27:01 -07:00
test_weaviate.py Fixes issue #5072 - adds additional support to Weaviate (#5085) 2023-05-22 18:57:10 -07:00
test_zilliz.py Refactor Milvus/Zilliz (#3047) 2023-04-22 08:26:19 -07:00