Lesson 4 of 12 · What Is Generative AI?
What Generative AI Is Good and Bad At
Where generative AI shines (drafting, summarising, explaining, coding), where it fails (exact facts, counting, recent events) and a test for when to use it.
- 8 min read
- Beginner
- Reviewed
- The kinds of task generative AI does well
- The kinds of task where it often fails, and why
- What the “jagged frontier” means
- A simple three-question test for whether to use AI on a task
A brilliant, unreliable assistant
A good way to picture a generative AI model is a very well-read assistant who never checks anything. It has read more than any person ever could, writes fluently on almost any subject and works instantly. But it answers from memory and impression, it rarely says "I'm not sure", and it occasionally gets simple things wrong.
Knowing which tasks fall on which side is the most useful skill a new user can have.
What it is good at
Generative AI is strongest when the task is about language and the result is easy for you to judge.
| Task | Example |
|---|---|
| Drafting | "Write a friendly email asking to move our meeting to Thursday." |
| Rewriting | "Make this paragraph shorter and less formal." |
| Summarising | "Give me the five key points of this report." |
| Explaining | "Explain compound interest to a 12-year-old." |
| Translating | "Translate this menu into Spanish." |
| Extracting | "List every date and amount mentioned in this contract." |
| Brainstorming | "Give me 20 names for a bakery." |
| Coding | "Write a Python function that removes duplicate emails." |
| Changing format | "Turn these notes into a table." |
Notice that in each case you can quickly read the result and tell whether it is good.
What it is bad at
| Weak spot | Why it happens |
|---|---|
| Exact facts, figures and quotations | It produces likely text, not checked text, so it can hallucinate. |
| Recent events | It only knows what was in its training data, unless it can search. |
| Counting letters and words | It reads tokens (chunks of text), not individual letters. |
| Long exact arithmetic | It writes numbers token by token, from patterns, unless it uses a calculator tool. |
| Knowing what it doesn't know | It tends to give an answer even when it should say "I don't know". |
| Being consistent | Ask the same question twice and you may get different answers. |
| Knowing about you | It only sees what is in the conversation. |
Seeing the weak spots in code
The program below shows two "easy" tasks that ordinary code gets right every time but a language model can trip over.
word = "strawberry"
print("Letters:", list(word))
print("Number of r's:", word.count("r"))
# A model does not see letters. One real tokenizer splits it like this:
tokens = ["st", "raw", "berry"]
print("Tokens:", tokens)
# Exact arithmetic is easy for ordinary code
print("48271 x 99137 =", 48271 * 99137)Python sees every letter, so counting is trivial. A language model sees st, raw, berry, so the r's are hidden inside pieces, and it must remember how a word is spelled to count them. Long multiplication done "in its head" is similar: it must produce ten digits in a row, each from patterns, with no scratch paper.
A three-question test
Before you hand a task to AI, ask:
- Is it a language task? Writing, reading, explaining, rewriting, coding. If it is really maths, a lookup or a database job, use the right tool (or ask the AI to use one).
- Can I check the result easily? If you can read it and know whether it is right, AI saves time. If you can't, you are trusting it blindly.
- What happens if it is wrong? A clumsy birthday message costs nothing. A wrong medicine dose, legal deadline or financial figure costs a lot.
Common mistakes
Turn the three-question test into a function. The order of the checks matters.
def advice(language_task, easy_to_check, high_stakes):
# 1. If it is not a language task, return:
# "use a calculator, spreadsheet or database"
# 2. If it is high stakes AND not easy to check, return:
# "use AI only with expert review"
# 3. Otherwise return: "good fit for AI"
return ""
tasks = [
("Draft a birthday message", True, True, False),
("Add up 200 salaries", False, True, True),
("Explain a medical report", True, False, True),
]
for name, language_task, easy_to_check, high_stakes in tasks:
print(f"{name}: {advice(language_task, easy_to_check, high_stakes)}")
Why do language models often struggle to count the letters in a word?
Summary
- Generative AI is strongest at language tasks whose results you can easily check.
- It is weak at exact facts, recent events, counting, long arithmetic and admitting uncertainty.
- Its abilities form a jagged frontier: task difficulty for people is a poor guide to reliability.
- Assistants increasingly use tools such as code and search to cover their weak spots.
- Before using AI, ask: is it language, can I check it, and what if it is wrong?
Next: what actually happens inside a model when it predicts the next word.
Finished reading? Tick it off to track your progress.