INDEX | HOME

Vectors and dot-products

Cosine Similarity (which is just the normalized dot product) is the industry standard for measuring similarity in modern AI, particularly in Large Language Models (LLMs) and Semantic Search.

Implement a similarity search using dot-products.

Copyright 2026 Joseph Graham (joseph@xylon.me.uk)