How to Unlock the Art of AI Prompts
Tips from Duke experts and staff on crafting clear, effective chatbot instructions to work smarter


She asked for images of ethnically and racially diverse nurses in various roles 鈥 but she knew to be specific. For one drawing, she asked for an African American female nurse caring for a Hispanic pediatric patient in a wheelchair. Copilot provided precisely what she needed.
鈥淚'm starting to look for ways that it can help me to work a little more efficiently and not spend so much time on something,鈥 she said. 鈥淚鈥檓 learning to be specific and just include all the detail you want.鈥
That鈥檚 exactly the recommendation of AI experts who advise on the best way to prompt chatbots for the most accurate and desired responses.
How to prompt AI
As recently as a year ago, Steve Toback had a seven-point process he recommended when crafting prompts 鈥 instructions or questions you use to tell AI chatbots such as Copilot what you want. Toback, who is Duke鈥檚 Office of Information Technology鈥檚 Media Architect and Senior Producer for Academic Media Production, regularly leads webinars on AI, including a September 2024 session.
鈥淲riting prompts is really kind of an art and a science in one, and it requires trial and error,鈥 Toback said.
But a mnemonic suggested by more recently is what Toback points people toward now. It鈥檚 all about 鈥淧REP鈥 when prompting: P stands for Persona, R for Role, E for Explicit, and the final P for Parameters.
鈥淛ust like in life, the better question you ask the better answer you get back,鈥 Toback said. 鈥淎nd there's very specific ways that these chatbots want to be asked questions.鈥
Here are some of the best suggestions for prompting Copilot or ChatGPT.

Persona: Tell AI who you want it to be
You first need to tell AI what kind of expert you need. Using the phrasing 鈥淎ct as if 鈥︹ is a good way to start. 鈥淎ct as if you are an expert on microbiology,鈥 or 鈥淎ct as if you are a 16th century bard who has to write a poem for a king or your head will get chopped off if it is not humorous and funny.鈥
鈥淭he AI has infinite knowledge of infinity,鈥 Toback said. 鈥淵ou鈥檙e telling it to focus that massive brain on how you want it to act. You鈥檙e giving it very specific parameters on how you want it to think, and it helps filter out all the noise.鈥
Role: Tell AI about the audience
Make sure you include the audience for whatever question or request you鈥檙e asking AI. Consider starting a sentence with 鈥淓xplain as if I were 鈥︹ 鈥淓xplain if I were a middle schooler who has no knowledge of AI whatsoever.鈥 Or 鈥淓xplain as if I were an audience of medical professionals at a conference.鈥
Toback said AI generally encourages use of polite language more often when it鈥檚 told that its audience is underage.
Explicit: Be explicit and add emotion

Just as Cantey was specific in what, precisely, she wanted in the illustrations she asked Copilot to create, it鈥檚 vital to ask for exactly what you want in detailed terms.
鈥淚 would like to do x, y and z, and this is very important,鈥 is a framework to follow.
This is the stage where AI might come back with inaccurate information or incorrect details if nuanced requests aren鈥檛 made.
鈥淚'm learning that whatever it spits out you鈥檝e got to fact check it and make sure it鈥檚 real,鈥 Cantey said.
Parameters: Give it bounds to work in
Include boundaries for the answer or response you want. For instance, ask for a certain word count or dimensions on an illustration.
And one final suggestion from Toback: Just experiment with AI to get more comfortable with all the ways it can help you.
鈥淛ust start typing things in, and then ask it: how can you help me?鈥 Toback said.
That鈥檚 what Cantey did when she has needed help on creating simulations recently, and she鈥檚 been pleasantly surprised.
鈥淲e know it's not perfect, but I鈥檝e been really blown away, because it can give you a really good start and foundation for some simple tasks,鈥 she said.
To learn more about prompts, Microsoft provides additional guidance .
Send story ideas, shout-outs and photographs through or write working@duke.edu.
Follow Working老牛影视 on , and and subscribe on .