llama-index-embeddings-langchain
llama-index embeddings langchain integration
What it is and what it does
This package bridges Langchain's embedding ecosystem into LlamaIndex, letting you leverage Langchain's embedding models and providers when building LlamaIndex applications. It acts as an adapter layer that wraps Langchain embedding implementations so they work as drop-in replacements within LlamaIndex's indexing, retrieval, and vector store operations.
The integration depends only on llama-index-core, keeping the dependency footprint minimal. It's designed for developers who already use or prefer Langchain's embedding infrastructure and want to use those same models within LlamaIndex workflows without reimplementing or duplicating embedding logic.
Use it for:
- Index documents in LlamaIndex with embedding models provided by Langchain
- Switch between different Langchain embedding providers in an existing LlamaIndex application
- Migrate from a pure Langchain setup to LlamaIndex while keeping your embedding provider choice
- Combine Langchain's embedding options with LlamaIndex's retrieval and query capabilities
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Langchain embedding models with LlamaIndex, allowing you to use Langchain's embedding providers within LlamaIndex's retrieval and indexing workflows.
Yes, if you are already using LlamaIndex and want to use Langchain embedding models. The package has low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. It is a straightforward integration layer with a single core dependency.
Install
llama-index-embeddings-langchain on PyPI
pip
pip install llama-index-embeddings-langchainuv
uv add llama-index-embeddings-langchainpoetry
poetry add llama-index-embeddings-langchainInstalling llama-index-embeddings-langchain
Before you install
Low install friction with a single runtime dependency on llama-index-core. Actively maintained with recent releases.
License in practice
MIT license permits commercial and private use with minimal restrictions.
Quickstart
pip install llama-index-embeddings-langchain
from llama_index_embeddings_langchain import LangchainEmbedding
embedding = LangchainEmbedding(model_name='your-model')
Requires Python 3.10 or later and llama-index-core as a runtime dependency.
Verify before relying
- Which specific Langchain embedding providers are supported by this integration
- Whether additional Langchain dependencies must be installed separately
- Performance characteristics or overhead of using Langchain embeddings through this adapter
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — llama-index-core |
| Maintenance | actively maintained — 155 days since the last release |
| First released | |
| Downloads | 108,611/month — #12,550 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: llama_index_embeddings_langchain-0.5.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
llama-index-embeddings-openaiIntegrates OpenAI's embedding models with…
permissive · top 5,000 on PyPI
llama-index-llms-langchainBridges LlamaIndex with LangChain LLM…
permissive · top 15,000 on PyPI
llama-index-embeddings-huggingfaceIntegrates Hugging Face embedding models with…
permissive · top 15,000 on PyPI
llama-index-embeddings-ollamaIntegrates Ollama's local embedding models with…
permissive · top 15,000 on PyPI
llama-index-embeddings-azure-openaiIntegrates Azure OpenAI's embedding models with…
permissive · top 15,000 on PyPI
llama-index-vector-stores-chromaIntegrates Chroma vector database with…
permissive · top 15,000 on PyPI
llama-index-retrievers-bm25Integrates BM25 full-text search retrieval into…
permissive · top 15,000 on PyPI
llama-index-vector-stores-qdrantIntegrates Qdrant vector database with…
permissive · top 15,000 on PyPI
langchain-basetenIntegrates Baseten's chat models and embeddings…
permissive · top 15,000 on PyPI
llama-index-utils-workflowProvides visualization tools for LlamaIndex…
unclear · top 15,000 on PyPI