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
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
..
adapters community[patch]: Add safe lookup to OpenAI response adapter (#14765) 9 months ago
agent_toolkits docs: docstrings `langchain_community` update (#14889) 9 months ago
callbacks Delete V1 tracer and refactor tracer tests to core (#15326) 9 months ago
chat_loaders Langchain_community: Small Fix when loading facebook messages (#15358) 9 months ago
chat_message_histories [community]: Elasticsearch chat history encoding (#15055) 9 months ago
chat_models Refactor: use SecretStr for tongyi chat-model (#15102) 9 months ago
docstore community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
document_loaders docs, experimental[patch], langchain[patch], community[patch]: update storage imports (#15429) 9 months ago
document_transformers community: Make doctran synchronous (#15264) 9 months ago
embeddings Fixing the Issue with DashScopeEmbeddings Handling More than 25 Rows of Data (#14662) 9 months ago
graphs community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
indexes community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
llms docs, community[patch], experimental[patch], langchain[patch], cli[pa… (#15412) 9 months ago
retrievers Don't reassign chunk_type (#14923) 9 months ago
storage community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
tools community: Semanticscholar tool to search 200M+ scientific articles (#15151) 9 months ago
utilities Fix failing serpapi response processing for Google Maps API (#14817) 9 months ago
utils refactor `utils` (#15432) 9 months ago
vectorstores Improvement: Allow passing parameters to the underlying es_client. Closes: #14403 (#14435) 9 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago
cache.py community[patch]: Fixed issue with importing Row from sqlalchemy (#14488) 9 months ago
py.typed community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 9 months ago