Skip to content
Back to full roadmap
topicfoundation

System / User / Assistant Roles

Each of the three roles has a different 'weight' that shapes behaviour.

1 hours2 resources

System prompt: The model's persona, goal, rules. Highest weight. User prompt: The user's question/request each turn. Assistant turn: The model's prior replies (used for few-shot or multi-turn).

Tip: Place critical rules (e.g. "never X") in system AND briefly repeat at the end of the user prompt. System alone may not be enough — the "lost in the middle" effect also applies.

Resources(2)