TRIKHYA INTELLIGENCE FOUNDRY
Contact us
INSIGHTS · ENGINEERING · 8 MIN

Evaluating AI systems before they reach users 

A fixed question set, a stage-by-stage audit, and a validator you also measure. Accuracy is a number you publish, not an adjective.

5 September 2026 · TRIKHYA INTELLIGENCE FOUNDRY

The assistant we run for a multi-plant manufacturer has a number attached to it: the share of real questions it answers correctly end to end. Today that is 92.4%. This is how that number is produced, why we trust it, and what we had to learn to make it mean anything.

The fixed set

We maintain a fixed set of real questions gathered from the floor, each with an agreed correct answer written down with the people who own the data. Every release runs the whole set through the full pipeline, exactly as a user would, and a judge model compares each answer to the agreed one. Disagreements are reviewed by a person. Questions users flag in production are added, so the set grows towards what people actually ask.

Audit the stages, not just the end

An end-to-end score tells you something is wrong. It does not tell you where. Every stage of our pipeline writes what it saw and decided into the trace: how the question was resolved, which domain it was routed to, which tables were chosen, what SQL was generated, how the validator judged it, and whether a retry happened. We aggregate those per release. The first time we did this we discovered that our biggest source of retries was not the generator at all.

Measure the validator too

A second model checks every query and result against the question. It is the reason the system can say it does not know. It is also a model, and it can be wrong in both directions. We measure wrong rejects, where a correct query is sent back for another attempt, and wrong accepts, where a bad answer gets through. For a while the validator was rejecting correct queries because its rules disagreed with the generator's. Fixing that was a documentation change, and it was worth more than any model upgrade that year.

01First-pass accuracyHow often the very first query was right. This is what the user feels as speed.
02Served-correct-first-timeHow often a user got a correct answer without a retry. Lower than first-pass accuracy whenever the validator wrongly rejects.
03End-to-end accuracyHow often the final answer was correct after bounded retries. The number we publish.
04Honest refusalsHow often the system said it had no reliable answer, and how often it was right to.

Gates, not reports

The evaluation does not produce a report somebody might read. It produces a gate. A release that drops below the previous number does not ship. A release in which the table catalogue or the glossary is incomplete does not build. The number moves when definitions move, which is exactly when you want to be told.

“If you cannot say what accuracy means for your system, you cannot say whether a change made it better.”

None of this is exotic. It is a test suite with a judge in it. What made it hard was agreeing on the correct answers, and what made it valuable was running it every single time.

Keep reading.

All insights →
06SSE
ENGINEERING · 6 MINThree languages, one stream: adding voice to a data assistantHow a question spoken in Tamil becomes a checked SQL answer and comes back spoken in Tamil, inside a single server-sent event stream.
01H·AI·H
ESSAY · 6 MINWhy human-AI-human beats fully autonomous AI in operationsThe systems that survive contact with a factory floor are the ones that know when to ask, when to stop, and how to show their working.
02SELECT
ENGINEERING · 9 MINGetting correct answers from messy business dataMost wrong answers from a natural-language query system are not wrong SQL. They are a word that means two things in two departments.