
Explanation:
In Retrieval-Augmented Generation (RAG), the retrieval step involves fetching relevant documents or information from a knowledge base based on the user's query. Here's how it works:
Why other options are incorrect:
This retrieval step is crucial for RAG as it grounds the LLM's responses in factual, up-to-date information from external sources, reducing hallucinations and improving accuracy.
Ultimate access to all questions.
No comments yet.
What happens during the retrieval step in RAG?
A
The LLM creates new documents to respond
B
Relevant documents are fetched based on embedding similarity
C
User input is converted directly to SQL queries
D
The model predicts the next best prompt