PromptForge
AI Glossary

Core concepts

System prompt

Also known as: system message, system instructions

Definition

A system prompt is a standing instruction that shapes a model's behaviour across an entire conversation, separate from individual user messages. It typically defines persona, rules, tone and output format.

Most chat APIs separate messages by role: a system message, then alternating user and assistant messages. The system prompt sits at the top and persists, which makes it the right place for anything that should hold for every turn.

Models weight system instructions more heavily than in-conversation requests, and are more resistant to overriding them. That is deliberate — it lets application developers set guardrails a user cannot casually talk their way around.

Good system prompts are specific about behaviour in edge cases. "If the documents don't contain the answer, say so rather than guessing" is worth more than several paragraphs describing personality.

Example

System: "You are a support assistant for Acme. Answer only from the provided documentation. Cite the document name for every claim. If the docs do not cover it, say so and suggest contacting support."

Related terms

Put this into practice

Understanding the term is step one. Our free courses and tools let you actually use it.