#26 · Primary category: Prompt Engineering Tools

tree-of-thought-llm

large-language-models llm prompting tree-of-thoughts tree-search

[NeurIPS 2023] Tree of Thoughts: Deliberate Problem Solving with Large Language Models

Project last updated:01/16/25

GitHub Stars

6.1K

Forks

626

Contributors

6

License

MIT

Why we included this project

Tree of Thoughts is the official code release for a NeurIPS 2023 paper on structured reasoning with large language models. Instead of asking the model for a single answer, it breaks a problem into steps, generates several candidate thoughts at each step, scores them, and searches across the surviving options. That search over branches is the core idea, and the repo ships working experiments on the game of 24, creative writing, and crosswords, so you can see the method run and then adapt its propose, evaluate, and select loop to your own tasks. If you work on pipelines where one wrong intermediate step can quietly break the final answer, this is a useful reference for making open-ended reasoning more careful and searchable.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category