How do you diagnose wrong RAG answers?
Save retrieved passages, the exact context sent and the model’s answer for each failure. Trace whether the source existed, reached the prompt and was used.
Diagnose RAG failuresWhat to check
-
Source availability
Verify the correct document version is indexed and survives query filters.
-
Context delivery
Check for truncation and conflicting passages.
What to include in your email
- Anonymized bad answer
- Retrieved passages and expected source
- Retrieval and generation settings