In plain English
While standard prompts go in a straight line, Tree of Thoughts lets an AI explore a maze. It tests several different paths, evaluates whether each path is leading to a dead end, and backtracks to try better strategies when necessary.
Real-world example
Solving complex chess puzzles, crossword grids, or multi-step software architecture planning.
Technical definition
Tree of Thoughts (ToT) generalizes chain-of-thought prompting by enabling language models to explore multiple reasoning branches in a tree structure. At each node, the model generates candidate thoughts, evaluates their progress toward a solution using self-evaluation or search algorithms (like BFS or DFS), and prunes unpromising paths. This empowers advanced strategic planning and creative problem-solving.