Asked about Turning meaning into coordinates

Why cosine similarity rather than Euclidean distance?

An answer that works

Cosine measures the angle and ignores magnitude, so it compares direction of meaning rather than length of text. Euclidean distance would let a long document score differently from a short one saying the same thing.

Reading an answer is not being able to give one. The section that teaches this is Turning meaning into coordinates, 2 hours of Embeddings.

Learn this properly