5 Prompts for Making ChatGPT More Accurate (2024)

I'm sorry to tell you this, but sometimes ChatGPT lies to you. Like, right to your face. And it can be pretty convincing.

These Pinocchio moments, when a large language model (LLM) just makes up an answer, are what are called “hallucinations.” But here's the upside—LLMs are getting better at curbing those hallucinations.

Even better, you might be able to control them yourself. There's emerging research showing that the right prompts can actually improve the accuracy of responses from tools like ChatGPT. These advanced prompting strategies aren't just handy for fact-checking (which you should still do, by the way) but can also help with strategy development, brainstorming, and data tagging.

Here are five prompting approaches that research suggests can make ChatGPT’s answers more accurate.

1. Few-shotprompting

The guiding principle here is simple: show, don't tell. Instead of explaining what you want from the tool, give it a few examples to learn from.

I've found this technique is pretty versatile, especially for crafting sophisticated categorizations or extracting specific details from longer texts. For instance, I've used it for categorizing online reviews into positive or negative sentiments, identifying main complaints in a review, or categorizing a transcript into topics.

This prompt style is best when you already have examples to work with, but gets annoying fast if you have to come up with examples from scratch before using it.

How many examples are enough? It turns out more is not necessarily better. Load up too many examples, and the AI struggles to generalize, leading to errors. It's crucial to find the sweet spot for your specific use case. Usually two to three is a good amount.

Tip: To maximize the effectiveness of this style, clearly delineate the different parts of your prompt—using delimiters or tags works wonders. This helps ensure your questions aren't muddled up with your examples.

Example:

Please generate a podcast episode title for my new episode. Description: Discussing the historical influence of jazz music on modern pop genres.

Please follow the same format as the examples:
Description: An interview with a professional athlete about their training routines and mental preparation. Title: "Peak Performance"
Description: A deep dive into the latest advancements in renewable energy technologies. Title: "Renewable"
Description: Discussion on the impact of social media on teenage mental health. Title: "Antisocial Media"

5 Prompts for Making ChatGPT More Accurate (1)

2. Chain-of-thought prompting

When you ask a LLM to do something, it comes up with an answer for you without explicitly going through intermediate steps to get there. That usually works with simple tasks, but when the question is complex, an LLM skipping the middle steps can struggle to get the best answer. (I guess they missed the "show your work" mantra we all learned from high school math class.)

Chain-of-thought fixes this problem. It asks the tool to explicitly go through a series of pre-specified reasoning steps before answering.

Researchers have found that chain-of-thought prompts have the potential to make ChatGPT a math and logic whiz. Plus, since this prompting style asks the LLM to lay out its thought process, you can easily trace where it might have slipped up.

However, to harness this magic, you need to master the setup, which can be a bit of a chore. First, you have to identify the necessary intermediate steps. You can rely on your own knowledge here, or if you're stumped, ask the AI for help. This might get frustrating, especially when the steps aren't clear cut, but often, the AI is surprisingly good at proposing useful starting points.

I've found chain-of-thought really valuable for strategy and planning questions, where I can ask it to work through options using a specific rubric before drawing a conclusion. By tweaking the criteria, you can shift which option appears most favorable, making it a powerful tool for weighing different factors.

Example:
I have three ideas for a podcast episode. Please prioritize them. First, consider the potential engagement and reach, Second, consider the alignment with my current content. Next, make a recommendation for which one to produce. [Third, consider whether engaging multimedia elements could be included.]

Idea 1: Dada Songs: Music, Nonsense, Individuality
Idea 2: Like Clockwork: Time, Schedules, Rhythm
Idea 3: Lies, Noble & Otherwise: Knowledge, Deception, Truth

Here are my current episodes:
1. All Life on Earth: Growth, Survival, Evolution. In the mid-1920s, Josephine Salmons discovered a unique fossilized skull in South Africa, leading to the identification of a new hominid species, Australopithecus africanus, by her professor, Raymond Dart. This find shifted the scientific consensus towards Africa as the "Cradle of Humankind" and sparked debates about human origins. The episode "All Life on Earth" also explores broader questions of intelligence and uniqueness across species, examining traits shared between humans and other life forms, and delving into how technologies like machine learning might blur these distinctions further.

2. Feast & Famine: Cooking, Agriculture, Gastronomy. The podcast episode "Feast and Famine" examines the significant role of food in human culture, noting how cooking transformed human society by enabling the consumption of a wider range of foods and fostering communal meals that strengthened social bonds and traditions. It also explores the impact of agriculture in supporting larger populations and delves into the conceptual realm of machines mimicking eating, like the 18th-century Digesting Duck, posing questions about the uniqueness of social eating in human development.

5 Prompts for Making ChatGPT More Accurate (2)

3. Rephrase and respond prompting

Ever assigned a task to someone who nodded enthusiastically as you explained but delivered something that made you think they weren’t listening? Turns out the same kind of disconnect can happen when you're working with LLMs.

Fortunately, there's a handy technique to bridge this gap: "Rephrase and respond." This prompt strategy helps clarify any ambiguities by having the AI rephrase your original prompt before it begins to answer.

Here’s the gist: When we explain something, we often leave out our implicit assumptions—things so obvious to us that we don’t think to mention them. But what's obvious to us might not be so clear to an AI. Rephrase and Respond can help. This prompt technique asks the LLMs to rephrase the input question before responding to it.

Turns out, this is a pretty simple one to implement. All you need to do is add an additional line to your prompt. The paper suggests four variations you can use:

  • Reword and elaborate on the inquiry, then provide an answer.
  • Reframe the question with additional context and detail, then provide an answer.
  • Modify the original question for clarity and detail, then offer an answer
  • Restate and elaborate on the inquiry before proceeding with a response.

Choose whichever you like best; their performance is about equal.

Once the LLM rephrases your prompt, it’ll show you whether something was unclear so you can correct it.

In my tests, this method worked best with very short prompts, but sometimes ignored the instruction when I got too wordy. To get it to work even better, I put my original prompt in quotes before adding the Rephrase and Respond instruction to the end.

Tip: Researchers found that this resulted in a significant bump in accuracy, even over and above Chain-of-Thought prompting— though you can combine it with Chain-of-Thought prompting to improve your accuracy even more.

4. SimToM prompting

In essence, SimToM prompting is a way to get the AI to take a human’s perspective. It's rooted in the Simulation Theory and the psychology of Theory of Mind. No PhD required here—we'll break it down.

Theory of Mind is our ability to understand that others have their own beliefs, desires, and intentions, distinct from our own. We manage this through "perspective-taking," where we imagine stepping into someone else's shoes, and "question-answering," where we interpret and reason as if we were that person. This might sound straightforward, especially if you're the type who always figures out who committed the crime in a mystery novel, but it's a tough nut for even the most advanced LLMs to crack.

Humans are pretty adept at the "What are they thinking?" game, and the SimToM prompt method attempts to replicate those innate skills with a two-step prompt. First, you prompt the LLM to outline what's known to a specific character. Next, you have it adopt that character's perspective to answer a question.

SimToM is a great prompt to use for storytelling, to dig into motivations or emotional reactions. Where I think this prompt style would truly be magic is to help figure out plot points for a story and understand how the various characters might act.

But the characters don't have to be fictional; you can also use SimToM to explore audience or customer personas, for example. I found it particularly handy to use this method to simulate a hypothetical customer journey.

Template
Prompt 1: Perspective taking

The following is a sequence of events:
{story}
Which events does {character_name} know
about?

Prompt 2: Question-Answering

{story from character_name’s perspective from Prompt 1}
Answer the following question:
{question}

Template
Prompt 1: Perspective taking

Mary is a professor at the University of Somewhere. She has been teaching economics for 20 years. Recently, she has noticed that the overall quality of the assignments submitted has improved, but test scores have dropped in her macroeconomics course. Students have been using ChatGPT to complete their assignments. They are also spending less time on the material week over week.
What does Mary know?

Prompt 2: Question-Answering

What resources does Mary need in order to support her teaching in this course?

5. Step-backprompting

Ever find yourself pausing for a deep breath before jumping into a complex problem? That's not just you being cautious—it's a smart strategy! Step-back prompting takes advantage of this natural tendency to think before you act by applying it directly to how we interact with language models.

Step-back prompting does this by tapping the strategy humans use when faced with a complex problem: considering the broader context first. This allows us to draw on high-level concepts and first principles to craft our answers. An example might be recalling the laws of physics before tackling a specific question about temperature.

Here's how the process works. You first ask the LLM a "step-back question" to set the stage, then use that broader perspective to inform the answer to your main query. The step-back question is generally more abstract and simpler than your targeted question. It often involves generating a broader list of options or a summary, setting the stage for a more focused follow-up.

Although it was initially set up to try to pull correct information out of longer text (and it is useful for that), I find this more useful as a formalization of what many of us already do when brainstorming with AI: start by asking the LLM for a wide range of options, then refine these choices based on more specific criteria. Essentially, you go wide first (step-back) to establish the context, then zero in (Question) on what you need. For example, you might consider who the most popular musicians were in 1988 before deciding whose musical contributions best fit with a specific narrative arc.

Example:
Step-back question: Who were the spouses of Anna Karina?
Original question: Who was the spouse of Anna Karina from 1968 to 1974?

Step-back question: What major tech developments have happened in the last two years?
Original question: What tech developments should we cover in our next podcast season?

5 Prompts for Making ChatGPT More Accurate (3)
5 Prompts for Making ChatGPT More Accurate (4)

Conclusion

I'm always excited when I get to try and test new advanced prompting methods because the evolution of the prompting methods reflects our growing understanding of how AI "thinks" and our continuing quest to make technology more adaptable to our needs.

While I won't be giving up my favorite advanced style, the Flipped Interaction Pattern, I've started integrating these other approaches to my workflow, especially in my brainstorming and strategy work. I hope you will too.

5 Prompts for Making ChatGPT More Accurate (2024)

FAQs

5 Prompts for Making ChatGPT More Accurate? ›

Be Specific!

One of the most crucial elements of a well-written prompt is specificity. The more specific you are, the better the chance ChatGPT has at generating relevant and accurate responses. When asking for a response on a particular topic or subject, provide as much context and as many details as possible.

How to get ChatGPT to give better answers? ›

Be Specific!

One of the most crucial elements of a well-written prompt is specificity. The more specific you are, the better the chance ChatGPT has at generating relevant and accurate responses. When asking for a response on a particular topic or subject, provide as much context and as many details as possible.

How to get ChatGPT to be more detailed? ›

You can also increase the complexity of output by increasing the richness of your input. The more you provide in your prompt, the more detailed and nuanced ChatGPT's response will be. You can also include other specific instructions, like "Give me a summary," "Explain in detail," or "Provide a technical description."

How to make ChatGPT responses more consistent? ›

Get consistency in responses across different API calls to...
  1. Generate a summary of scores and replace [summary] with your summary.
  2. Generate an statistical analysis and replace [statisticalanalysis] with your result.
  3. Generate a score analysis and replace [scoreanalysis] with your result.
Jul 18, 2024

How to make ChatGPT more precise? ›

Here are five prompting approaches that research suggests can make ChatGPT's answers more accurate.
  1. Few-shot prompting. The guiding principle here is simple: show, don't tell. ...
  2. Chain-of-thought prompting. ...
  3. Rephrase and respond prompting. ...
  4. SimToM prompting. ...
  5. Step-back prompting.
May 13, 2024

How to prompt ChatGPT to get the best results? ›

There's no magic combination of words you have to use here. Just use natural language as always, and ChatGPT will understand what you're getting at. Specify that you're providing examples at the start of your prompt, then tell the bot that you want a response with those examples in mind.

How do I optimize ChatGPT prompts? ›

Improve your ChatGPT prompts with these simple pointers
  1. Forget politeness. You don't need to be polite when prompting ChatGPT. ...
  2. Include the audience. ...
  3. Use sequences. ...
  4. Use positive commands. ...
  5. Ask for further clarification. ...
  6. Include examples. ...
  7. Threaten punishment. ...
  8. Ask it to be more human.
May 31, 2024

How to get the best results out of ChatGPT? ›

12 ChatGPT Tips for The Best Results
  1. Be Specific on Word Count and Set a Higher Range. ...
  2. Don't Hesitate to Request Additional Information. ...
  3. Understand Its Limitations. ...
  4. Use ChatGPT for Outlines and Ideation. ...
  5. Ensure Your Request is Clear and Concise. ...
  6. Use Examples to Guide the Response. ...
  7. Specify the Desired Tone and Style.

How to write ChatGPT prompts to get the best results on reddit? ›

Writing Style
  1. Use clear, direct language and avoid complex terminology.
  2. Maintain a natural but professional tone.
  3. Aim for a Flesch reading score of 80 or higher.
  4. Use the active voice; Avoid adverbs.
  5. Avoid buzzwords — use plain English.
  6. Use jargon where relevant.
Mar 25, 2024

How to master ChatGPT prompts? ›

Here are six strategies to try.
  1. Set custom instructions. ...
  2. Ask ChatGPT to generate prompts. ...
  3. Create your own prompt library. ...
  4. Ask ChatGPT to generate summaries of long conversations. ...
  5. Request outputs that represent multiple perspectives. ...
  6. Review and rate ChatGPT's responses.
Apr 5, 2024

How to tell ChatGPT to write like a human? ›

To make ChatGPT sound like you, adapt a conversational approach. You can accomplish this by formatting your commands or prompts as though you're engaging in a conversation. For instance, you could write something like the following: “ChatGPT, imagine we are best friends, and explain this concept to me simply.”

How to use ChatGPT effectively? ›

  1. Give ChatGPT an identity (“Act as…”) and intended audience.
  2. Offer context.
  3. Include helpful and relevant information upfront.
  4. Highlight what information to include.
  5. Highlight what to exclude.
  6. Choose a relevant tone of voice and style.
  7. Give examples.
  8. Include the length of your response.

How to make ChatGPT answer better? ›

Let's look into the art of prompt optimization.
  1. Talk to ChatGPT as if in conversation.
  2. Provide context within your ChatGPT prompts.
  3. Assign roles and identities to ChatGPT.
  4. Specify the response length you require.
  5. Refine your ChatGPT prompts. And do it again.

How to make ChatGPT more powerful? ›

Here are 12 ways you can write better ChatGPT prompts.
  1. Assign ChatGPT a specific role. ...
  2. Be specific — and only give the bot one task at a time. ...
  3. Refine your prompts based on a previous outputs. ...
  4. Provide context. ...
  5. Break down the desired output into a series of steps. ...
  6. Ask ChatGPT for advice on how to prompt it better.
Jan 21, 2024

How can we improve the accuracy of ChatGPT? ›

Optimising training data

To increase ChatGPT's accuracy, it's crucial to focus on the quality and variety of your training data, as well as ensuring it's well-balanced. Your training data should be free of errors and inconsistencies. Clean your data by removing duplicates and correcting mislabeled entries.

How to improve ChatGPT output? ›

Use one or more line breaks to separate instructions, examples, questions, context, and input data. Incorporate the following phrases: “Your task is” and “You MUST”. Incorporate the following phrases: “You will be penalized”. Use the phrase ”Answer a question given in a natural, human-like manner” in your prompts.

How to get ChatGPT to be more concise? ›

Strategies for Achieving Clear and Concise Prompts

Use Specific Keywords: Identify the key terms related to your request and include them in your prompt. Specific keywords help ChatGPT grasp the context and focus of your inquiry quickly.

How to get detailed responses from ChatGPT? ›

Using Keywords and Specific Terms

Incorporate specific keywords or terms related to your query. This technique helps ChatGPT understand the exact context and respond with relevant information. For instance, using the term 'Photosynthesis' rather than 'Plant process' directs the AI to a specific biological phenomenon.

Top Articles
Tennessee Titans vs Seahawks final score, highlights from NFL preseason game
NFL preseason Week 2 takeaways: Bo Nix shines, Brock Purdy and 49ers struggle
Genesis Parsippany
How To Do A Springboard Attack In Wwe 2K22
Free Atm For Emerald Card Near Me
Gunshots, panic and then fury - BBC correspondent's account of Trump shooting
Ncaaf Reference
Strange World Showtimes Near Cmx Downtown At The Gardens 16
Danielle Longet
Craigslist Dog Kennels For Sale
Newgate Honda
Erskine Plus Portal
Moparts Com Forum
Craigslist Edmond Oklahoma
Tamilrockers Movies 2023 Download
Morristown Daily Record Obituary
Hermitcraft Texture Pack
Decosmo Industrial Auctions
Ups Print Store Near Me
Timeforce Choctaw
Dr Ayad Alsaadi
Evil Dead Rise Showtimes Near Regal Sawgrass & Imax
Rimworld Prison Break
1973 Coupe Comparo: HQ GTS 350 + XA Falcon GT + VH Charger E55 + Leyland Force 7V
Happy Homebodies Breakup
Reviews over Supersaver - Opiness - Spreekt uit ervaring
Disputes over ESPN, Disney and DirecTV go to the heart of TV's existential problems
پنل کاربری سایت همسریابی هلو
Apparent assassination attempt | Suspect never had Trump in sight, did not get off shot: Officials
Hefkervelt Blog
100 Gorgeous Princess Names: With Inspiring Meanings
Taylored Services Hardeeville Sc
Bj's Tires Near Me
Deepwoken: Best Attunement Tier List - Item Level Gaming
Dubois County Barter Page
Word Trip Level 359
EST to IST Converter - Time Zone Tool
All Things Algebra Unit 3 Homework 2 Answer Key
Kelly Ripa Necklace 2022
Boone County Sheriff 700 Report
Cygenoth
Craigslist Com Panama City Fl
Cnp Tx Venmo
Nail Salon Open On Monday Near Me
Frigidaire Fdsh450Laf Installation Manual
Used Auto Parts in Houston 77013 | LKQ Pick Your Part
Tyrone Dave Chappelle Show Gif
Grandma's Portuguese Sweet Bread Recipe Made from Scratch
Tenichtop
Loss Payee And Lienholder Addresses And Contact Information Updated Daily Free List Bank Of America
Elizabethtown Mesothelioma Legal Question
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6267

Rating: 4.3 / 5 (74 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.