AI Learning Courses
AI Learning Courses › Chapters › Chapter 9
CHAPTER 9 OF 15

How to Use AI Effectively: Prompting

The quality of what you get from AI depends heavily on what you ask. Writing good instructions - called prompting or prompt engineering - is the single most valuable AI skill for everyone.

▶ Watch the 10 narrated lessons Take the chapter quiz

The five building blocks of a great prompt ▶ Watch

A strong prompt gives a role, context, a clear task, the desired format and constraints.
A strong prompt gives a role, context, a clear task, the desired format and constraints.
▶ Play this diagram as a visual lesson

You do not need all five every time, but the more of them you include, the better and more predictable the answer.

Weak prompt versus strong prompt ▶ Watch

Proven prompting techniques ▶ Watch

TechniqueHow to do itExample
Be specificState exactly what you want"Summarise in 5 bullets for a 10-year-old"
Give contextExplain who, why and background"This email is to an angry customer"
Assign a roleTell it who to act as"Act as an experienced math tutor"
Show examples (few-shot)Give one to three samples of the output you want"Here are two product descriptions I like..."
Ask for stepsRequest step-by-step reasoning"Work through this step by step"
Set the formatTable, list, JSON, email, code"Answer as a table with 3 columns"
Add constraintsLength, tone, words to avoid"Under 100 words, formal tone"
IterateRefine with follow-up messages"Make it shorter and more persuasive"
Let AI askAsk it to question you first"Ask me 5 questions before you start"

Ready-to-use prompt templates ▶ Watch

STUDY:   Explain [topic] as if I am a beginner. Use an analogy,
         then give me 5 quiz questions with answers.

WRITING: Rewrite this [text] to be clearer and more [tone].
         Keep my meaning. Show the main changes.

PLANNING: Create a [7-day] plan to [goal]. I have [time]
         per day. Present it as a table.

CODING:  Write a [language] function that [does X].
         Add comments and 3 test cases.

RESEARCH: Give me the key arguments for and against [topic].
         Mark anything I should verify.

What you can use AI for every day ▶ Watch

Do's and don'ts ▶ Watch

DoDon't
Verify facts, numbers and citationsTrust every answer blindly
Give context and examplesExpect it to read your mind
Iterate and refineGive up after one weak answer
Remove personal and confidential dataPaste passwords, ID numbers or private client data
Use AI to learn and improve your own workSubmit AI work as your own where that is not allowed
Disclose AI use where requiredHide AI use from employers, teachers or publishers who require disclosure

Chapter summary

  • Good prompts include role, context, task, format and constraints.
  • Techniques such as examples, step-by-step reasoning and iteration greatly improve results.
  • AI helps with learning, writing, work, coding, creativity and daily planning.
  • Always verify important facts and protect private information.