// AI
Embedding
A dense numeric vector representation of text, image or audio, the input format for semantic search and RAG.
In depth
Embedding a corpus is the one-time cost of a RAG system; queries then compute embeddings on the fly and retrieve by cosine similarity. OpenAI, Cohere and Voyage lead the general-purpose embedding market; domain-specific models often outperform.