Skip to content

ChromaDB

A lightweight vector database for RAG prototyping. Runs directly in Python without the need for a separate server.

  • Install with one command: pip install chromadb;
  • Stores data locally;
  • Simple API for adding and searching;
  • Ideal for initial RAG experiments.

Example

import chromadb
client = chromadb.Client()
col = client.create_collection("docs")
col.add(documents=["..."], ids=["1"])
col.query(query_texts=["question"], n_results=3)

Limitations

Parameter ChromaDB Qdrant
Scale Prototypes Production
Separate Server Not needed Needed
Filters Basic Advanced

For serious loads, Qdrant or Pinecone are chosen.

See Also

← All terms