Skip to content
anythingai.space
Prompting & Contextintermediate10 min · 9 steps

Tree-of-Thought

Explore several reasoning paths, score them, prune dead ends and backtrack. Know when an explicit search beats one long reasoning call.

One early mistake, and every later step inherits it.Step 1wrong assumptionStep 2builds on itStep 3builds on itAnswer
errortokensignalrequestresponsedata
1 / 9
ProblemStep 1 of 9

A chain can't take back step 1

Chain-of-thought follows one path. If step 1 makes a wrong assumption, every later step builds on it. The guide calls this a hallucination cascade.

A chain also has commitment bias: once it has written a step, it tends to defend it rather than reconsider it.

Lesson 4 of 8 in Prompting & Context