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.
langchain/libs/community/langchain_community/vectorstores
Tymofii 0bec1f6877
commnity[patch]: refactor code for faiss vectorstore, update faiss vectorstore documentation (#18092)
**Description:** Refactor code of FAISS vectorcstore and update the
related documentation.
Details: 
 - replace `.format()` with f-strings for strings formatting;
- refactor definition of a filtering function to make code more readable
and more flexible;
- slightly improve efficiency of
`max_marginal_relevance_search_with_score_by_vector` method by removing
unnecessary looping over the same elements;
- slightly improve efficiency of `delete` method by using set data
structure for checking if the element was already deleted;

**Issue:** fix small inconsistency in the documentation (the old example
was incorrect and unappliable to faiss vectorstore)

**Dependencies:** basic langchain-community dependencies and `faiss`
(for CPU or for GPU)

**Twitter handle:** antonenkodev
6 months ago
..
docarray community[patch]: make metadata and text optional as expected in DocArray (#18678) 6 months ago
redis community[patch]: the syntax error for Redis generated query (#17717) 6 months ago
__init__.py community[minor]: Add Initial Support for TiDB Vector Store (#15796) 6 months ago
alibabacloud_opensearch.py infra: add -p to mkdir in lint steps (#17013) 7 months ago
analyticdb.py infra: add print rule to ruff (#16221) 7 months ago
annoy.py community[major]: breaking change in some APIs to force users to opt-in for pickling (#18696) 6 months ago
apache_doris.py community[minor]: Add Apache Doris as vector store (#17527) 7 months ago
astradb.py community: Fix deprecation version of AstraDB VectorStore (#17991) 6 months ago
atlas.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
awadb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
azure_cosmos_db.py community[minor]: Adding Azure Cosmos Mongo vCore Vector DB Cache (#16856) 6 months ago
azuresearch.py community[patch]: Update azuresearch vectorstore from_texts() method to include fields argument (#17661) 6 months ago
bageldb.py community[patch]: apply embedding functions during query if defined (#16646) 8 months ago
baiducloud_vector_search.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
bigquery_vector_search.py community[patch]: BigQueryVectorSearch JSON type unsupported for metadatas (#18234) 6 months ago
cassandra.py community[patch]: Use newer MetadataVectorCassandraTable in Cassandra vector store (#15987) 8 months ago
chroma.py community[patch]: Chroma use uuid4 instead of uuid1 to generate random ids (#18723) 6 months ago
clarifai.py community[patch] : Tidy up and update Clarifai SDK functions (#18314) 6 months ago
clickhouse.py community: make `SET allow_experimental_[engine]_index` configurabe in vectorstores.clickhouse (#18107) 7 months ago
dashvector.py community[patch]: fix dashvector endpoint params error (#14484) 9 months ago
databricks_vector_search.py community[minor]: Add mmr and similarity_score_threshold retrieval to DatabricksVectorSearch (#16829) 7 months ago
deeplake.py community[patch]: fix, better error message in deeplake vectoriser (#18397) 6 months ago
dingo.py community[patch], langchain[minor]: Add retriever self_query and score_threshold in DingoDB (#18106) 6 months ago
documentdb.py community[minor]: Add DocumentDBVectorSearch VectorStore (#17757) 6 months ago
elastic_vector_search.py elasticsearch[patch], community[patch]: update references, deprecate community classes (#18506) 6 months ago
elasticsearch.py elasticsearch[patch], community[patch]: update references, deprecate community classes (#18506) 6 months ago
epsilla.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
faiss.py commnity[patch]: refactor code for faiss vectorstore, update faiss vectorstore documentation (#18092) 6 months ago
hanavector.py infra: add -p to mkdir in lint steps (#17013) 7 months ago
hippo.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
hologres.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
infinispanvs.py community[minor]: Adding support for Infinispan as VectorStore (#17861) 6 months ago
jaguar.py infra: add print rule to ruff (#16221) 7 months ago
kdbai.py community: vectorstores.kdbai - Added support for when no docs are present (#18103) 7 months ago
kinetica.py Langchain vectorstore integration with Kinetica (#18102) 7 months ago
lancedb.py community[patch]: LanceDB integration improvements/fixes (#16173) 7 months ago
lantern.py community[patch]: docstrings (#16810) 7 months ago
llm_rails.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
marqo.py infra: add print rule to ruff (#16221) 7 months ago
matching_engine.py marked MatchingEngine as deprecated (#18585) 6 months ago
meilisearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
milvus.py community[patch]: Return PK in similarity search Document (#17561) 7 months ago
momento_vector_index.py community[patch]: support momento vector index filter expressions (#14978) 9 months ago
mongodb_atlas.py community[patch]: Fix MongoDBAtlasVectorSearch max_marginal_relevance_search (#17971) 6 months ago
myscale.py community: fix myscale delete function bug (#15675) 8 months ago
neo4j_vector.py Switch to md5 for deduplication in neo4j integrations (#18846) 6 months ago
nucliadb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
opensearch_vector_search.py community[patch]: Opensearch delete method added - indexing supported (#18522) 6 months ago
pgembedding.py infra: add print rule to ruff (#16221) 7 months ago
pgvecto_rs.py infra: add -p to mkdir in lint steps (#17013) 7 months ago
pgvector.py infra: add -p to mkdir in lint steps (#17013) 7 months ago
pinecone.py pinecone[patch], docs: PineconeVectorStore, release 0.0.3 (#17896) 7 months ago
qdrant.py community[patch]: Correct the calling to collection_name in qdrant (#16920) 7 months ago
rocksetdb.py community[patch]: update copy of metadata in rockset vectorstore integration (#17612) 7 months ago
scann.py community[major]: breaking change in some APIs to force users to opt-in for pickling (#18696) 6 months ago
semadb.py infra: add print rule to ruff (#16221) 7 months ago
singlestoredb.py community[patch]: Added add_images method to SingleStoreDB vector store (#17871) 7 months ago
sklearn.py docs: docstrings `langchain_community` update (#14889) 9 months ago
sqlitevss.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
starrocks.py infra: add print rule to ruff (#16221) 7 months ago
supabase.py Support `score_threshold` in SupabaseVectorStore similarity search (#14439) 8 months ago
surrealdb.py community[patch]: bug fix - add empty metadata when metadata not provided (#17669) 7 months ago
tair.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
tencentvectordb.py infra: add -p to mkdir in lint steps (#17013) 7 months ago
thirdai_neuraldb.py community[patch]: fix lint (#17984) 7 months ago
tidb_vector.py community[minor]: Add Initial Support for TiDB Vector Store (#15796) 6 months ago
tigris.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
tiledb.py community[major]: breaking change in some APIs to force users to opt-in for pickling (#18696) 6 months ago
timescalevector.py docs: docstrings `langchain_community` update (#14889) 9 months ago
typesense.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
usearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
utils.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
vald.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
vearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
vectara.py infra: add print rule to ruff (#16221) 7 months ago
vespa.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
vikngdb.py infra: add -p to mkdir in lint steps (#17013) 7 months ago
weaviate.py community: Fixed schema discrepancy in from_texts function for weaviate vectorstore (#16693) 7 months ago
xata.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
yellowbrick.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
zep.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
zilliz.py community[patch]: Milvus supports add & delete texts by ids (#16256) 7 months ago