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
Sky 12d65f17ff
community[patch]: surrealdb provide functions for MMR (Maximal Marginal Relevance) (#21185)
This PR contains 4 added functions:

- max_marginal_relevance_search_by_vector
- amax_marginal_relevance_search_by_vector
- max_marginal_relevance_search
- amax_marginal_relevance_search

I'm no langchain expert, but tried do inspect other vectorstore sources
like chroma, to build these functions for SurrealDB. If someone has some
changes for me, please let me know. Otherwise I would be happy, if these
changes are added to the repository, so that I can use the orignal repo
and not my local monkey patched version.

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
2 months ago
..
docarray community[patch]: docarray requires hnsw installation (#19416) 4 months ago
redis infra: rm unused # noqa violations (#22049) 2 months ago
__init__.py infra: rm unused # noqa violations (#22049) 2 months ago
aerospike.py community[minor]: add aerospike vectorstore integration (#21735) 2 months ago
alibabacloud_opensearch.py infra: add -p to mkdir in lint steps (#17013) 6 months ago
analyticdb.py community[patch]: Use uuid4 not uuid1 (#20487) 4 months ago
annoy.py community[patch]: fix typo in ValueError message in load_local function (#21818) 3 months ago
apache_doris.py comminuty[patch]:Fix Error in apache doris insert (#19989) 4 months ago
astradb.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 3 months ago
atlas.py community[patch]: Use uuid4 not uuid1 (#20487) 4 months ago
awadb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
azure_cosmos_db.py community[patch]: Fixing some caching issues for AzureCosmosDBSemanticCache (#18884) 4 months ago
azuresearch.py community[patch]: AzureSearchVectorStoreRetriever Fixed to account for search_kwargs (#21572) 2 months ago
bagel.py community[patch]: update package name to bagelML (#19948) 3 months ago
bageldb.py community[patch]: update package name to bagelML (#19948) 3 months ago
baiducloud_vector_search.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
baiduvectordb.py community[patch]: fix bugs in baiduvectordb as vectorstore (#19380) 4 months ago
bigquery_vector_search.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 3 months ago
cassandra.py community[patch]: Improve Cassandra VectorStore docsctrings (#21620) 3 months ago
chroma.py community[minor]: import fix (#20995) 3 months ago
clarifai.py community[patch] : Tidy up and update Clarifai SDK functions (#18314) 5 months ago
clickhouse.py Community patch clickhouse make it possible to not specify index (#20460) 3 months ago
couchbase.py community: add Couchbase Vector Store (#18994) 5 months ago
dashvector.py community[minor]: import fix (#20995) 3 months ago
databricks_vector_search.py community[minor]: Add mmr and similarity_score_threshold retrieval to DatabricksVectorSearch (#16829) 6 months ago
deeplake.py community[minor]: import fix (#20995) 3 months ago
dingo.py community[patch]: Use uuid4 not uuid1 (#20487) 4 months ago
documentdb.py community[minor]: Add DocumentDBVectorSearch VectorStore (#17757) 5 months ago
duckdb.py community[minor]: Add `DuckDB` as a vectorstore (#18916) 4 months ago
ecloud_vector_search.py community[minor]: integrate China Mobile Ecloud vector search (#15298) 4 months ago
elastic_vector_search.py elasticsearch[patch], community[patch]: update references, deprecate community classes (#18506) 5 months ago
elasticsearch.py elasticsearch[patch], community[patch]: update references, deprecate community classes (#18506) 5 months ago
epsilla.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
faiss.py community[patch]: fix typo in ValueError message in load_local function (#21818) 3 months ago
hanavector.py community[patch]: Performant filter columns option for Hanavector (#21971) 2 months ago
hippo.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
hologres.py community[patch]: Use uuid4 not uuid1 (#20487) 4 months ago
infinispanvs.py community: VectorStore Infinispan, adding autoconfiguration (#18967) 5 months ago
inmemory.py community[patch]: Fix in memory vectorstore to take into account ids when adding docs (#21384) 3 months ago
jaguar.py infra: rm unused # noqa violations (#22049) 2 months ago
kdbai.py community: vectorstores.kdbai - Added support for when no docs are present (#18103) 5 months ago
kinetica.py community[patch]: Use uuid4 not uuid1 (#20487) 4 months ago
lancedb.py community[patch]: `vectorstores` import update (#21169) 3 months ago
lantern.py community[patch]: Use uuid4 not uuid1 (#20487) 4 months ago
llm_rails.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
marqo.py infra: add print rule to ruff (#16221) 6 months ago
matching_engine.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 3 months ago
meilisearch.py community[patch]: update for compatibility with Meilisearch v1.8 (#21979) 2 months ago
milvus.py community[minor]: import fix (#20995) 3 months ago
momento_vector_index.py infra: rm unused # noqa violations (#22049) 2 months ago
mongodb_atlas.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 3 months ago
myscale.py community: fix myscale delete function bug (#15675) 7 months ago
neo4j_vector.py community[patch]: Better error message for neo4j vector when text is null (#21861) 2 months ago
nucliadb.py community[minor]: import fix (#20995) 3 months ago
opensearch_vector_search.py community[patch]: Add OpenSearch as semantic cache (#20254) 3 months ago
oraclevs.py Replaced bind variable in SQL with formatted string for compatibility with sql syntax. (#21439) 3 months ago
pathway.py docs: remove repetitive words (#21058) 3 months ago
pgembedding.py community[patch]: Use uuid4 not uuid1 (#20487) 4 months ago
pgvecto_rs.py infra: add -p to mkdir in lint steps (#17013) 6 months ago
pgvector.py community[patch]: pgvector: Slight refactoring to make code a bit more reusable (#16243) 3 months ago
pinecone.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 3 months ago
qdrant.py infra: rm unused # noqa violations (#22049) 2 months ago
relyt.py community[minor]: Add relyt vector database (#20316) 3 months ago
rocksetdb.py community[patch]: mmr search for Rockset vectorstore integration (#16908) 4 months ago
scann.py community[patch]: fix typo in ValueError message in load_local function (#21818) 3 months ago
semadb.py infra: add print rule to ruff (#16221) 6 months ago
singlestoredb.py community[patch]: add hybrid search to singlestoredb vectorstore (#20793) 3 months ago
sklearn.py community[patch]: docstrings update (#20301) 4 months ago
sqlitevss.py community[patch]: docstrings update (#20301) 4 months ago
starrocks.py infra: add print rule to ruff (#16221) 6 months ago
supabase.py community: enable SupabaseVectorStore to support extended table fields (#21762) 2 months ago
surrealdb.py community[patch]: surrealdb provide functions for MMR (Maximal Marginal Relevance) (#21185) 2 months ago
tair.py community[minor]: import fix (#20995) 3 months ago
tencentvectordb.py docs: community docstring updates (#21040) 3 months ago
thirdai_neuraldb.py Ndb enterprise (#21233) 3 months ago
tidb_vector.py community[patch]: docstrings update (#20301) 4 months ago
tigris.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
tiledb.py community[patch]: `vectorstores` import update (#21169) 3 months ago
timescalevector.py infra: rm unused # noqa violations (#22049) 2 months ago
typesense.py community[minor]: import fix (#20995) 3 months ago
upstash.py community[minor]: Add support for Upstash Vector (#20824) 3 months ago
usearch.py community[patch]: `vectorstores` import update (#21169) 3 months ago
utils.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
vald.py community[minor]: import fix (#20995) 3 months ago
vdms.py community[patch]: Use uuid4 not uuid1 (#20487) 4 months ago
vearch.py community[minor]: import fix (#20995) 3 months ago
vectara.py community[patch]: docstrings update (#20301) 4 months ago
vespa.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
vikingdb.py community[patch]: Modify the text field type and add new exception handling (#20116) 3 months ago
vlite.py community[minor]: Added VLite as VectorStore (#20245) 4 months ago
weaviate.py community: Fixed schema discrepancy in from_texts function for weaviate vectorstore (#16693) 6 months ago
xata.py multiple: Remove unnecessary Ruff suppression comments (#21050) 3 months ago
yellowbrick.py community[minor]: Add indexing via locality sensitive hashing to the Yellowbrick vector store (#20856) 3 months ago
zep.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 8 months ago
zilliz.py community[patch]: Milvus supports add & delete texts by ids (#16256) 6 months ago