Skip to main content

Role Prompting

Role prompting is a technique in which you assign the AI model a specific role or persona, such as act as an experienced tax advisor. This shapes the tone, perspective, and expertise of the answer.

In role prompting, the model is instructed to answer from the perspective of a particular person or function. This helps hit the right jargon, the appropriate level of detail, and a consistent tone. The role is often anchored in the system prompt so it applies across the whole conversation. Role prompting combines well with few-shot examples and clear task instructions.

Related terms

From term to practice

Save, version, and share your best prompts with Prompt2Love.

Get started free