Vector Databases

Store millions of embeddings and run fast similarity search (ANN).

Why a vector DB?

Vector DBs store embeddings with metadata and provide fast approximate nearest-neighbor (ANN) search using indexes (HNSW, IVF).

Interactive Vector Store (teaching-only)

Open Chroma lab notebook
Store size: 0

Index lifecycle

Ingest: chunk → embed → upsert.
Query: embed question → search top-K → return text + scores.
Update: delete old doc vectors, re-index changed files.

Note: This page uses a simulated embedding function for teaching; Module 7 replaces this with Groq/OpenAI and Chroma in code labs.