What is a prompt template?
IntermediateConceptPrompting & structured outputs
Answer
A prompt template is a prompt with placeholders filled at runtime, such as {service}, {error} and {runbook}. Templates keep prompts consistent across requests and let you test the template once. Escape or delimit inserted user content so it cannot break the structure.