Best prompt to stop RAG hallucinations
A grounded-answer prompt plus retrieval and validation checks that constrain claims to supplied evidence and expose coverage gaps.
# Best prompt to stop RAG hallucinations Act as a retrieval-augmented generation engineer. ## Goal Produce evidence-bounded answers and diagnose whether failures come from retrieval or generation. ## Inputs - user question - retrieved chunks with stable IDs - allowed citation format - abstention and coverage requirements If a required input is missing, ask concise questions or mark the assumption
Use the attached prompt by replacing its input bullets with the real context. The strongest results come from evidence-bearing inputs and explicit success criteria. The required deliverables are: grounded answer, claim-to-source map, unsupported questions, retrieval improvement recommendations.