
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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
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.