How to Connect Chroma to LangChain for Retrieval Augmented Generation
Wire a persistent Chroma store into a LangChain retrieval chain so your app answers questions from your own documents instead of the model's memory.
Open-source embedding database that runs locally in a few lines of Python
Chroma is an open-source embedding database built to be dropped into a Python or JavaScript app with minimal setup. It stores vectors, documents and metadata in one place, runs locally by default, and offers a managed cloud for production. Free to self-host, with a paid cloud tier.
Chroma (the project, from Chroma Inc.) is a database whose whole job is to store embeddings and let you query them by similarity. The pitch is developer ergonomics: pip install chromadb, then create a client and a collection, and you are searching in minutes. It persists to disk by default and can run fully in-process for tests.
It is aimed at developers who value speed of setup over raw scale. For billions of vectors with heavy multi-tenancy, a server-first system like Weaviate or Milvus handles that better. Chroma’s local mode is not built for high-concurrency production, so plan a migration path if your data grows.
pip install chromadb and persists to disk.