Two kinds of logic
Deterministic logic gives the same output for the same input, every time. Tax calculations, eligibility checks, pricing rules, approval thresholds, regulatory limits.
Probabilistic logic, like a large language model, gives the most likely good answer. It’s brilliant at reading messy documents, understanding intent, summarising, drafting and judging similarity. It’s also, by nature, sometimes wrong.
Most AI failures in production come from using the wrong one: asking an LLM to do arithmetic on a claim, or writing brittle rules to understand free-text emails.
How we split the work
| Must be exact: rules | Benefits from judgment: LLMs |
|---|---|
| Calculations and totals | Reading and extracting from documents |
| Eligibility and coverage checks | Understanding what a customer is asking |
| Approval thresholds and limits | Summarising and drafting |
| Compliance and regulatory rules | Classifying and routing |
| Data validation | Spotting patterns and anomalies |
The LLM reads the invoice. The rule checks the amount against the purchase order. The LLM drafts the explanation. The rule decides whether it needs a controller’s approval.
The control layer
Every system we build has the same controls around the AI:
- Guardrails: what the AI can say and do, enforced in code
- Evaluations: test sets from real cases, rerun on every change
- Audit: every input, output, rule and action logged
- Human approval: for high-value, irreversible or low-confidence steps
- Fallbacks: when confidence is low, the system says so and routes to a person
Why it matters
This is what lets regulated teams, such as health plans, insurers, banks and manufacturers, use AI with confidence. Auditors can follow every decision. Business owners can change a rule without retraining a model. And the AI is free to do what it’s genuinely good at.
Questions people ask
What is the difference between deterministic and probabilistic AI?
Deterministic logic, like business rules, always gives the same output for the same input. Probabilistic AI, like large language models, gives the most likely answer and is best at language and judgment tasks.
Why combine rules with large language models?
Rules guarantee exactness for calculations, eligibility, compliance and money. LLMs handle messy language and judgment. Together they are more reliable than either alone.
How do you make enterprise AI auditable?
By logging every input, retrieved source, rule applied, model output and action, evaluating changes against real cases, and requiring human approval for high-impact steps.