Retrieval-Augmented GenerationBeginner28 July 2026
Why are embeddings commonly used in a RAG system?
Pick an answer to see the explanation.
Answer
To represent meaning numerically so semantically similar content can be found
Embeddings convert text into numerical vectors that capture semantic meaning. A RAG system compares these vectors to find passages related to the user's question, even when the wording is different. The retrieved passages are then supplied to the language model as context.
Learn more: Understand RAG with a practical example →