Module 2: Core prompting techniques · 9 min
Write clear instructions
A strong prompt usually has four parts. You can remember them as RTCF.
| Part | Question it answers | Example |
|---|---|---|
| Role | Who should the AI act as? | You are a patient maths tutor. |
| Task | What exactly should it do? | Explain how to solve quadratic equations. |
| Context | What does it need to know? | The student is in Grade 9 and finds algebra hard. |
| Format | How should the answer look? | Give 3 steps and one worked example. |
You are a patient maths tutor. Explain how to solve quadratic equations to a Grade 9 student who finds algebra hard. Give 3 steps and one worked example.
Tip: say what you want, not only what you do not want. 'Write in simple words' works better than 'do not be complicated'.
← Why the same question gives different answers | Teach by example (few-shot prompting) →