1. Home
  2. Glossary
  3. Embedding
AI glossary · Models & training

Embedding

Embedding: An embedding is a list of numbers that represents the meaning of a piece of text, an image, or other content, so that items with similar meaning end up with similar numbers. Embeddings are what let AI systems search by meaning instead of exact words.

Computers cannot compare meanings directly, so an embedding model converts content into a point in a high-dimensional space, typically a few hundred to a few thousand numbers. 'Invoice past due' and 'unpaid bill' land close together; 'quarterly offsite agenda' lands far away. Distance between points stands in for difference in meaning.

This is the machinery behind semantic search, recommendation, duplicate detection, and the retrieval step in retrieval-augmented generation. Your documents are embedded once and stored; a question is embedded on the fly and matched against them.

Embeddings capture meaning as the model learned it, so they inherit its blind spots. Highly specialized jargon, product codes, and names may not embed well without extra handling, which is why good systems combine semantic matching with plain keyword search.

Example at work

A customer support lead wants to find every past ticket about a recurring shipping-label bug, but customers describe it a dozen different ways. Instead of guessing keywords, the team embeds all tickets and searches for ones near a well-written description of the bug, surfacing hundreds that a keyword search missed.

Why it matters

You will rarely touch an embedding directly, but every AI search and 'chat with your data' feature depends on them. Knowing that matching happens by meaning explains both the pleasant surprises (finding what you meant) and the misses (a product code that never gets found).

Related terms