Skip to content
BENIBIX Learn

Role Prompting

AI🛠️ Working with AIPrompt Writing Techniques

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

Role prompting tells a model to act as a certain kind of person, such as a teacher, an editor or a lawyer. The role sets the tone, the words it uses and what it pays attention to. It works best when the role comes with clear details about the reader and the task. On its own, a role does not give the model new knowledge. It mostly changes style and focus.

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.
The role sets the tone. The lines after it say who the reader is and what to do.
The same question with two roles gives two very different answers. The facts stay the same.

Common mistake

Thinking that calling the model a world-class expert makes the facts better. It changes the style far more than the facts.

Key takeaways

  1. 1
    Sets tone and focus. How it talks.
  2. 2
    Add the reader. Who it is for.
  3. 3
    Not new knowledge. Facts stay the same.

Learn it properly