Part 2 of 2 Β· Finishing my vector database notes π§
ποΈ 4. IVF & quantization: search only the nearest clusters, and shrink vectors up to 64Γ smaller
π 5. Similarity: cosine, dot product or L2 distance, with cosine the usual choice for text
π 6. Search: embed the question,...