unit vector

A vector scaled to length one, so comparisons depend only on its direction.

In more detail

Many embedding models return unit vectors. Then the dot product, cosine similarity and Euclidean distance all rank neighbours identically, so use the cheapest measure the model's documentation recommends.

Related terms

Taught in

References

Certification courses