Every AI tutorial mentions embeddings and vector search. What is an embedding in simple words?
What is an embedding in AI?
Ask by Waldemar Thiessen
Updated 18 Nov 2026
An embedding is a list of numbers (a vector) that represents the meaning of something, such as a sentence, a product or an image. A model is trained so that similar things get similar vectors.
For example, "How do I reset my password?" and "I forgot my login" use different words, but their embeddings end up close together. "Best pizza in Delhi" ends up far away.
"Close" is measured with a distance or similarity, most often cosine similarity. That lets a computer compare meaning, not only exact words.
What embeddings are used for:
You usually call an embedding model through an API or library, store the vectors alongside your data and search them. Use the same embedding model for both the stored documents and the search queries.