Skip to content

Prompt Template

A prompt template with variables that are filled with specific data before execution. This allows for the reuse of the same request structure.

Example

Translate to English, preserving markup:
{{ text }}

The {{ text }} placeholder is replaced with actual text.

Why

  • A unified format for multiple calls;
  • Fewer errors than manually constructing the prompt each time;
  • Templates are easy to version control.

See also

← All terms