Chroma
Also known as: ChromaDB
Open-source vector database that stores documents with their embeddings so language model applications can retrieve relevant information by meaning.
Chroma is an open-source vector database designed for applications built on large language models. It stores documents together with their embeddings, numerical vectors that capture meaning, along with metadata, and answers similarity queries that find the stored items closest in meaning to a query. Developers use it to give language model applications access to knowledge that is not in the model's training data, such as company documents, notes or product manuals.
Chroma emphasizes a small, developer-friendly API. In Python or JavaScript, a program creates a collection, adds text and optional metadata and queries it; Chroma can compute embeddings automatically with a default model or accept vectors produced elsewhere. It can run embedded inside an application process, as a standalone server or through the company's hosted cloud service. Approximate nearest-neighbor indexes keep searches fast as collections grow, and metadata filters narrow results by attributes such as source or date. The database is released under the Apache License 2.0.
Chroma is most often used for Retrieval-Augmented generation, in which relevant passages are retrieved and inserted into a model's prompt so that answers can draw on specific sources. It also supports semantic search, deduplication and memory for AI agents. Retrieval quality depends less on the database than on choices around it: how documents are split into chunks, which embedding model is used and how results are ranked. Like other vector stores, Chroma reduces but does not eliminate hallucination, since a model can still misread or ignore retrieved text.
Key points
- Chroma stores text, embeddings and metadata and returns the items most similar to a query.
- It can run embedded in an application, as a standalone server or as a hosted service.
- Retrieval-augmented generation is its most common use, grounding model answers in specific documents.
- Search quality depends heavily on chunking strategy and the choice of embedding model.
In their own words
...makes it easy to build LLM apps by making knowledge, facts, and skills pluggable for LLMs.
Related entries
Vector Database
Database designed to store embeddings and quickly find the vectors most similar to a query, supporting semantic search and AI retrieval.
Embedding
A learned numerical vector that represents an item such as a word, document, image or user so that similar items have nearby vectors.
Retrieval-Augmented Generation
Technique that improves a language model's answers by first retrieving relevant documents and supplying them to the model as context.
Semantic Search
Search technique that matches queries to content by meaning and intent rather than by exact keywords, often using embeddings and language models.
Neural network trained on very large amounts of text to predict the next token, able to generate language and perform many tasks from prompts.
Hugging Face Transformers
Open-source Python library from Hugging Face that provides a common interface for loading, running and fine-tuning thousands of pretrained models.
Ollama
Tool for downloading and running open-weight language models on a personal computer or server through a simple command line and local API.