Embedding
A numeric representation of text that captures its meaning for search and comparison.
An embedding turns a piece of text into a vector of numbers so that semantically similar text sits close together. Embeddings power retrieval in RAG systems and semantic search.
Embedding in practice
Embeddings are what let a search for 'can I carry over holiday?' find the annual leave policy even though the wording differs. In business systems they are generated once when documents are indexed and refreshed when content changes. Choice of embedding model, sensible document chunking and keeping embeddings up to date all have a direct effect on answer quality.
Guides that cover this
- Azure OpenAI Service: The Complete Guide for UK Enterprises
- RAG Explained: How to Make AI Answer from Your Company's Knowledge
Related terms
- Vector Database
- A database that stores embeddings and finds the most similar ones quickly.
- RAG (Retrieval-Augmented Generation)
- Grounding a model's answers in your own documents retrieved at query time.
- LLM (Large Language Model)
- A model trained on large volumes of text that predicts and generates language.
- Token
- The unit of text models process — roughly three-quarters of a word in English.