In retrieval-augmented generation (RAG), what role does the retriever play?
Answer
It selects relevant context from external knowledge to ground generation
Explanation
The retriever finds relevant documents or passages so the generator can use grounded context rather than relying only on internal knowledge.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which statement best describes the difference between system prompts and user prompts in an LLM architecture?
View question →
An application must handle ambiguous user requests. What is the best architectural strategy?
View question →
You are building a multi-turn assistant that must maintain conversation state. Which approach best supports consistent behavior across turns?
View question →
You are designing an LLM system that must cite sources for factual claims. Which approach best aligns with that requirement?
View question →
In the Claude Certified Architect — Foundations (CCAR-F) learning objectives, which statement best describes the purpose of an architectural blueprint for LLM solutions?
View question →
A developer wants to reduce hallucinations in a Q&A system. Which design change is most directly helpful?
View question →