Search your support tickets for "I can't log in" and a good AI search will also bring back "reset my password", even though the two share no words.
What matched was two lists of numbers.
Those lists are called embeddings. An embedding model reads a piece of text and returns a fixed-length list of numbers (a vector). One sentence or a whole page, the length never changes: 1536 numbers for OpenAI's text-embedding-3-small.
During training, the model learned to give texts with similar meaning similar numbers, which is how those two tickets end up close together. The same lookup often runs when a RAG pipeline (an app that fetches your documents before the model answers) or an agent's memory goes looking for something.
"Close" is usually measured with cosine similarity: the angle between two lists, ignoring their overall size. Small angle, similar meaning.
And the numbers usually only make sense to the model that made them. Models trained separately each draw their own map, so position 412 in one model's list has nothing to do with position 412 in another's.
So cutting a vector short is fine in one case: within a single model built to allow it. OpenAI's text-embedding-3 models were trained for this: they take a dimensions setting that returns a shorter list, and their docs say text-embedding-3-large cut to 256 numbers still beats the older ada-002 at its full 1536 on MTEB, a standard embedding benchmark. Trim one by hand instead and you have to rescale it so its overall size is 1 again, or the quick shortcut for cosine similarity (multiply matching positions, add them up) stops scoring it correctly.