System prompt

The instruction layer set by the application rather than the end user, establishing role, constraints, and tone before any conversation begins. It occupies part of the context window for the entire conversation, which is why exam scenarios about overflow often hinge on whether it survives a trim.

Why exams ask this

Tested as a trust and priority question: what happens when a user message conflicts with the system prompt. The exam wants the system prompt treated as the higher-trust instruction, and flags any design that lets ordinary user text silently override it.

Relevant to

Related concepts

Resources

No resources linked to this concept yet.