Prompt Template
Domain: Prompt Engineering
π― Motivation
When you use the same prompt structure repeatedly with different inputs, a prompt template saves time and ensures consistency.
π Concrete Example
Template: βSummarize the following text in {n} bullet points: {text}β. Fill in n=3 and text=article. Reusable for any text and any number of points.
π Analogy
A form letter template - βDear {name}, your appointment is on {date} at {time}.β You fill in the blanks. Same structure, different content each time. Efficient and consistent.