← RAG & Grounded Generation
Embedding
Also known as: vector embedding
An embedding is a dense, fixed-length numerical vector that represents the semantic content of a text passage, image, or other input. Embedding models are trained so that inputs with similar meanings map to nearby points in vector space. In RAG pipelines, both documents and queries are embedded with the same model so that similarity search can match queries to semantically relevant passages regardless of exact wording.