A developer wants the assistant to answer using a provided document. What is the best way to reduce hallucinations in the assistant’s response?

Answer

Provide relevant excerpts and instruct the model to use them as the primary source

Explanation

Grounding with relevant excerpts constrains the model to evidence in the context. This reduces unsupported claims.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list