langchain/tests/integration_tests/vectorstores
Mike Salvatore d0c7f7c317
Remove None default value for FAISS relevance_score_fn (#7085)
## Description

The type hint for `FAISS.__init__()`'s `relevance_score_fn` parameter
allowed the parameter to be set to `None`. However, a default function
is provided by the constructor. This led to an unnecessary check in the
code, as well as a test to verify this check.

**ASSUMPTION**: There's no reason to ever set `relevance_score_fn` to
`None`.

This PR changes the type hint and removes the unnecessary code.
2023-07-03 10:11:49 -06: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 fix: elasticsearch (#2402) 2023-04-05 06:51:32 -07:00
__init__.py add few shot example (#148) 2022-11-19 20:32:45 -08:00
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 Vector store support for Cassandra (#6426) 2023-06-20 10:46:20 -07:00
test_alibabacloud_opensearch.py Add Alibaba Cloud OpenSearch as a new vector store (#6154) 2023-06-20 10:07:40 -07:00
test_analyticdb.py Improve AnalyticDB Vector Store implementation without affecting user (#6086) 2023-06-17 09:36:31 -07:00
test_annoy.py Add Annoy as VectorStore (#2939) 2023-04-16 13:44:04 -07:00
test_atlas.py Harrison/atlas db (#1315) 2023-02-26 22:11:38 -08:00
test_awadb.py Add a new vector store - AwaDB (#5971) (#5992) 2023-06-10 15:42:32 -07:00
test_azuresearch.py Harrison/cognitive search (#6011) 2023-06-11 21:15:42 -07:00
test_cassandra.py Second Attempt - Add concurrent insertion of vector rows in the Cassandra Vector Store (#7017) 2023-07-01 11:09:52 -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_clarifai.py Clarifai integration (#5954) 2023-06-22 08:00:15 -07:00
test_clickhouse.py Integrate Clickhouse as Vector Store (#5650) 2023-06-05 13:32:04 -07:00
test_deeplake.py Harrison/deeplake new features (#6263) 2023-06-16 17:53:55 -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 Remove None default value for FAISS relevance_score_fn (#7085) 2023-07-03 10:11:49 -06:00
test_hologres.py Harrison/hologres (#6012) 2023-06-11 20:56:51 -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 Harrison/myscale self query (#6376) 2023-06-18 16:53:10 -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 Support named vectors in Qdrant (#6871) 2023-06-29 15:14:22 -07:00
test_redis.py Update redis integration tests (#4937) 2023-05-18 10:22:17 -07:00
test_rocksetdb.py Integrate Rockset as Vectorstore (#6216) 2023-06-21 01:22:27 -07:00
test_singlestoredb.py Update SinglStoreDB vectorstore (#6423) 2023-06-19 22:08:58 -07:00
test_tair.py Harrison/tair (#3770) 2023-04-28 21:25:33 -07:00
test_vectara.py Vectara upd2 (#6506) 2023-07-02 12:15:50 -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