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.
2024-01-02 16:48:17 -08:00
..
adapters community[patch]: Add safe lookup to OpenAI response adapter (#14765) 2023-12-20 01:17:23 -05:00
agent_toolkits docs: docstrings langchain_community update (#14889) 2023-12-19 08:58:24 -05:00
callbacks Delete V1 tracer and refactor tracer tests to core (#15326) 2023-12-29 15:55:56 -08:00
chat_loaders Langchain_community: Small Fix when loading facebook messages (#15358) 2024-01-01 18:52:23 -08:00
chat_message_histories [community]: Elasticsearch chat history encoding (#15055) 2023-12-22 13:21:34 -08:00
chat_models Refactor: use SecretStr for tongyi chat-model (#15102) 2024-01-02 15:45:23 -08:00
docstore community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
document_loaders docs, experimental[patch], langchain[patch], community[patch]: update storage imports (#15429) 2024-01-02 16:47:11 -05:00
document_transformers community: Make doctran synchronous (#15264) 2023-12-28 08:05:24 -08:00
embeddings Fixing the Issue with DashScopeEmbeddings Handling More than 25 Rows of Data (#14662) 2024-01-01 16:50:13 -08:00
graphs community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
indexes community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
llms docs, community[patch], experimental[patch], langchain[patch], cli[pa… (#15412) 2024-01-02 15:32:16 -05:00
retrievers Don't reassign chunk_type (#14923) 2023-12-22 13:20:53 -08:00
storage community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
tools community: Semanticscholar tool to search 200M+ scientific articles (#15151) 2024-01-02 15:36:03 -08:00
utilities Fix failing serpapi response processing for Google Maps API (#14817) 2024-01-02 16:17:21 -08:00
utils refactor utils (#15432) 2024-01-02 14:56:38 -08:00
vectorstores Improvement: Allow passing parameters to the underlying es_client. Closes: #14403 (#14435) 2024-01-02 16:48:17 -08:00
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
cache.py community[patch]: Fixed issue with importing Row from sqlalchemy (#14488) 2023-12-13 14:36:08 -08:00
py.typed community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00