← Projectsvector-search / L2Cosine Similarity~12 min
one move: preserve an invariant
Turn sentence vectors into a comparable signal with cosine similarity, including the zero-vector boundary. In the Vector Search system, implement this level as a deterministic contract before composing it with the next service.