Skip to main content
MITHUNAI evaluates answer quality using automated factual grounding benchmarks that verify every generated sentence against retrieved source passages before deployment. Unlike subjective human spot-checks, our evaluation framework runs quantitative scoring across three rigorous metrics: factual faithfulness, citation recall, and abstention precision on unanswerable negative queries.

Core Grounding Metrics

The platform evaluates assistants against four empirical metrics:

Running Golden Dataset Evaluations

A Golden Dataset consists of paired test items containing realistic user questions, required source passages, and expected canonical answers:
Golden Test Item Schema

Testing Negative / Out-of-Scope Queries

Crucially, 30% of your evaluation suite should consist of negative queries—questions that resemble valid inquiries but whose answers are deliberately missing from your documentation:
Negative Test Item Schema
If the assistant attempts to guess or generate hypothetical GraphQL schemas instead of abstaining, the evaluation gate fails automatically.

CI/CD Regression Testing

Automate grounding verification in your build pipeline using the MITHUNAI CLI:
Automated Benchmark Run
By enforcing these evaluation gates in CI/CD, documentation and engineering teams ensure that new documentation syncs never introduce factual regressions into customer-facing assistants.
Last modified on September 27, 2026