🛠️Role Prompting
Also known as Persona Prompting, Role-Play Prompting
You tell a model who to act as, like a tutor or a coach.
Think of it like
Think of it like you ask a friend to play a doctor in a play.
Example
Lucy asks the model to be a patient maths tutor for a 10-year-old and explain fractions with a pizza. The answer uses short words and goes one step at a time.
Why it matters
It is a quick way to set tone and focus. It also helps the model pick the right level of detail.
Definition
Example code
text
You are a patient maths tutor for a 10-year-old.
Explain what a fraction is, using a pizza.
Use short sentences and ask one question at the end.Common mistake
Key takeaways
- 1Sets tone and focus. How it talks.
- 2Add the reader. Who it is for.
- 3Not new knowledge. Facts stay the same.