langchain-elasticsearch: 0.3.0#

cache#

Classes

cache.ElasticsearchCache(index_name[, ...])

An Elasticsearch cache integration for LLMs.

cache.ElasticsearchEmbeddingsCache(index_name)

An Elasticsearch store for caching embeddings.

chat_history#

Classes

chat_history.ElasticsearchChatMessageHistory(...)

Chat message history that stores history in Elasticsearch.

client#

Functions

embeddings#

Classes

embeddings.ElasticsearchEmbeddings(client, ...)

Elasticsearch embedding models.

embeddings.EmbeddingServiceAdapter(...)

Adapter for LangChain Embeddings to support the EmbeddingService interface from elasticsearch.helpers.vectorstore.

retrievers#

Classes

retrievers.ElasticsearchRetriever

Elasticsearch retriever

vectorstores#

Classes

vectorstores.ElasticsearchStore(index_name, ...)

Elasticsearch vector store.

Deprecated classes