Euclidean distance

The straight-line distance between two vectors, the square root of the summed squared differences.

In more detail

Smaller means more similar. For unit-length vectors it ranks results in the same order as cosine similarity and the dot product; pgvector writes it as <-> and Chroma's default space is its square.

Related terms

Taught in

References

Certification courses