A prompt template is a reusable prompt that contains placeholders (variables) filled in at request time. Templates let one prompt serve many inputs while staying reviewable and versioned. In Infere, a prompt's {{variables}} are filled with template_variables on each request, and a key's default values fill any you leave out.

Why it matters

Templates separate the reusable prompt from the per-request data, so one reviewed prompt can serve thousands of inputs without copy-paste drift.

In Infere

In a prompt, {{variables}} are filled from template_variables on each request; the key's default values fill any you leave out, and a variable with no value reaches the model as written. The prompt itself stays versioned while the values stay dynamic.

Example

"Hello {{name}}, your order {{order_id}} ships on {{date}}." bound to name, order_id, and date at runtime.

← Back to the full glossary

Put the platform behind the terms

Route, evaluate, and monitor every AI request from one OpenAI-compatible platform.

Start Free → Explore the Features