ChromaDB
Abstract
ChromaDB is a lightweight open-source vector database. Ideal for prototyping and local development of RAG.
What It Does
- stores embeddings;
- nearest vector search;
- works as an embedded library or server;
- simple Python API.
Quick Start
import chromadb
client = chromadb.Client()
collection = client.create_collection("docs")
collection.add(
documents=["Document text"],
ids=["1"],
)
Use Cases
- local experiments;
- first RAG prototypes;
- small projects without a dedicated server.
ChromaDB vs Qdrant
| ChromaDB | Qdrant | |
|---|---|---|
| Deployment | Local | Self-hosted or cloud |
| Scale | Small | Large |
| Suitable For | Prototypes | Production |