Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. Being Able to Explain What Happened and Why
AI Integration

Being Able to Explain What Happened and Why

What to record so an AI-assisted decision can be reconstructed months later, for auditors, regulators or customers.

Updated 2 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

Record the input, the retrieved context, the model and version, the output, the confidence, and who reviewed it. Without all six, you cannot reconstruct a decision, and reconstruction is what an audit requires.

Reconstruction is the standard

The question an auditor asks is not “is your AI accurate?” It is “show me how this specific decision was made on this specific date.”

Answering that requires records made at the time. It cannot be reconstructed afterwards from a general description of the system.

The six fields

  1. Input — the document or data, or a reference to an immutable copy
  2. Retrieved context — which passages or records informed it
  3. Model and version, plus the prompt version
  4. Output — exactly what the system produced
  5. Confidence and which routing rule applied
  6. Human action — who reviewed, what they changed, when
The second and third are the ones usually missing, and they are the two that explain why a decision that looks wrong today was reasonable at the time.

Immutable and retained

Records that can be edited afterwards are not audit records. Write once, retain per your policy, and make sure the source document copy cannot change underneath the reference.

Retention should match your existing records policy rather than a technical default nobody chose.

Make it queryable

  • By record, so a customer query can be answered directly
  • By date range, for periodic review
  • By model version, so a provider change can be assessed
  • By reviewer, for training and quality purposes

Balance against data minimisation

Full audit records contain personal data and retaining everything forever conflicts with minimisation obligations.

Store references and hashes rather than duplicating content where you can, and apply retention automatically. Both requirements can be met; neither is met by accident.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Is this needed for internal tools?

Lighter, yes. Even internally, being able to explain a decision six months later is worth the modest cost of recording it.

How long should we keep it?

As long as the underlying business record, typically. Align it to your existing policy rather than inventing a new period.

Does this satisfy explainability requirements?

It satisfies traceability, which is what most frameworks actually require. Genuine model explainability is a different and harder question.

What about the cost of storage?

Negligible for text. Storing references to documents rather than copies keeps it small even at high volume.

Keep reading

More on AI Integration

Start here

Could you explain an AI decision from March?

If not, the records are probably missing rather than the explanation. We can add proper audit trails to a live system.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →