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