Prompt version
A prompt version is an identifiable revision or variant of a prompt that differs in wording, instructions, or model-specific conventions.
Build AI-Enhanced Web Apps
Prompt versioning is the practice of maintaining identifiable revisions of prompts so their changes and behavior can be tracked.
- How it is used
- Uses prompt versions to track changes and assess their effects on AI outputs and user experiences.
- How deep it goes
- Explains database storage and revision naming, and provides testing examples without a complete database implementation.
- Examples
- Compares versioned translation prompts and illustrates prompt management with a PlantUML diagram-generation application.
- What you can do after
- Evaluate and understand how identifiable revisions support prompt comparison and rollback.
Read how Build AI-Enhanced Web Apps explains prompt version →
AI Agents in Action
A prompt variant is an alternative version of a prompt that can be tested against other versions for comparative results.
- How it is used
- Compares prompt or profile alternatives to assess how changes affect task performance.
- How deep it goes
- Explains variation options and batch evaluation, including rubric scoring and run comparison.
- Examples
- Uses a recommender flow to compare prompt placements, and lists model, temperature, and token-limit alternatives.
- What you can do after
- Evaluate and compare prompt variants in Prompt flow using batch runs and rubric-based results.
Also covered in
- Self-Improving AgentsIn early access (MEAP)
- Prompt Engineering in Practice
- AI Model EvaluationIn early access (MEAP)
What to know first
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- promptA prompt is text or other input supplied to an AI model to provide instructions, context, or other information that guides its response or generated output.
Related concepts
- prompt flowused by · Prompt Flow is an open-source Microsoft toolset for designing, evaluating, testing, and deploying workflows that combine prompts, language models, and code.
- searchproduced by · Search is an optimization process that generates candidate artifact variants and selects among them according to a signal.
- SPOproduced by · SPO is a pairwise search method that generates and compares candidate variants.
- semantic versioningimplemented by · Semantic Versioning is a version-numbering convention using MAJOR.MINOR.PATCH components to communicate compatibility impact: major for incompatible changes, minor for compatible additions, and patch for compatible fixes.
- evaluationuses · Evaluation is the systematic assessment of a system, model, process, or outcome against relevant criteria or objectives using evidence.
- batch sizemeasured by · Batch size is the number of items grouped for processing together in a single batch or computational operation.
Questions about prompt version
What is prompt version?
A prompt version is an identifiable revision or variant of a prompt that differs in wording, instructions, or model-specific conventions.
Which Manning books explain prompt version?
Build AI-Enhanced Web Apps and AI Agents in Action.
What should I know before learning prompt version?
Manning books that teach prompt version usually introduce language model and prompt first.
What is prompt version also called?
Prompt version is also called prompt variant.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

