LECTURE RESOURCES: Read this lecture in Team-GPT, it is interactive and contains notes and comments from the author.
So far, weโve mentioned many times that prompting is all about Goal and Context.
However, Iโm sure youโve heard about: Personas, too.
Table of contents
- Understanding the Importance of Personas in Prompting
- Applying Persona Prompting to Real-Life Situations
- The Role of Context in Persona Prompting
- Caution While Selecting Personas
- The Constant Benefits of Using Personas
- Using Prompts to Create Personas
- How to Create Your Own Persona in Team-GPT
- Learning How to Use Personas through Exercises
- 1. Learn a new skill + PERSONA
- 2. Deal with stress + PERSONA
- 3. Save for retirement + PERSONA
- 4. Help with Excel formula + PERSONA
- 5. Other religions + PERSONA
- 6. Set up a blog + PERSONA
- 7. Negotiate salary + PERSONA
- 8. Train my dog + PERSONA
- 9. Write a social media post + PERSONA
- 10. Compare two cities + PERSONA
Understanding the Importance of Personas in Prompting
A Persona, also called โan AI characterโ or โroleโ is a prompting technique where you tell the chat: โYou are a lawyerโ or โYou are a doctorโ or โYou are something elseโ. Only then you ask your question.
Using a persona while prompting is one of the best things you can do at the start of a chat.
Applying Persona Prompting to Real-Life Situations
Letโs go back to our โWhy is Barcelona so goodโ example and see it in action.
Iโll start the conversation with: โYou are an architect. Why is Barcelona so good?โ
The AI provided a great answer. This was kind of the answer I was looking for.
Why did this work?
Wellโฆ We provided an AMAZING context. This is why personas are so great.
The Role of Context in Persona Prompting
Shall we do another one?
In Team-GPT, weโve got Personas, ready to be used, so Iโll fetch one: the Travel expert.
This persona description is much longer. But length doesnโt really matter. Context does!
For the duration of this conversation, please assume the role of a well-informed and enthusiastic travel expert. Your responses should focus on providing travel recommendations, itineraries, and tips for exploring new destinations and immersing oneself in local cultures. As I ask questions, kindly offer tailored suggestions based on my preferences, interests, and travel goals. Create an engaging and informative conversation that inspires a spirit of adventure and discovery.
If you understand, please reply only with: ‘Yes. Let’s go!’
Is the extra text bringing extra context? Not really sure but the general rule was: โThe more, the better”
๐ก This lesson is a part of the ChatGPT for Work course
The course is interactive, if you take it inside the Team-GPT platform.
ChatGPT for Work: The Interactive Course contains:
โข 100+ tried and tested prompts
โข 100+ exercises
โข 100+ extra notes and comments
โข 1000s of use cases
โข PDFs files for later reference
It is also completely FREE.
Start today and become a ChatGPT expert in less than 7 days!
Caution While Selecting Personas
Let me do another one. Prompt Expert. In fact, being a prompt expert does NOT provide CONTEXT.
Be careful what personas you choose to use.
During this conversation, please assume the role of a seasoned and engaging prompt expert. Your responses should focus on offering insights and guidance on writing effective, thought-provoking, and compelling prompts for various applications, including AI training, creative writing exercises, and conversation starters. As I ask questions, kindly provide practical tips and techniques for creating prompts that inspire creativity and encourage thoughtful responses. Create an engaging and enlightening conversation that helps me enhance my prompt crafting skills.
If you understand, please reply only with: ‘Yes. Let’s go!’
The Constant Benefits of Using Personas
So, when are personas useful? Always.
From my experience, Personas greatly improve any conversation.
- First, Personas provide a lot of context on their own. They are awesome at getting the AI into
the headspace of whatever you are trying to ask it. - Second, Personas are also great to create โyour own personaโ or โyour own characterโ. For
instance, for the purposes of this course, Iโve created my own โAI course instructorโ persona.
Every time I need to ask something related to the course.
I highly recommend you create one for yourself and thatโs one of your exercises for homework!
From a logical point of view, Personas are nothing but โa type of contextโ.
However, they are so useful, that in this course we will be talking about 3 main steps in prompting:
defining the Goal, Context, and Persona.
Using Prompts to Create Personas
You can use a prompt to create your persona.
Generally it is NOT a good idea to have the persona creation in the same chat as the chat itself.
It can MIX UP the personas from above with the persona you want to define.
This will cause ChatGPT to behave worse!
However, I wanted to show you the true flow (see the full conversation here)
- Build your own PERSONA for this use case
- Assign the PERSONA
- Ask the question.
Normally you would start the flow from assigning the persona.
How to Create Your Own Persona in Team-GPT
Take some time to create your own persona.
Here’s how.
- Go to your Team-GPT account.
- Click on “System Library.”
- Choose “1. Persona.”
- Select “Build your own persona.”
Alternatively, check this chat over here.
Learning How to Use Personas through Exercises
Next, we’ll learn about personas by actually using them.
I have 10 simple exercises for you. Each one helps you understand and use personas.
These exercises will help you create your own persona and use it to improve your talks.
Now, let’s get started!
1. Learn a new skill + PERSONA
I’m using the exact same prompt as I did in How to Write a Prompt: GOAL and CONTEXT – Learn a New Skill exercise.
By using the same prompt you did in the last exercise you’ll truly understand the power of personas!
This answer is 10x better than the one we received WITHOUT a persona.
Feel free to explore the whole sample chat Iโve provided for โLearn a new skill + PERSONAโ right here.
2. Deal with stress + PERSONA
3. Save for retirement + PERSONA
4. Help with Excel formula + PERSONA
5. Other religions + PERSONA
6. Set up a blog + PERSONA
Here I’m also adding another technique ‘think about this step by step’.
You can explore the sample chat Iโve provided for โSet-up a blogโ right here.
This prompt is extremely important and should be on your shortlist always.
This is called ‘Zero-shot chain of thought’. If you haven’t read it, please do.
7. Negotiate salary + PERSONA
8. Train my dog + PERSONA
This is just a reminder that the PERSONA doesn’t need to be very long.
All that matters is that you provide one.
9. Write a social media post + PERSONA
10. Compare two cities + PERSONA
Ah! You’ve seen this one already.
Now that you have tried many PERSONAs you can ‘feel’ the subtle differences.
In this case, I said:
- Travel expert
If I had said:
- Architect
- Historian
I would get very different replies.
This conversation is bound to be about travelling and exploring.
Always define a persona that can be helpful for your particular use case.
And remember: NOT DEFINING A PERSONA is very similar to providing the WRONG PERSONA.
Thank you and good luck!