For Heads-of · Practitioner

Embedding

A numerical representation of text, images or other data in a high-dimensional space, where items with similar meaning sit close together.

  • embeddings
  • vectors
  • semantic search
  • representations

Purpose

Embeddings turn raw data into vectors of numbers that a model can compare. Items with similar meaning end up close together, which is what makes semantic search possible.

Example

In classic word embeddings, the vector for king minus man plus woman lands close to queen, showing that the representation captures relationships between meanings, not just spellings.

RAG and search

Embeddings power retrieval-augmented generation (RAG): documents are stored as embeddings and retrieved by similarity to the query. They are not anonymised: an embedding can leak the text it encodes, and a shared vector store can expose one user's content to another. These are the vector and embedding weaknesses that vector store and embedding access controls address.

Related Terms

Related risks and controls

← Back to Glossary