Artificial Intelligence & ML

Observability for a production AI feature

What to record around a model call, how to review a sample of results, and how to roll back a release that behaves badly.

1 min read CyDot Net

Back to Knowledge Center
  • Artificial intelligence
  • Observability
  • Operations

Record the request and the outcome

For each model call, keep the application version, the time, the latency, and whether the downstream action succeeded. Store prompts and outputs only when the data classification and retention rules allow it.

Review a sample, not a dashboard alone

A metric can show that calls are fast while the answers are wrong. Schedule a review of a small sample and score it for relevance and harm. Include the languages your users actually write in.

Make rollback ordinary

Ship the feature behind a flag so it can be turned off without a new deployment. Decide in advance which signal triggers that decision, and who is allowed to take it.

Practices to apply

  • Log version, latency, and outcome for each model call.
  • Review a sample of answers in the languages users write.
  • Keep a feature flag so a bad release can be turned off.