Versioning AI Releases
In this article
- List the parts of an AI application that can change its behaviour, beyond the code itself.
- Write a release manifest that ties every production trace to the exact versions that produced it.
- Read two production traces and decide whether their behaviour can be reproduced, naming the unversioned part that blocks it.
- Spot version skew when a conversation is still open while a newer release goes live.
- Terms defined here: behavioral artifact, release manifest, version skew.
Overview
Two customers send the same message to a support assistant on the same afternoon: "Switch me to the cheaper plan." The assistant offers them different plans. Both records of those chats say they ran on the same release. Was one of them a bug, and could you replay either chat to find out?
In ordinary software the commit answers that question. In an AI application it does not, because much of what decides behaviour lives outside the code: the model, the instructions, the descriptions of the tools. By the end you can name which parts must carry a version, tie them together with one release id, and read two traces, the saved records of single chats, to say whether their behaviour can be reproduced. One more case waits at the end: a conversation that outlives its release.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- What can change behaviour
- One id for all of them
- Two traces, one stamp
- Review behaviour like code
- A conversation that spans two releases
- Putting it to work
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions