Retrieval-augmented generation (RAG) improves an LLM's answers by:
A
Adding relevant documents to the prompt
Correct answer
B
Removing layers from the neural network
C
Compressing the model to run on phones
D
Retraining model weights for each question
Correct answer
A. Adding relevant documents to the prompt
24 views
⚔️
Challenge a friend on Generative AI
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
RAG retrieves relevant passages, usually through vector search, and adds them to the prompt. This grounds answers in current or private data without retraining the model.
Reference
Asked in: AI Engineer Interviews, GATE DA
Doubts & discussionNot sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ In large language models, the temperature setting mainly controls: Next MCQ › Diffusion models such as Stable Diffusion create images by: