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
- Tracks prompt changes so teams can assess their effects on AI outputs and user experience in web applications.
- How deep it goes
- Explains storage choices, revision examples, and output tests, but stops short of a complete database-backed implementation.
- Examples
- Contrasts workout-blog wording and provider-specific translation files, then checks generated output with Vitest mocks, similarity, and constraints.
- What you can do after
- Operate/configure it by keeping identifiable revisions for comparison and rollback, with database storage when updates must avoid redeployment.
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
- Uses controlled prompt or profile changes to compare recommendation and other agent-task results.
- How deep it goes
- Explains version creation, batch execution, rubric scoring, and run comparison, but defers detailed prompt-engineering tactics.
- Examples
- Uses recommendation templates, system-versus-user prompt placement, connection parameters, batch runs, and evaluation exercises.
- What you can do after
- Evaluate prompt versions with prompt flow and compare their rubric scores across runs.
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.
- 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, result, or approach against relevant criteria, evidence, or objectives.
- batch sizemeasured by · Batch size is the number of items grouped together for processing or computation as a single batch.
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.

