Skip to content
Edition NigeriaGlobal
Country

You are in the Nigeria edition. Type your country to switch.

Set up your 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.

Beginner10 min read5 steps

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 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.

Up next

AI at workIteration and refinementRead nowIteration and refinementAI at work · Beginner · 15 minAI at workEvaluating prompts and outputsRead nowEvaluating prompts and outputsAI at work · Beginner · 15 minAI at workPrompt libraries and templatesRead nowPrompt libraries and templatesAI at work · Beginner · 15 minAI at workHallucination and groundingRead nowHallucination and groundingAI at work · Beginner · 15 minMarket operationsMarket making across assets: bon…Read nowMarket making across assets: bonds, FX, ETFs and cryptoMarket operations · Advanced · 15 minInvesting strategiesGrowth vs value investingRead nowGrowth vs value investingInvesting strategies · Intermediate · 15 minFinancial crimeCase studies, corruption and lau…Read nowCase studies, corruption and laundering: 1MDB and the James Ibori caseFinancial crime · Advanced · 15 minProjects, consulting & analysisBuilding the business case and r…Read nowBuilding the business case and realising benefitsProjects, consulting & analysis · Intermediate · 15 minStock marketdividend yieldRead nowWhat is dividend yield?Stock market · Intermediate · 15 minEthical & Islamic investingGreenwashing case studiesRead nowGreenwashing case studiesEthical & Islamic investing · Advanced · 15 minValuation & company analysisBuilding a simple investment the…Read nowBuilding a simple investment thesisValuation & company analysis · Advanced · 15 minTrading: risk, costs and processFX is quoted: pairs, base and qu…Read nowHow FX is quoted: pairs, base and quote currencies, bid and askTrading: risk, costs and process · Advanced · 15 min
English