Nearby lessons

17 of 49

Prompt Engineering - Tree of Thoughts

Tree of Thoughts (ToT) — Think Like a Leader

Tree of Thoughts means exploring multiple thinking paths and choosing the best one. Instead of one straight answer, AI creates branches — several options — compares them, and picks the winner. Think like a leader, not just a solver.

In simple words: Think in options, decide with logic. Leaders compare before they decide.

The road example:

  • Three roads are available.
  • A smart person checks all three, compares the traffic, and chooses the best — that is ToT.
  • AI does the same when you ask it to generate and compare options.
Normal ThinkingToT Thinking
One solutionMultiple options
Fast decisionSmart decision
No comparisonProper comparison
Weak reasoningStrong reasoning
Trainer's Note: ToT is perfect for career choices, technology selection, batch timing, and any decision where you want to compare options before choosing.
Example01
Prompt PreviewChatGPT-style
Act as a business planner. Decision problem: Choose the best batch timing. Options: A) Morning B) Evening C) Weekend Step 1: List pros and cons for each Step 2: Compare using the same criteria Step 3: Give a score out of 10 Step 4: Suggest the best option with reasons Step 5: Provide a backup plan
Copy the prompt and paste it into ChatGPT, Gemini, or Claude to try it.
📝 Key Takeaways
  • Tree of Thoughts = generate options, compare, decide like a leader.
  • Instead of one straight answer, AI creates branches — several options.
  • The road example: three roads, compare the traffic, choose the best.
  • List pros and cons for each option, then compare using the same criteria.
  • Score options out of 10 and suggest the best with reasons.
  • Think in options, decide with logic.

🧠 Test Your Knowledge

2 Questions
Progress: 0 / 2