RAG Evaluation and Grounding
Find out whether your retrieval-augmented generation system answers from its sources, and fix where it doesn't.
The problem
A RAG system can sound confident while citing the wrong document, stating facts no source contains, or mixing records together. Spot checks miss this; users find it first.
Measuring grounding means breaking answers into claims, checking each claim against the sources it cites, and tracking the results over a fixed test set so changes to prompts, models or retrieval can be compared.
Good fit when
- Users report wrong or uncited answers from an internal assistant
- You are about to put a RAG system in front of customers or regulators
- You changed models or retrieval and need evidence it got better, not worse
What you receive
- A test set of real questions with expected sources, built with your team
- Claim-level grounding results: supported, mis-cited, unsupported and invalid claims
- Retrieval diagnostics: whether the right records were found and ranked
- A report of failure patterns with prioritized fixes (data, retrieval, prompts, output checks)
- Optional: SHACL output checks and provenance links added to your pipeline
How it runs
- Questions and sources. Collect representative questions and the records that should answer them.
- Baseline run. Run the current system on the test set and record answers, citations and retrieved context.
- Claim checks. Split answers into claims and test each against its cited sources, with a human-labelled sample to calibrate automated judging.
- Diagnosis. Trace failures to retrieval, data quality, prompts or missing structure.
- Report and fixes. Findings, metrics and a prioritized plan; re-run after fixes if included.
Typical scope
From $6,000
2–3 weeks
Mutual NDA, then a fixed statement of work. Final price set after a discovery call.
A first evaluation on one system and up to about 100 test questions typically takes 2–3 weeks. See the grounding evaluation demonstration for how claims are checked.
Discuss your project
Describe the problem, your timeframe and a budget range. I'll follow up by email.
Prefer email? hello@thompsonaxiomata.com