Cheat sheet: before you ship an AI system
A checklist drawn from the lessons. Tick each line honestly before launch.
Problem and data
- The goal and metric are written down.
- A simple baseline exists and is beaten.
- The test set was split off before training and used once.
- No leakage; no personal data you do not need.
Learn more: How an AI or ML project runs from idea to production · Data basics: types, features, labels and splits
Model
- Compared on the same folds and metric.
- Errors inspected, not only the average.
- Explanations or reasons available where decisions affect people.
Learn more: Measuring models honestly · Improving and explaining models
Language model features
- Prompts versioned and tested on a fixed set.
- Outputs validated (structure, length, safety).
- Answers grounded in documents with citations, and "I don't know" works.
Learn more: Prompt engineering that works in production · RAG: answering from your own documents · Evaluating AI applications
Security and privacy
- Outside text treated as data; tools limited; risky actions need a person.
- Keys in a secret store; personal data redacted; rate limits on.
Learn more: Security for AI applications · Responsible AI: fairness, privacy, transparency and oversight
Release
- Registry entry with data hash and code version.
- Shadow or canary first; a rollback plan.
- Time-outs, retries with growing waits, and a fallback on every model call.
Learn more: MLOps: versioning, pipelines and safe releases · Production architecture for AI systems
After launch
- Dashboards and alerts for health, drift, quality, cost and latency (TTFT and ITL).
- A retraining trigger and an owner.
- A periodic review of fairness and costs.
Learn more: Monitoring models and AI apps in production · Speed, cost and scaling