In a basic RAG workflow, what is the role of the “retrieval” step?

Answer

To find relevant information to include as context

Explanation

The retrieval step searches for relevant documents or passages that will help the model answer accurately. Then the generation step uses that retrieved context to produce the final response. Training model weights and encryption are not retrieval’s primary purpose.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list