In a typical architecture, what is the purpose of a “retrieval” step (when used)?

Answer

To pull relevant information from a knowledge source for the model

Explanation

Retrieval is used to gather relevant context from documents or a database so the model can ground its response. It does not permanently store everything forever, and it does not guarantee perfect answers. Retrieval complements prompt design rather than removing it.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list