Country
You are in the Nigeria edition. Type your country to switch.
Nigeria
Loading every country…
No country matches. Check the spelling, or choose "Any country" for the Global edition.
Your learning profile
AI prompt engineering · Lesson 7 of 12
Asking for step-by-step reasoning
Complex questions go better when they are broken into steps. This lesson covers task decomposition, plan-then-answer prompts, asking for working you can check, why the written explanation may not be how the answer was produced, and why calculations belong in a tool.
This lesson is complete in writing. A video for it is on its way.
What you will learn
- You can break a complex request into smaller steps an assistant can handle one at a time.
- You can use plan-then-answer prompts for multi-part jobs.
- You can ask for working that you can check, and check it.
- You can explain why a written explanation may not show how an answer was produced.
- You can keep calculations in a spreadsheet or calculator rather than in the chat.
Key terms in this lesson
- Chain-of-thought prompting
- Asking a model to set out its intermediate steps before giving a final answer, which can help on multi-step problems and makes errors easier to spot.
- Task decomposition
- Breaking a complex request into smaller steps that are handled one at a time, so each step is simpler to do and easier to check.
- Step 1: Why steps help, not started
- Step 2: Breaking the task down, not started
- Step 3: Worked example: a price that rises, then falls, not started
- Step 4: Explanations are not a window into the machine, not started
- Step 5: Keep calculations in a tool, not started
About 8 min of reading
Step 1 of 5
Why steps help
Opening this step…
Step 2 of 5
Breaking the task down
This step opens when you finish the one above.
Step 3 of 5
Worked example: a price that rises, then falls
This step opens when you finish the one above.
Step 4 of 5
Explanations are not a window into the machine
This step opens when you finish the one above.
Step 5 of 5
Keep calculations in a tool
This step opens when you finish the one above.
Key takeaways
The key takeaways open when you finish every step.
Lesson quiz
5 questions. You need 85% to pass.
The quiz opens when you finish every step.
Read first
Stockertim Learn is education. It explains how investing works and never recommends buying or selling anything.