What an AI Release Contains
You'll learn to
- -List the parts of an AI release beyond the code, such as prompt, model, retrieval settings and index
- -Explain why a release can change behavior with no change to the code
- -Build a release manifest with content hashes and use it to decide which tests to rerun
- -Spot a moving reference like 'latest' that makes a release impossible to reproduce
Tip: the highlighter is on - just select any text below to mark it. Use the highlighter button up top to change color or turn it off. Highlights are saved on this device only. Log in to save them to your account instead.
In ordinary software a release is a version of the code. In an AI application the code is often the smallest part of what changes behavior. A prompt edit can change every answer. A provider can update the model behind an alias. A re-indexed knowledge base changes what is retrieved. Teams call the discipline of managing all of that LLMOps: treating prompts, models, data and configuration with the same care that code gets.
An Analogy: A Recipe, Its Ingredients and the Oven
A dish depends on the recipe, the ingredients, the cook and the oven. Change any one of them and the dish changes, even if the recipe card is word for word the same. A good restaurant keeps a record of which supplier, which batch and which oven setting made last Tuesday's dish, so that when a customer complains it can find out what changed. An AI release record does the same job.
The Parts of a Release
- -Prompts and templates, including system prompts and few-shot examples.
- -The model and its parameters: which model, which version, temperature, maximum tokens.
- -Retrieval settings: chunk size, top-k, reranker, filters.
- -The data: the index or knowledge base version, and any tuned weights or adapters.
- -Tool definitions, guardrail rules and routing rules.
- -The code, and the evaluation results the release passed.
A release manifest writes these down as one record. Hashing each part gives a short fingerprint that changes whenever the content changes, so you can see exactly what differs between two releases. The code below fingerprints two releases, finds the parts that changed, and uses a small table to decide which test suites must rerun.
The two manifests share the same model, index and code fingerprints. Only the prompt and the retrieval settings differ, so the table says to rerun the cost, latency, quality and safety suites and not, for example, the unit tests. Skipping the tests that cannot be affected keeps the loop fast. A change to the model would have triggered all four evaluation suites.
The last lines catch a different problem. In the third release the model is named model-a-latest. A moving reference such as latest means the provider can change what runs without any change on your side, so the same manifest no longer describes the same behavior. Pin an exact model version, and treat an update as a release of its own.
The Pipeline Around the Manifest
- -A change is proposed, reviewed and versioned, whether it is code or a prompt.
- -Fast tests run first, then the evaluation gate decides whether the change may continue, as in the Evals in CI chapter.
- -The release goes to a staging copy, then to a small share of real traffic, then to everyone, with a way back at each step. The next two chapters cover that way back.
- -The manifest hash is recorded on every trace, so a bad answer can be tied to the exact release that produced it.
When someone says 'it got worse last week', the first question is 'what changed?'. With a manifest you can answer in a minute. Without one you guess.
Interview Signal is part of Pro
See a real weak answer next to a real strong one for this exact topic.
Quiz is part of Pro
Test what you just read with a short quiz, and bank the XP.
Discussion0
Join the Discussion
Sign in to leave comments, reply to others, or like insights.
No comments yet. Be the first to start the thread!