RAG · Similarity

Cosine Similarity

Drag the two vectors — the angle between them is the similarity, not the distance.

a b
cosine similarity
1.00
angle θ
dot a·b
0
euclidean
0
|a| · |b|
0
drag either arrow tip
similarity.py