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
Bob Lin e93be14c11
Improvement: Allow passing parameters to the underlying es_client. Closes: #14403 (#14435)
### Description

In https://github.com/langchain-ai/langchain/issues/14403, the user
mentioned that he hopes not to verify ssl and needs to pass more
parameters

I found that the `Elasticsearch` class [has very many
parameters](98f2af2134/elasticsearch/_sync/client/__init__.py (L131-L191)
):

<img width="1097" alt="Screenshot 2023-12-08 at 4 24 39 PM"
src="https://github.com/langchain-ai/langchain/assets/10000925/f2201554-b41a-4388-a8e8-c14a2d0466d4">

In order to adapt to more situations, I want to add the kwargs parameter
so that users can enter more `Elasticsearch` parameters. Like
[redis](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/vectorstores/redis/base.py#L253),
[tair](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/vectorstores/tair.py#L32),
[myscale](https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/vectorstores/myscale.py#L112)
and so on.
9 months ago
..
docarray community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
redis docs, experimental[patch], langchain[patch], community[patch]: update storage imports (#15429) 9 months ago
__init__.py feat: add Google BigQueryVectorSearch in vectorstore (#14829) 9 months ago
alibabacloud_opensearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
analyticdb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
annoy.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
astradb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
atlas.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
awadb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
azure_cosmos_db.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
azuresearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
bageldb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
baiducloud_vector_search.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
bigquery_vector_search.py feat: add Google BigQueryVectorSearch in vectorstore (#14829) 9 months ago
cassandra.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
chroma.py docs, experimental[patch], langchain[patch], community[patch]: update storage imports (#15429) 9 months ago
clarifai.py community[patch]: Fixed duplicate input id issue in clarifai vectorstore (#14914) 9 months ago
clickhouse.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
dashvector.py community[patch]: fix dashvector endpoint params error (#14484) 9 months ago
databricks_vector_search.py docs: Add Databricks Vector Search example notebook (#14158) 9 months ago
deeplake.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
dingo.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
elastic_vector_search.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
elasticsearch.py Improvement: Allow passing parameters to the underlying es_client. Closes: #14403 (#14435) 9 months ago
epsilla.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
faiss.py Propagate context vars in all classes/methods 9 months ago
hippo.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
hologres.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
jaguar.py Use args option in jaguar so it takes more options in similarity search (#15080) 9 months ago
lancedb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
llm_rails.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
marqo.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
matching_engine.py community[patch]: Matching engine, return doc id (#14930) 9 months ago
meilisearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
milvus.py Add the collection_description parameter to Milvus (#14524) 9 months ago
momento_vector_index.py community[patch]: support momento vector index filter expressions (#14978) 9 months ago
mongodb_atlas.py community[patch]: Implement similarity_score_threshold for MongoDB Vector Store (#14740) 9 months ago
myscale.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
neo4j_vector.py Fix RRF and lucene escape characters for neo4j vector store (#14646) 9 months ago
nucliadb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
opensearch_vector_search.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
pgembedding.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
pgvecto_rs.py docs: docstrings `langchain_community` update (#14889) 9 months ago
pgvector.py Added more filtering options to pgvector vectorstore (#14852) 9 months ago
pinecone.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
qdrant.py Propagate context vars in all classes/methods 9 months ago
rocksetdb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
scann.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
semadb.py fix: correct spelling mistakes of "seperate, intialise, pre-defined" (#14647) 9 months ago
singlestoredb.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 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) 10 months ago
starrocks.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
supabase.py Support `score_threshold` in SupabaseVectorStore similarity search (#14439) 9 months ago
surrealdb.py docs, experimental[patch], langchain[patch], community[patch]: update storage imports (#15429) 9 months ago
tair.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
tencentvectordb.py docs: docstrings `langchain_community` update (#14889) 9 months ago
tigris.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
tiledb.py docs: docstrings `langchain_community` update (#14889) 9 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) 10 months ago
usearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
utils.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
vald.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
vearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
vectara.py docs, experimental[patch], langchain[patch], community[patch]: update storage imports (#15429) 9 months ago
vespa.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
weaviate.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
xata.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
yellowbrick.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
zep.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
zilliz.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago