Practice
Learn
← Quit
0 / 0 correct
LLMs & AI
Medium
1 of 40
What is cosine similarity between two embedding vectors?
A
The cosine of the angle between them: 1 for the same direction, 0 for unrelated (orthogonal)
B
The number of shared tokens
C
The product of their lengths
D
The Euclidean distance between them