Tutorials / Prompt Engineering with ChatGPT / Being specific: how to remove guesswork

Being specific: how to remove guesswork

13 min read text
Course contents (19 lessons)
  1. Understanding the tool
  2. What a language model is, in plain words
  3. How ChatGPT works from a user's point of view
  4. Building a good prompt
  5. The anatomy of a good prompt
  6. Being specific: how to remove guesswork
  7. Showing examples: few-shot prompting
  8. Asking for step-by-step reasoning
  9. Controlling and improving answers
  10. Controlling length, tone and format
  11. Iterating: how to improve an answer with follow-ups
  12. Custom instructions and memory
  13. Working with files and images
  14. ChatGPT for real tasks
  15. Using ChatGPT for writing: emails, reports and rewrites
  16. Using ChatGPT for studying and learning
  17. Using ChatGPT for coding and technical work
  18. Using ChatGPT for data, spreadsheets and business tasks
  19. Prompt templates
  20. A library of reusable prompt templates
  21. Reliable and safe use
  22. Avoiding hallucinations and checking facts
  23. Privacy and safe use
  24. Workflows and final project
  25. Building repeatable workflows and custom assistants
  26. Final project: build your own prompt toolkit

The model fills gaps with the average

When you leave something out of a prompt, ChatGPT does not leave a gap. It fills the gap with the most typical choice. Ask for "a marketing plan" and you get the most average marketing plan, built from every marketing plan it has seen. That is rarely what you need. Being specific is how you move the answer from average to yours.

The fix is not to write longer prompts for the sake of it. The fix is to replace vague words with checkable ones.

Vague words to hunt down

VagueSpecific
shortunder 80 words
professionalpolite, no slang, no contractions, like a letter to a bank manager
simplesuitable for a 14-year-old; define any technical term in brackets
a few ideasexactly 7 ideas
for beginnersfor someone who has never opened Excel
make it bettermake it shorter, remove repeated words, keep the facts

Each of these changes a word that means different things to different people into something the model cannot misread.

Example one: rewriting a request

Before:

Give me some ideas for my YouTube channel.

After:

I run a YouTube channel about repairing old bicycles in my garage.
I have 1,200 subscribers, mostly men aged 25 to 45 in the UK.
My videos are 8 to 12 minutes. My best video was "Fixing a rusty chain
with household items".

Give me exactly 10 video ideas for the next two months.
For each idea give: a working title, a one-sentence summary, and the
reason it should interest my audience. Avoid anything that needs
expensive tools. Do not suggest topics about e-bikes.

Why does this work? The first prompt could be answered for any channel on earth. The second names the topic, the size and age of the audience, the length of the videos, a past hit as a hint about taste, and a clear count and structure. The "avoid" and "do not" lines remove the most likely wrong turns. The answer will still need your judgment, but it will start much closer to the target.

Example two: say who and why

The reason behind a request often matters more than the request.

Rewrite the paragraph below so it is easier to read.

Reader: a busy hospital manager who will read it on a phone between meetings.
Goal: she must understand in 20 seconds that we need her approval by Friday.

Keep every fact and number. Put the request in the first sentence.

[paste paragraph]

"Easier to read" alone is a taste judgment. With the reader and goal named, the model can decide what to cut, what to move up and what tone to use. The instruction "keep every fact and number" protects against a common problem: when a model shortens text, it sometimes drops or changes details.

Example three: give boundaries and a fallback

Tell the model what to do when it lacks information. Otherwise it will often guess.

Based only on the product notes below, write three bullet points for
the product page. If the notes do not say something (for example the
battery life), write "not provided" instead of guessing.

Notes:
- Bluetooth speaker, waterproof, comes in black and green
- Weight 450 g
- Includes a USB-C cable

A good model will return three bullets and mark battery life as missing, if it comes up at all. Without the fallback line you might get "up to 12 hours of battery life", a number that sounds right and came from nowhere. That is how invented details end up on real product pages.

Specific does not mean long

A specific prompt can be short. "Translate to Urdu, formal register, keep the names in English" is brief and exact. A rambling prompt can be vague. The test is simple: could two reasonable people read this and picture two very different outputs? If yes, add the missing piece.

Using the model to find what is missing

If you are not sure what to specify, ask the model to interview you.

I want to write a one-page business proposal for a local gym that wants
a new website. Before you write anything, ask me up to 6 questions
that you need answered to do this well. Wait for my answers.

This is a very good habit for big tasks. The questions it asks show you the things you had not thought about, and your answers become the context for the final result.

The common mistake

Being specific about the wrong things. People write ten lines about a style and none about the audience, or they set an exact word count and forget the purpose. Start with who it is for and what they should do next, then add numbers and boundaries. Another mistake is contradiction: "keep it very short but cover everything in detail". When a prompt contradicts itself, the model picks one side at random. Decide what matters more.

Try it yourself

  1. Take the prompt "Plan a trip" and rewrite it with a destination, number of days, budget range, who is travelling, and two things you dislike. Compare the two answers.
  2. Find a past conversation where you were disappointed. List the vague words in your prompt and replace each with something measurable.
  3. Try the "ask me questions first" prompt on a real project and see how many questions you could not have answered without thinking.
text
I run a YouTube channel about repairing old bicycles in my garage.
I have 1,200 subscribers, mostly men aged 25 to 45 in the UK.
My videos are 8 to 12 minutes. My best video was "Fixing a rusty chain
with household items".

Give me exactly 10 video ideas for the next two months.
For each idea give: a working title, a one-sentence summary, and the
reason it should interest my audience. Avoid anything that needs
expensive tools. Do not suggest topics about e-bikes.

This course is free to read. Create a free account to enrol, save your progress and pick up where you left off.

Sign up free I already have an account