Tree of Thought (ToT) prompting (original) (raw)

Last Updated : 7 May, 2026

Tree of Thought (ToT) prompts give reasoning as a branching tree, allowing the model to explore multiple paths and choose the best solution, similar to human problem-solving.

tree_of_thought_tot_prompting

Tree of Thoughts

Working of Tree of Thought Prompting

It uses a structured approach where the model explores multiple reasoning paths, evaluates them and focuses on the best ones to reach an optimal solution.

**1. Branching Reasoning Structure

**2. Exploration and Backtracking

**3. Evaluation and Pruning

**Example of Solving a Puzzle

This example shows how Tree of Thought prompting solves a problem by exploring multiple solution paths step by step.

Applications

Advantages

Limitations