Skip to main content
Chroma integrates seamlessly with LangChain, providing a powerful vector store for building LLM applications with retrieval-augmented generation (RAG).

Installation

Python integration

Basic usage

Using with a retriever

Advanced retrieval

JavaScript integration

Configuration options

string
Name of the Chroma collection
string
Directory for persistent storage (Python only)
Settings
Chroma client settings for remote connections
EmbeddingFunction
Custom embedding function

Use cases

Document Q&A

Build question-answering systems over your documents

Semantic search

Implement semantic search with LangChain retrievers

RAG pipelines

Create retrieval-augmented generation workflows

Chat with data

Build conversational AI that references your data

Resources

The LangChain integration supports both persistent and in-memory Chroma instances.