You are here: Home / LBN / Up2date / Data Science / BastionLinux 36 / python3-langchain-elasticsearch-0.3.2-1.lbn36.noarch

python3-langchain-elasticsearch-0.3.2-1.lbn36.noarch

Package Attributes
RPM  python3-langchain-elasticsearch-0.3.2-1.lbn36.noarch.rpm Architecture  noarch Size  337966 Created  2025/05/13 02:04:21 UTC
Package Specification
Summary An integration package connecting Elasticsearch and LangChain
Group Unspecified
License ZPL
Home Page https://pypi.org/project/langchain-elasticsearch
Description

langchain-elasticsearch This package contains the LangChain integration with Elasticsearch. Installation pip install -U langchain-elasticsearch

Elasticsearch setup Elastic Cloud You need a running Elasticsearch deployment. The easiest way to start one is through Elastic Cloud. You can sign up for a free trial.

Create a deployment Get your Cloud ID:

In the Elastic Cloud console, click "Manage" next to your deployment Copy the Cloud ID and paste it into the es_cloud_id parameter below

Create an API key:

In the Elastic Cloud console, click "Open" next to your deployment In the left-hand side menu, go to "Stack Management", then to "API Keys" Click "Create API key" Enter a name for the API key and click "Create" Copy the API key and paste it into the es_api_key parameter below

Alternatively, you can run Elasticsearch via Docker as described in the docs. Usage ElasticsearchStore The ElasticsearchStore class exposes Elasticsearch as a vector store. from langchain_elasticsearch impor

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
(python3.10dist(elasticsearch[vectorstore-mmr]) < 9~~ with python3.10dist(elasticsearch[vectorstore-mmr]) >= 8.13.1)  
rpmlib(RichDependencies)  
rpmlib(FileDigests)  
(python3.10dist(elasticsearch) < 9~~ with python3.10dist(elasticsearch) >= 8.13.1)  
rpmlib(TildeInVersions)  
(python3.10dist(langchain-core) < 0.4~~ with python3.10dist(langchain-core) >= 0.3)  
Provides
python-langchain-elasticsearch
python3-langchain-elasticsearch
python3.10-langchain-elasticsearch
python3.10dist(langchain-elasticsearch)
python3dist(langchain-elasticsearch)
Obsoletes
python-langchain-elasticsearch

Document Actions