Role Prompting
## Role Prompting
- Role prompting is a technique where you ask the AI to act like a person before answering, its like assigning a **role** to AI, so that it gives more context-specific answers.
<img width="1097" height="412" alt="image" src="https://github.com/user-attachments/assets/807e315b-b591-4d67-8ca8-4053b5630b58" />
### When it works?
- When assigned roles have character and approach differently from others.
<img width="1024" height="440" alt="image" src="https://github.com/user-attachments/assets/372accc8-8812-49d6-b82d-07f1cfd776fa" />
> In conclusion, if a role has a tone or a style or a particular way of doing that task, then use role prompting.when to use it
Community prompt sourced from the open-source GitHub repo Skakarla2023/prompt-engineering-fundamentals (no explicit license). A "Role Prompting" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
Skakarla2023/prompt-engineering-fundamentals · no explicit license