Versioning Models, Prompts, Data, and Tools › What varies in a release, and why each variation is dangerous

Michael BrenndoerferDecember 2, 20262 min read
Language AI HandbookAll chapters
Part 64 of 67Compound AI System Design
Chapter 489Versioning Models, Prompts, Data, and Tools › What varies in a release, and why each variation is dangerous
Reading section 3 of 14 · What varies in a release, and why each variation is dangerous · 2 minSection 3 of 14 · 2 min

Section 3 of 14 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A release can change behavior through any of the following inputs.

  • Model and tokenizer. Record the model revision, the tokenizer or its revision when controlled, and the serving settings relevant to an evaluation.
  • Prompt. Version the template and the rendering code or configuration. Log the effective template version when a request can select among several.
  • Data and retrieval. Record the source snapshot, preprocessing, embedding identity, and index build. An index may need rebuilding when its data or embedding pipeline changes.
  • Tool interface and implementation. Track the schema shown to the model and the revision of the code or service that implements the calls. An unchanged schema can still accompany different semantics.
  • Routing and decoding. Record router policy, generation defaults, and request-level overrides when these affect what ran.

These references work together. If a newly released model expects arguments in a different form, a tool schema test can reveal whether the old payload is still accepted. Then run task cases that require correct tool selection and arguments. A tool that accepts a string called order_id could still look up the wrong namespace. That is a semantic check. Pinning the tool interface, implementation, and its relevant data dependencies lets you reproduce the specific combination under investigation.

Data can drift without any edits to the application repository. In a help center, for example, an index built on January 1 and one built on February 1 can share the same endpoint name. Archiving a release record that names only the endpoint cannot identify the document snapshot used by the January release. A reproducible record can identify corpus snapshot, chunker and options, embedder revision, index build, and query-time filters or ranking configuration. The exact subset you need depends on which stages must be reconstructed.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy