Embedding

AI & LLM Testing

// Definition

A numerical vector representation of text (or images, or audio) that captures meaning in a way machines can compare. Two sentences with similar meaning produce embeddings that are close together in vector space. Embeddings power retrieval in RAG systems, semantic search, and clustering. In QA work, knowing about embeddings matters because they determine what gets retrieved in a RAG pipeline — and bad retrieval is one of the most common reasons AI products give wrong answers.

// Related terms