Roles: System, User & Assistant
Chat models are trained on conversations made of messages with roles. Each role carries a different kind of authority and purpose, and using them correctly is one of the simplest ways to get consistent behavior.
In this lesson
- The roles
- How roles become tokens
- What goes where
- Few-shot with assistant turns
- Prefilling the assistant turn
- Multi-turn hygiene
This lesson is part of AI Engineering. Unlock the full course to read it, take the quiz and track your progress.