Role and Context Prompting
Assigning a role in your prompt means telling the AI to respond as a specific expert, character, or profession. Adding context provides background information or a scenario for the AI to consider. Together, these techniques help the AI generate more relevant and accurate responses. Compare these two prompts:
- Without role/context:
Explain photosynthesis; - With role/context:
You are a high school biology teacher. Explain photosynthesis to a group of 15-year-old students using simple language.
The second prompt guides the AI to use an appropriate tone and level of detail, resulting in an explanation that is better tailored to the intended audience.
Avoid vague roles like "expert" or "professional". Be specific, such as "as a pediatrician" or "as a travel guide".
Assigning a clear role and context helps the AI avoid generic or overly technical answers.
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Can you give more examples of roles and contexts I could use in prompts?
How do I decide which role or context is best for my prompt?
What are some common mistakes to avoid when assigning roles or context?
Awesome!
Completion rate improved to 11.11
Role and Context Prompting
Swipe to show menu
Assigning a role in your prompt means telling the AI to respond as a specific expert, character, or profession. Adding context provides background information or a scenario for the AI to consider. Together, these techniques help the AI generate more relevant and accurate responses. Compare these two prompts:
- Without role/context:
Explain photosynthesis; - With role/context:
You are a high school biology teacher. Explain photosynthesis to a group of 15-year-old students using simple language.
The second prompt guides the AI to use an appropriate tone and level of detail, resulting in an explanation that is better tailored to the intended audience.
Avoid vague roles like "expert" or "professional". Be specific, such as "as a pediatrician" or "as a travel guide".
Assigning a clear role and context helps the AI avoid generic or overly technical answers.
Thanks for your feedback!