dave1010/tree-of-thought-prompting
A prompt engineering technique extending Chain-of-Thought to boost LLMs' reasoning by exploring multiple paths and self-correcting errors.

This repository implements Tree-of-Thought Prompting, a technique that extends Chain-of-Thought reasoning by enabling LLMs to explore multiple reasoning paths and self-correct errors. It demonstrates practical improvements, showing ChatGPT 3.5 with ToT prompting can match ChatGPT 4 on complex spatial reasoning tasks. The project provides examples and implementations of prompting strategies for improving LLM performance on difficult questions.
Frequently asked
- What is dave1010/tree-of-thought-prompting?
- A prompt engineering technique extending Chain-of-Thought to boost LLMs' reasoning by exploring multiple paths and self-correcting errors.
- Is tree-of-thought-prompting open source?
- Yes — dave1010/tree-of-thought-prompting is open source, released under the MIT license.
- How popular is tree-of-thought-prompting?
- dave1010/tree-of-thought-prompting has 820 stars on GitHub.
- Where can I find tree-of-thought-prompting?
- dave1010/tree-of-thought-prompting is on GitHub at https://github.com/dave1010/tree-of-thought-prompting.