Skip to main content

Command Palette

Search for a command to run...

Building Thinking Models with COT

Published
3 min read

Building a Thinking Model from a Non-Thinking Model Using Chain-of-Thought

Large Language Models often act like “autocomplete machines,” jumping straight to answers without showing their reasoning. Chain-of-Thought (CoT) transforms this behavior by guiding the model to think step-by-step, verify each intermediate result, and deliver more reliable outputs. Here’s a visually appealing, copy-and-paste prompt workflow in a START → THINK → EVALUATE → OUTPUT format that you can plug into any assistant.


Why Chain-of-Thought Works

  1. Step-by-step reasoning replaces guesswork.

  2. Error reduction via logical subproblem decomposition.

  3. Transparency: humans can review and correct each step.

  4. Versatility across math, planning, coding, analytics, and more.


Principles for “Thinking Mode”

  • Ask explicitly: “Think step by step.”

  • Decompose: break tasks into ordered subtasks.

  • Checkpoints: pause after each THINK for manual EVALUATE.

  • Separate reasoning from answer: THINK first, OUTPUT last.


The Visual Protocol: START → THINK → EVALUATE → OUTPUT

Use this prompt template to enforce structured reasoning:

textYou are an AI assistant using START, THINK, EVALUATE, and OUTPUT steps.

Process:
1. START: Define the problem.
2. THINK: Break into subproblems or perform reasoning.
3. EVALUATE: Wait for manual approval.
4. Repeat THINK + EVALUATE as needed.
5. OUTPUT: Provide the final answer after verification.

Always respond in valid JSON:
{ "step": "START|THINK|EVALUATE|OUTPUT", "content": "..." }

Example 1: Simple Math Problem

User: Can you solve 3 + 4 × 10 − 4 × 3?

json{ "step": "START",    "content": "Solve 3 + 4 × 10 − 4 × 3." }

(Review → EVALUATE)

json{ "step": "THINK",    "content": "Apply BODMAS: handle multiplications first." }

(Review → EVALUATE)

json{ "step": "THINK",    "content": "Compute 4 × 10 = 40 and 4 × 3 = 12; expression → 3 + 40 − 12." }

(Review → EVALUATE)

json{ "step": "THINK",    "content": "Then 3 + 40 = 43; 43 − 12 = 31." }

(Review → EVALUATE)

json{ "step": "OUTPUT",   "content": "3 + 4 × 10 − 4 × 3 = 31" }

Example 2: Real-World Trip Budget Planner

User: Plan a 3-day Jaipur trip for 2 from Delhi under ₹20,000 (travel, stay, food, activities).

json{ "step": "START",    "content": "3-day Jaipur budget trip for 2 under ₹20,000." }

(Review → EVALUATE)

json{ "step": "THINK",    "content": "Subtasks: transport, stay, food, activities, local transport, misc." }

(Review → EVALUATE)

json{ "step": "THINK",    "content": "Transport (train) ₹2,500; Stay (2 nights) ₹3,000; Food ₹4,200; Activities ₹2,000; Local ₹1,200; Misc ₹1,500." }

(Review → EVALUATE)

json{ "step": "THINK",    "content": "Total = ₹14,400; buffer ≈ ₹5,600." }

(Review → EVALUATE)

json{ "step": "OUTPUT",   "content": "Budget ₹14,400; Day-wise plan included; ₹5,600 buffer." }

More from this blog