liveBook · Manning

Prompt version

As explained in AI Agents in Action

A prompt variant is an alternative version of a prompt that can be tested against other versions for comparative results.

A prompt version is an alternative prompt or agent-profile configuration that can be run against other versions to compare results. Versions may change instructions, input placement, or connection parameters such as temperature and maximum tokens. section 9.4 section 9.8

Recommendation profile

A recommendation flow can compare two versions: one places recommendation inputs in the user prompt, while another injects them into the system prompt. Run both versions, score their recommendations with a rubric, and compare the aggregated metrics. section 9.7.3

A practical prompt-version workflow is:

  • Create or edit a prompt/profile version in prompt flow. section 9.7.4
  • Run the flow in batch mode so multiple versions can be evaluated. section 9.4 section 9.8
  • Apply a rubric, aggregate scores, and use Visualize Runs to compare results. section 9.7.3
Figure 9.17 Side-by-side comparison of variant profile templates for the recommender
figure

Compare variant profile templates side by side before testing them. section 9.4

How AI Agents in Action covers it

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 it assumes
Assumes basic prompt-flow use while teaching version creation, batch execution, rubric evaluation, and comparison.
What you can do after
Evaluate prompt versions with prompt flow and compare their rubric scores across runs.
How it connects
Connects prompt versions with prompt engineering, agent profiles, prompt flow, rubrics, grounding, and batch evaluation.

Also explained in

Compare how 2 books explain prompt version →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of AI Agents in Action. The section links point to the parts of the book it draws on.