Why it matters
Vector DB math shapes retrieval. Understanding shapes RAG.
Advertisement
The architecture
Metric (cosine / L2 / dot).
ANN index (HNSW / IVF).
Filter by metadata.
Top-K retrieval.
Advertisement
How it works end to end
Metric matches embedding.
ANN trades accuracy for speed.
Filter integrated with index.