Rendered Source Note

Chroma (ChromaDB) — Vector Database Documentation

Generated HTML view. Markdown remains canonical.

Chroma (ChromaDB) — Vector Database Documentation

Type: official-docs Tier: 1 (Official Documentation) Author(s): Chroma (chromadb) Date: docs accessed 2026-06-01 URL: https://docs.trychroma.com/ Accessed: 2026-06-01

Why This Source Matters

Project 02 computed cosine similarity over a tiny in-memory corpus by hand. That does not scale: ranking a query against millions of vectors by brute-force cosine is too slow. A vector database solves the storage + fast-retrieval problem. Chroma is the lab's vector DB for Project 03 (Semantic Search): it is open-source, pip install chromadb, runs embedded in-process (no server), and exposes exactly the collection → add → query loop the project is built around. It grounds every concrete claim about how a real vector store indexes and queries embeddings.

Key Claims

What Chroma is and its data model

Indexing — HNSW / approximate nearest neighbor

Querying

Persistence

Relevant To

Notes