How to ask AI well: a guide to writing prompts
A bad answer usually comes from a bad question. These are the four parts of a prompt that works.
A prompt is what you type to an AI. Most people write one word — "business" — then wonder why the answer is generic. A good prompt has four parts.
1. Who. Tell the AI where to start. "You are a Form Two maths teacher in Tanzania."
2. What. State the job exactly. "Write me ten practice questions on percentages."
3. For whom. Name the reader. "For 14-year-old students who study in Kiswahili."
4. Shape of the answer. Say how you want it back. "One question per line, with the answers at the end."
Put together: "You are a Form Two maths teacher in Tanzania. Write me ten practice questions on percentages, for 14-year-old students who study in Kiswahili. One question per line, with the answers at the end."
The difference between that and the word "maths" is enormous.
Three more techniques
- Give it an example. If you want a business letter, paste one you wrote before and say: "Write another like this one, but for a customer in Mwanza."
- Say what not to do. "No foreign words. Keep it short."
- Ask again. The first answer is a draft. "Cut it in half" or "Give me three other approaches" changes everything.
One warning: the AI does not know your business, your school, or your village. If you want an answer that fits you, you have to put those facts into the prompt yourself.
More stories
DeepSeek ships a new open AI update: faster, and it costs cents
DeepSeek has released V4.1-Flash-1017 with open weights under the MIT license, better scores on the company's own 11 benchmarks, and a new web-search API — with prices still far below its rivals.
We tested: ChatGPT in Kiswahili
Its Kiswahili is good for everyday writing, but it slips on present-day Tanzanian specifics.
A hacker used AI agents to break into more than 100 sites; Microsoft launches tools to rein them in
A Reuters report: a Chinese-speaking hacker used AI agents to break into company websites at a cost of just $5,000 — while Microsoft announced new tools that watch AI agents like suspected insiders.