There is a simple rule we apply to every AI system that produces a number someone will act on: the model does not produce the number. It can classify, extract, label and explain. Counting, summing, comparing and trending belong to a database.
This sounds restrictive. It is the single design decision that most improves trust in an AI product.
Why it matters
A generated figure looks exactly like a computed one. If a report says complaints about refunds rose 40% and that figure was written by a model rather than calculated from rows, nobody downstream can tell, and the first wrong number discovered destroys confidence in every other number.
Decision-makers do not need the system to be eloquent. They need to know that a figure will be the same tomorrow, that it can be traced to source records, and that a second person running the same query gets the same answer.
The AI labels and writes. The database does the maths.
What the split looks like
In a feedback-analysis platform we are building, each customer comment is tagged by a model: sentiment, complaint type, product area. Those tags are stored as structured data. Volumes, percentages and growth rates are then computed with ordinary SQL. Only at the end does a model return, to write recommendations from the computed figures and to cite real customer quotes pulled from the underlying rows.
The same principle applies well outside AI products. On a payments reconciliation engagement, every match carries an audit trail back to its source file. The value is not only that the backlog cleared; it is that each individual result can be explained.
Stability is part of correctness
There is a second, quieter failure mode: categories that drift. If a model invents slightly different theme names each month, a "trend" may be nothing more than relabelling. We keep a persistent library of themes so new data maps to existing categories, and a rising line on a chart means something actually rose.
None of this limits what the system can do. It decides where each kind of work happens, so that the parts people rely on are the parts that can be checked.







