Embeddings: How machines understand what you mean
An embedding is a way to turn words into numbers that capture meaning. Instead of just counting letters or keywords, you get a long list of numbers—usually hundreds or thousands—that live in a high-dimensional space. Words with similar meanings land close together in that space, no matter what language they're in.
Think of it like how your abuela knows the difference between chiles and papas. To a machine, they're just strings of characters. But to her, they sit in different spots in her mental map of the kitchen. Embeddings are that mental map, written down.
You can ask a model for an embedding of any piece of text, and the result is the same every time. Two sentences that mean the same thing will produce nearly identical vectors. Two sentences that mean different things will land far apart. That lets you compare them with simple math—usually a dot product or cosine similarity.
This is why search engines can find results even when the query words don't exactly match the page. This is why language models can answer questions in a language they weren't explicitly trained on. This is why recommendation systems can suggest songs you haven't heard but will probably like.
Embeddings power a lot of the AI you interact with daily. They're not the model itself—they're the bridge between text and the things you do with text: search, classify, recommend, cluster, translate.
Next time you're shopping for an AI tool, ask what embedding model they're using. A good one makes the difference between a search that finds what you need and one that just matches keywords.