Data

Embedding

An embedding is a fixed-length vector of numbers that represents the semantic meaning of a piece of text (or image, audio). Embeddings allow systems to find conceptually similar content via vector distance, which is the core mechanic of RAG and semantic search.

Related terms

  • RAG (Retrieval-Augmented Generation) RAG is a pattern in which an AI model retrieves relevant documents from a knowledge base at query time and uses them as additional context to generate its response.
  • Vector Database A vector database is a database optimized for storing embeddings and answering similarity queries ("give me the 10 most similar items to this one").

← Back to glossary