Hacker News new | ask | show | jobs
by crystal_revenge 326 days ago
When the vectors are normalized to unit length cosine similarity and Euclidean distance are equivalent.

This an optimization that many vector dbs use in retrieval since it is typically much faster to compute Euclidean distance rather than cosine.