One technique to get better, more reliable results is called "role prompting." Role prompting is the practice of instructing an AI to adopt a specific persona or role when generating responses. This can range from professional roles like a teacher or doctor to more creative ones like a poet or a historical figure. Below we’ll explain exactly how to create your own role prompt, and we’ll provide a download link to over 150 prompts you can use.
What is Role Prompting?
Role prompting means explicitly telling the AI what role you want it to play in the conversation. This helps scope and focus the AI's responses. Some examples of roles you can assign to the AI include:
A subject matter expert (e.g. a historian, scientist, lawyer, doctor)
A writing assistant (e.g. to help brainstorm ideas or edit your work)
A specific character or persona (e.g. a pirate, talk show host, or famous person)
An objective, neutral analyst to summarize information
A creative story teller or worldbuilder
Example role prompt
I want you to act as a life coach. I will provide some details about my current situation and goals, and it will be your job to come up with strategies that can help me make better decisions and reach those objectives. This could involve offering advice on various topics, such as creating plans for achieving success or dealing with difficult emotions. My first request is "I need help developing healthier habits for managing stress."
By specifying the AI's role up front, it knows what perspective and tone to take in its responses. The AI can then tailor its language and draw upon the most relevant parts of its knowledge base and give advice as if it was the expert you requested in your prompt.