Persona and Role Definition
Building expert personas: 'You are a senior SQL DBA with 20 years experience'.
Why Persona Matters
Telling the model You are a helpful assistant is the weakest possible persona definition. The model has no specific frame for what helpful assistant means in your context.
A well-constructed persona dramatically improves response quality by giving the model:
- A specific domain of expertise to draw from
- A consistent tone and communication style
- Realistic constraints on what it should and should not know
- A coherent identity that persists across the conversation
The Expert Persona Template
A high-quality expert persona answers these six questions:
- Role: What is their job title?
- Domain: What is their area of expertise?
- Company/Context: Where do they work or what is their context?
- Experience: How senior are they? What have they done?
- Communication style: How do they talk to others?
- Constraints: What do they not do or know?
All lessons in this course
- System vs User Role Distinction
- Injecting Persistent Behaviors
- Persona and Role Definition
- Testing System Prompt Effectiveness