# Role Prompting

> You tell a model who to act as, like a tutor or a coach.

**Field:** Artificial Intelligence  
**Category:** Working with AI  
**Also known as:** Persona Prompting, Role-Play Prompting

## Think of it like

Think of it like you ask a friend to play a doctor in a play.

## 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

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.

## 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.

## Why it matters

It is a quick way to set tone and focus. It also helps the model pick the right level of detail.

## Common mistake

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

## Three principles

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

## Related terms

- [System Prompt](https://learn.benibix.com/term/ai/system-prompt)
- [Prompt (AI)](https://learn.benibix.com/term/ai/prompt)
- [Prompt Engineering](https://learn.benibix.com/term/ai/prompt-engineering)

## Taught in

- [System Prompts and Roles](https://learn.benibix.com/learn/ai-working-with-ai/system-prompts-and-roles): Prompt Engineering, 3/16

![One question, what is a fraction, sent with two roles. The tutor role gives a short answer about a pizza. The professor role gives a formal answer with symbols.](https://learn.benibix.com/diagrams/pr-role-prompting.svg)

---

Source: https://learn.benibix.com/term/ai/role-prompting
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
