Skip to content

Glossary: Running Open Models Locally

Cosine similarity

A score for how closely two vectors point in the same direction: 1 means the same direction, 0 means unrelated. It is how the handbook search ranks rules against a question.

Where the book teaches it

Related terms

EmbeddingDot product