Lesson 22 of 32 · Part One, the principles

The Chain of Thought

A big task thrown at the machine in one piece comes back as a plausible blur: everything mentioned, nothing checkable. Break it instead into a chain of small steps, ask for one step at a time, check that step against what you actually know - your prices, your syllabus, the tools already in your shed - and then feed the corrected step into the next one. You stay the builder; the machine lays one brick at a time, where you can inspect it.

Reach for it whenWhen the job is too big for one answer - a business plan, a long exam answer, a purchase the committee must justify - and a wrong figure buried in the middle would spoil everything built on top of it.

How to use The Chain of Thought in Gemini

The chain works as written here; what this platform adds is a way to strengthen one link without disturbing the others. When a step needs facts you do not have - what a bending machine actually costs this year, what the power tariff is, what a scheme requires - run Deep Research on that single link, read the report, and bring one page of findings back into the chain. Keep the reasoning steps in the ordinary chat and the research step separate, so a long report does not swamp the plan. At the end, export the finished chain to Google Docs: a workshop plan or a committee note needs to exist as a document someone can carry, not as a scroll of chat.

  • Use Deep Research for one link, never for the whole plan.
  • Bring the findings back as one page, not the full report.
  • Treat listed prices as leads; confirm with local dealers.

From GenAI for Everyone: Prompt Engineering Handbook, First Edition 2025, by Raja Rajeshwari Seshadri and Shreeram Iyer.

The chain works as written here; what this platform adds is a way to strengthen one link without disturbing the others. When a step needs facts you do not have - what a bending machine actually costs this year, what the power tariff is, what a scheme requires - run Deep Research on that single link, read the report, and bring one page of findings back into the chain. Keep the reasoning steps in the ordinary chat and the research step separate, so a long report does not swamp the plan. At the end, export the finished chain to Google Docs: a workshop plan or a committee note needs to exist as a document someone can carry, not as a scroll of chat.

From the book For steps that need fresh facts, such as current equipment prices, use Deep Research for that single link, then bring the result back into your chain. Export the finished chain to Google Docs to share it.
Worth knowingDeep Research is for one link at a time. Point it at the whole business plan and it returns a long, generic report that reads well and tells you nothing about Ludhiana. On prices, remember what the book already says - verify them with local dealers. A machine price from a national listing site is a starting figure, not your figure, and the gap between the two is exactly where a plan goes wrong. One more caution: a Deep Research report is written to look settled. Ask it to mark which figures are current, dated and local, and treat the rest as leads to check on the phone.
  • Use Deep Research for one link, never for the whole plan.
  • Bring the findings back as one page, not the full report.
  • Treat listed prices as leads; confirm with local dealers.
  • Export the finished chain to Docs so it becomes a document.
  • Ask which figures are dated and local, and check the rest.
The Whole Skyscraper vs. One Floor at a Time

Instead of

Give me a full business plan for a welding workshop.

Gemini version

I am a welder with 12 years' experience, starting a small fabrication workshop in Ludhiana - gates, grills and sheds. We will do this in four steps, and I approve each one before the next.

The steps: (1) machines and tools, (2) rough costs, (3) first customers, (4) licences and registrations for a CA to confirm.

Step 1 only, please, and then stop. Two groups - must have on day one, can buy later - with one line each on why. Use simple Hindi-English, the words used in the market here. Do not search for this step: it depends on my trade, not on what is written online.

When step 1 is settled, I will ask you to run Deep Research on step 2 alone - current prices for those specific machines in Punjab - and bring back one page, not a report. I will still check every figure with dealers in the market, so mark which prices are dated and which are someone's old listing.
Open Gemini 875 characters

Then loop it

  1. Step 1 is good, but I already own an arc welding machine and an angle grinder. Remove them and move to Step 2.
  2. Using the Step 2 cost list, now do Step 3: ten ways to find my first customers within 50 km.

Why it worksEach approved step becomes the foundation for the next, so Baldev can correct one link without rebuilding the whole plan.

The Instant Answer vs. The Reasoned Answer

Instead of

Write a UPSC answer on urban flooding.

Gemini version

UPSC Mains, GS Paper 1. The question: "Discuss the causes of urban flooding in Indian cities and suggest measures." (250 words)

Show me the working before any answer - the structure is what I have to reproduce in the hall.

Five stages, each under its own heading: what "discuss" demands; the causes under clear heads with natural kept apart from man-made; two Indian city examples with one line each; one measure attached to each cause; and only then the 250-word answer with introduction and conclusion.

For the examples and for any committee report, scheme or figure you cite, ground it in Search and give me the link, then run double-check response on the stage that contains the facts. A wrong report name in an exam answer costs more than a missing one.

When the chain is right, export the whole thing - stages and final answer - to Google Docs, so it goes into my answer-writing folder with the rest.
Open Gemini 910 characters

Then loop it

  1. Your step 2 mixes natural and man-made causes. Separate them and redo steps 4 and 5.
  2. Here is my own answer to the same question. Compare it with your steps and tell me which step I skipped.

Why it worksSeeing the reasoning laid out link by link teaches Rohan the structure, not just one model answer.

Yes-or-No vs. Showing the Working

Instead of

Should our society buy an ice machine?

Gemini version

I am secretary of a fishermen's cooperative in Malpe, near Udupi - 60 member boats. Ice costs us about ₹3,000 a day for roughly nine months of the season. A supplier quotes ₹9 lakh for a small ice plant.

Four steps, with every figure on its own line and your assumptions stated before you multiply: (1) our yearly ice cost, (2) the running costs I must ask the supplier about - power, water, staff, repairs, (3) a plain way to find the years to recover ₹9 lakh, (4) the risks, worst first.

For step 2, do not estimate the power tariff - run Deep Research on the current industrial tariff for our category in Karnataka and on any state or central scheme for cooperative cold-chain equipment, and bring back one page with links and dates. Everything else stays arithmetic on my own numbers.

No final yes or no - our committee decides. When the four steps are settled, export them to Google Docs so I can print the note for the meeting.
Open Gemini 936 characters

Then loop it

  1. Power here is about ₹8 a unit and the supplier says 150 units a day. Redo step 3 with these numbers.
  2. Turn steps 1 to 4 into a one-page note in Kannada for our committee meeting.

Why it worksVisible working lets Sunitha check every number before the committee relies on it.

Questions

What is The Chain of Thought in prompt engineering?

A big task thrown at the machine in one piece comes back as a plausible blur: everything mentioned, nothing checkable. Break it instead into a chain of small steps, ask for one step at a time, check that step against what you actually know - your prices, your syllabus, the tools already in your shed - and then feed the corrected step into the next one. You stay the builder; the machine lays one brick at a time, where you can inspect it.

When should I use this technique?

When the job is too big for one answer - a business plan, a long exam answer, a purchase the committee must justify - and a wrong figure buried in the middle would spoil everything built on top of it.

How do I apply it in Gemini?

The chain works as written here; what this platform adds is a way to strengthen one link without disturbing the others. When a step needs facts you do not have - what a bending machine actually costs this year, what the power tariff is, what a scheme requires - run Deep Research on that single link, read the report, and bring one page of findings back into the chain. Keep the reasoning steps in the ordinary chat and the research step separate, so a long report does not swamp the plan. At the end, export the finished chain to Google Docs: a workshop plan or a committee note needs to exist as a document someone can carry, not as a scroll of chat.

What are the limits of this technique in Gemini?

Deep Research is for one link at a time. Point it at the whole business plan and it returns a long, generic report that reads well and tells you nothing about Ludhiana. On prices, remember what the book already says - verify them with local dealers. A machine price from a national listing site is a starting figure, not your figure, and the gap between the two is exactly where a plan goes wrong. One more caution: a Deep Research report is written to look settled. Ask it to mark which figures are current, dated and local, and treat the rest as leads to check on the phone.

How do I improve the answer after the first try?

Looping fits this principle naturally: every step is a small loop of its own. Ask for one step, read it, and check it against what you know - your real prices, your real syllabus, your real tools. Correct the weak link ("Redo step 2 with this figure"), then say "Now use that to do step 3." If an answer jumps straight to a conclusion, ask, "Show your reasoning step by step before the answer." When the chain works, save it to reuse next time.

Loop it

Looping fits this principle naturally: every step is a small loop of its own. Ask for one step, read it, and check it against what you know - your real prices, your real syllabus, your real tools. Correct the weak link ("Redo step 2 with this figure"), then say "Now use that to do step 3." If an answer jumps straight to a conclusion, ask, "Show your reasoning step by step before the answer." When the chain works, save it to reuse next time.

This lesson on the other tools

The technique is the same; the way you write it is not. ChatGPT, Claude, Perplexity.