Prompting intermediate

Prompt Template

A reusable prompt with variable slots, so a working prompt becomes a repeatable asset.

A template freezes the parts that work and parameterises the parts that change. It is the point where prompting stops being a personal trick and becomes something a team can version, test, and improve. Templates are also what make prompt evaluation possible, since you can hold the structure constant.

In practice: ‘Summarise {document} for {audience} in {n} bullet points.’

Where this comes up