Prompt Engineering via Prompt Patterns — Persona Pattern

Ali Aslam
4 min readJan 30, 2024

The article is part of series: Prompt Engineering via Prompt Patterns

Imagine you are trying to accomplish a new kind of task that you haven’t done before. Who would you go for guidance or even have a conversation about that. You would most likely seek a person well versed in that domain.

You can switch to video version of this article

Say if you are trying to come up with a recipe for a new dish, you would most likely seek a chef, or if you need advice on a piece of code or which library to use to accomplish a software task, you would most likely not talk to a chef but seek someone who is skilled in computer science. Even if your doctor friend is available to discuss recipe or code with you, the conversation would most likely not be at a level which you need. Seeking advice on flu from your grandmother vs a doctor results in a very different kind of conversation. The story you just wrote can be critiqued by anyone, even your English teacher, but not in a way an established author with hundreds of publications can.

There is a common underlying theme in all these examples. Expertise matter. Persona matters. Conversation with an expert is nothing like conversation with a regular…

--

--

Ali Aslam

Avid Learner | Principal Software Engineer | Full Stack Developer