What are embeddings?

An embedding is a list of numbers that represents the meaning of a piece of text (or an image) so that similar things end up close together. Embeddings let software search by meaning instead of exact keywords.

An embedding model turns "How do I reset my password?" and "I forgot my login" into two points that sit near each other, even though they share almost no words. That is the trick behind semantic search.

What they're used for

  • Search and RAG: find the passages closest in meaning to a question.
  • Recommendations: "more like this".
  • Clustering: group thousands of support tickets or survey answers into themes.
  • Deduplication and classification.

What a PM should know

  • Embeddings are cheap and fast compared with generating text.
  • They are stored in a vector database or a vector index in a database you already use.
  • Meaning-based search misses exact matches (part numbers, names, error codes). The best systems combine it with keyword search.
  • If you change embedding models, you have to re-embed everything.
  • Embeddings of personal information are still personal information. Protect and delete them like the source text.

Articles that mention Embeddings

All 27 terms in the AI glossary →