System Prompt Vocabulary

System prompt vs. user message vs. assistant message, instruction following, persona instructions, and prompt injection defense.

Key vocabulary

  • System prompt — the initial instruction block set by the developer that defines the assistant's role, constraints, and behaviour before the user speaks.
  • User message — input sent by the human turn in the conversation; processed after the system prompt.
  • Assistant message — the model's response turn; can also be pre-filled to steer output format.
  • Persona instruction — a system prompt directive that assigns a specific role or character to the model (e.g., "You are a senior security engineer").
  • Prompt injection — an attack where malicious user input attempts to override or hijack the system prompt instructions.
0 / 5 completed
1 / 5
A developer says "we locked the assistant's behaviour in the system prompt." What does this mean?