Why Cosine Similarity > L2 Distance for RAG Systems (usually) [Part 1/3]
When building RAG systems, we face a key choice: Cosine Similarity or L2 Distance to compare vectors? Here's how I think about it: Cosine cares about direction (the angle between vectors), ignoring...
community.sap.com