Inference and generation

System prompt

working definition

Definition

High-priority runtime instructions supplied by an application to establish the model's role, constraints, and operating context.

Distinguish it from nearby terms

A system prompt influences behavior but is not a security boundary and may not remain secret.

Check your understanding

If violation would cause harm, enforce the rule outside the prompt as well.