Prompt template
A prompt template is a reusable prompt with placeholders for the parts that change, so the same tested structure can be applied to many inputs.
Templates are how prompt work becomes maintainable: the structure is written and evaluated once, then reused. Version them, because a change that improves one input can quietly degrade another.
Related terms
- Template variable
- A template variable is a labelled placeholder in a reusable prompt, such as `{{audience}}`, that is replaced with a real value before the prompt is sent.
- Prompt evaluation
- Prompt evaluation is testing a prompt against a fixed set of inputs and grading criteria to find out whether a change actually improved it.
More on prompt structure
See the full glossary, read the guides, or put it into practice in the prompt builder.