skillfed

llama-index-embeddings-langchain

llama-index embeddings langchain integration

llama-index-embeddings-langchain v0.5.0 108.6K downloads/30d#12,550 on PyPI
Permissive license MIT Active released

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-langchain

uv

uv add llama-index-embeddings-langchain

poetry

poetry add llama-index-embeddings-langchain

Installing 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

langchain embeddings llama indexembedding integration llama indexlangchain embedding adapterllama index embedding providervector embedding integration
embedding-integrationllm-tooling

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

llama-index-embeddings-openai

Integrates OpenAI's embedding models with…

permissive · top 5,000 on PyPI

llama-index-llms-langchain

Bridges LlamaIndex with LangChain LLM…

permissive · top 15,000 on PyPI

llama-index-embeddings-huggingface

Integrates Hugging Face embedding models with…

permissive · top 15,000 on PyPI

llama-index-embeddings-ollama

Integrates Ollama's local embedding models with…

permissive · top 15,000 on PyPI

llama-index-embeddings-azure-openai

Integrates Azure OpenAI's embedding models with…

permissive · top 15,000 on PyPI

llama-index-vector-stores-chroma

Integrates Chroma vector database with…

permissive · top 15,000 on PyPI

llama-index-retrievers-bm25

Integrates BM25 full-text search retrieval into…

permissive · top 15,000 on PyPI

llama-index-vector-stores-qdrant

Integrates Qdrant vector database with…

permissive · top 15,000 on PyPI

langchain-baseten

Integrates Baseten's chat models and embeddings…

permissive · top 15,000 on PyPI

llama-index-utils-workflow

Provides visualization tools for LlamaIndex…

unclear · top 15,000 on PyPI