Why use role-prompting

  • Targeted responses: the model can produce information that’s more aligned with the desired perspective or expertise.
  • Audience alignment: ensures the content is suitable for the intended audience.
  • Style consistency: maintains a consistent tone and style throughout the response.
  • Enhanced engagement: make the content more relatable and engaging, especially in creative or educational contexts.

How to implement role-playing

  1. Assign a specific role or persona
  2. Set the task or goal
  3. Include style and tone instructions

Example