← All models · Granite Embedding
use case · basics
The simplest thing an embedder does: turn each passage into a 384-number vector, then measure the angle between them. Cosine 1.00 means "same direction / same meaning", near 0 means "unrelated". Because Granite Embedding is multilingual, the two passages don't even have to be in the same language — try the "cross-lingual" example below.
Cosine is scale-free: it only cares about direction, so passage length barely matters — a one-line question and a paragraph-long answer can still score high if they mean the same thing. That is exactly what makes embeddings good at matching short queries to long documents.