
AI Fundamentals
Cosine similarity compares direction while a dot product also keeps magnitude
Compare cosine similarity and dot products with a small vector example, then check how normalisation affects an AI retrieval system.

Compare cosine similarity and dot products with a small vector example, then check how normalisation affects an AI retrieval system.