Skip to main content
Ctrl+K
🦜🔗 LangChain  documentation - Home 🦜🔗 LangChain  documentation - Home
  • Reference
  • Legacy reference
Ctrl+K
Docs
  • GitHub
  • X / Twitter
Ctrl+K
  • Reference
  • Legacy reference
Docs
  • GitHub
  • X / Twitter

Section Navigation

Base packages

  • Core
  • Langchain
  • Text Splitters
  • Community
  • Experimental

Integrations

  • AI21
  • Airbyte
  • Anthropic
  • AstraDB
  • AWS
  • Azure Dynamic Sessions
  • Chroma
  • Cohere
  • Couchbase
  • Elasticsearch
    • cache
    • chat_history
    • client
    • embeddings
      • ElasticsearchEmbeddings
      • EmbeddingServiceAdapter
    • retrievers
    • vectorstores
  • Exa
  • Fireworks
  • Google Community
  • Google GenAI
  • Google VertexAI
  • Groq
  • Huggingface
  • Milvus
  • MistralAI
  • MongoDB
  • Nomic
  • Nvidia Ai Endpoints
  • Ollama
  • OpenAI
  • Pinecone
  • Postgres
  • Prompty
  • Qdrant
  • Robocorp
  • Together
  • Unstructured
  • VoyageAI
  • Weaviate
  • LangChain Python API Reference
  • langchain-elasticsearch: 0.2.2

embeddings#

Classes

embeddings.ElasticsearchEmbeddings(client, ...)

Elasticsearch embedding models.

embeddings.EmbeddingServiceAdapter(...)

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

© Copyright 2023, LangChain Inc.