Free Trial

One Tech Tip: Get the most out of ChatGPT and other AI chatbots with better prompts

A youth checks his mobile phone on the bank of the River Ganges in Prayagraj, India, June 7, 2023. (AP Photo/Rajesh Kumar Singh, File)

Key Points

  • Be more specific: ChatGPT needs clear, detailed instructions on your goals—simply asking “design a logo” won’t cut it without context about the company, industry and style.
  • Refine and rewrite: Treat the chatbot like a conversation by asking follow-ups and tweaking your prompt wording, adding or simplifying context until the output meets your expectations.
  • Consider the persona and audience: Specify the desired tone or style (e.g. formal, humorous) and the target reader to guide the model’s vocabulary, detail level and overall approach.
  • Add context and examples: Provide all relevant background—such as traveler preferences or project specifics—to ensure responses are tailored and not generic.
  • MarketBeat previews the top five stocks to own by August 1st.

LONDON (AP) — If you’re using ChatGPT but getting mediocre results, don’t blame the chatbot. Instead, try sharpening up your prompts.

Generative AI chatbots such as OpenAI's ChatGPT, Google's Gemini and Anthropic's Claude have become hugely popular and embedded into daily life for many users. They're powerful tools that can help us with so many different tasks.

What you shouldn't overlook, however, is that a chatbot's output depends on what you tell it to do, and how. There's a lot you can do to improve the prompt — also known as the request or query — that you type in.

Here are some tips for general users on how to get higher quality chatbot replies, based on tips from the AI model makers:

Be more specific in your prompt

ChatGPT can't read your mind. You need to give it clear and explicit instructions on what you need it to do.

Unlike a standard Google search, you can't just ask for an answer based on some keywords. And you'll need to do more than just tell it to, say, “design a logo” because you'll end up with a generic design. Flesh it out with details on the company that the logo is for, the industry it will be used in and the design style you're going for.

“Ensure your prompts are clear, specific, and provide enough context for the model to understand what you are asking,” ChatGPT maker OpenAI advises on its help page. “Avoid ambiguity and be as precise as possible to get accurate and relevant responses.”

Refine and rewrite your request

Think of using a chatbot like holding a conversation with a friend. You probably wouldn't end your chat after the first answer. Ask follow-up questions or refine your original prompt.

OpenAI's advice: “Adjust the wording, add more context, or simplify the request as needed to improve the results.”

You might have to have an extended back-and-forth that elicits better output. Google advises that you'll need to try a “few different approaches” if you don't get what you're looking for the first time.

“Fine-tune your prompts if the results don’t meet your expectations or if you believe there’s room for improvement,” Google recommends in its prompting guide for Gemini. “Use follow-up prompts and an iterative process of review and refinement to yield better results.”

Consider the persona and audience

When making your request, you can also ask an AI large language model to respond in a specific voice or style.

“Words like formal, informal, friendly, professional, humorous, or serious can help guide the model,” OpenAI writes.

You also tell the chatbot the type of person the response is aimed at.

These parameters will help determine the chatbot's overall approach to its answer, as well as the tone, vocabulary and level of detail.

For example, you could ask ChatGPT to describe quantum physics in the style of a distinguished professor talking to a class of graduate students. Or you could ask it to explain the same topic in the voice of a teacher talking to a group of schoolchildren.

However, there's plenty of debate among AI experts about these methods. On one hand, they can make answers more precise and less generic. But an output that adopts an overly empathetic or authoritative tone raises concerns about the text sounding too manipulative.

Add more context and examples

Give the chatbot all the background behind the reason for your request.

Don't just ask: “Help me plan a weeklong trip to London.”

ChatGPT will respond with a generic list of London's greatest hits: historic sites on one day, museums and famous parks on another, trendy neighborhoods and optional excursions to Windsor Castle. It's nothing you couldn't get from a guidebook or travel website, but just a little better organized.

But if, say, you're a theatre-loving family, try this: “Help me plan a weeklong trip to London in July, for a family of four. We don't want too many historic sites, but want to see a lot of West End theatre shows. We don't drink alcohol so we can skip pubs. Can you recommend mid-range budget hotels where we can stay and cheap places to eat for dinner?"

This prompt returns a more tailored and detailed answer: a list of four possible hotels within walking distance of the theater district, a seven-day itinerary with cheap or low-cost ideas for things to do during the day, suggested shows each evening, and places for an affordable family dinner.

Put limits around your request

You can tell any of the chatbots just how extensive you want the answer to be. Sometimes, less is more.

Try nudging the model to provide clear and succinct responses by imposing a limit. For example, tell the chatbot to reply with only 300 words, or to come up with five bullet points.

Want to know all that there is to know about quantum physics? ChatGPT will provide a high-level “grand tour” of the topic that includes terms like wavefunctions and qubits. But ask for a 150-word explanation and you'll get an easily digestible summary about how it's the science of the tiniest particles that also underpins a lot of modern technology like lasers and smartphones.

___

Is there a tech topic that you think needs explaining? Write to us at onetechtip@ap.org with your suggestions for future editions of One Tech Tip.

Where Should You Invest $1,000 Right Now?

Before you make your next trade, you'll want to hear this.

MarketBeat keeps track of Wall Street's top-rated and best performing research analysts and the stocks they recommend to their clients on a daily basis.

Our team has identified the five stocks that top analysts are quietly whispering to their clients to buy now before the broader market catches on... and none of the big name stocks were on the list.

They believe these five stocks are the five best companies for investors to buy now...

See The Five Stocks Here

Ten Starter Stocks For Beginners to Buy Now Cover

Just getting into the stock market? These 10 simple stocks can help beginning investors build long-term wealth without knowing options, technicals, or other advanced strategies.

Get This Free Report
Like this article? Share it with a colleague.

Featured Articles and Offers

Recent Videos

3 Made in America Stocks Under $20 You Need to See!
3 Cheap Growth Stocks Set to Explode This Summer
The Next NVIDIA? Quantum Computing Stocks Set for Explosive Growth

Stock Lists

All Stock Lists

Investing Tools

Calendars and Tools

Search Headlines