liveBook · Manning

Parameter

As explained in Prompt Engineering in Practice

A model parameter is a setting that controls a model's behavior when generating an output.

A prompt-template parameter is a named placeholder replaced with a concrete value before a prompt is sent to a language model. It keeps changing inputs separate from stable instructions, so one template can serve many runs. Here, “parameter” refers to a prompt input, not a model-internal setting. section 2.5 section 2.0

Use parameters as part of a repeatable workflow:

  • Keep the task instructions and required output format stable. Add named placeholders only for values that change across runs; static inputs can remain ordinary context. section 2.9 section 2.8
  • Choose a placeholder style consistently: Python f-strings use {placeholder}, while Jinja2 uses {{placeholder}}. Fill every placeholder manually or programmatically before sending the prompt. section 2.5
  • Delimit dense or external input where it could be confused with instructions. Test the resolved template with varied input combinations before relying on its results. section 5.3.1 section 5.0

Release-note template

A release-note prompt fixes the instruction to produce sections for features, bug fixes, and breaking changes. It varies {version}, {product_name}, {features}, {bug_fixes}, and {breaking_changes}. Filling those fields for payment-gateway-sdk v2.8.0 produces a release-specific prompt without rewriting the task. section 2.5.2

For multistep work, one run can supply a later run’s input. A refactor workflow first asks about hidden dependencies and rollback needs, then injects the assessment answers into a planning template. Evaluate whether outputs remain useful and consistent across different inputs; a reusable template is not reliable merely because its placeholders resolve. section 5.3.3 section 5.0

How Prompt Engineering in Practice covers it

How deep it goes
Defines placeholder substitution, compares two syntaxes, and works through a filled release-note prompt; does not describe model-internal parameters.
Examples
Uses release notes with version and change fields, plus refactor planning that injects assessment answers into a second prompt.
What it assumes
Introduces prompt structural elements and placeholder syntax before showing how to combine them in reusable templates.
What you can do after
Build it from scratch: define a reusable prompt template, fill its named inputs, and test it across varied cases.
How it connects
Connects parameters to prompt templates, instructions, context, output format, delimiters, and prompt evaluation.

Also explained in

Compare how 31 books explain parameter →

Related concepts

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