ElasticsearchEmbeddingsCache
This will help you get started with Elasticsearch key-value stores. For detailed documentation of all ElasticsearchEmbeddingsCache features and configurations head to the API reference.
Overview
The ElasticsearchEmbeddingsCache is a ByteStore implementation that uses your Elasticsearch instance for efficient storage and retrieval of embeddings.
Integration details
| Class | Package | Local | JS support | Package downloads | Package latest |
|---|---|---|---|---|---|
| ElasticsearchEmbeddingsCache | langchain-elasticsearch | ✅ | ❌ |
Setup
To create a ElasticsearchEmbeddingsCache byte store, you'll need an Elasticsearch cluster. You can set one up locally or create an Elastic account.
Installation
The LangChain ElasticsearchEmbeddingsCache integration lives in the langchain-elasticsearch package:
%pip install -qU langchain-elasticsearch