# Using Tree-of-Thought Prompting (ToT)
# Using Tree-of-Thought Prompting (ToT)
[](https://doi.org/10.5281/zenodo.10323452)
## Abstract
## Chain-of-Thought prompting
You can see how ChatGPT realised the ball fell out at step 5 but still
didn't get the answer correct.
## Tree-of-Thought Framework
Expert 1: Bob carries the cup to the bedroom, so the ball must be
in the cup.
Expert 1: Next, Bob turns the cup upside down in the bedroom.
Expert 2: After that, Bob walks to the garden and puts the cup
down.
Expert 3: Therefore, the ball must have fallen out of the cup when
Bob turned it upside down in the bedroom. So, the ball is in the
bedroom, not in the cup anymore.
Expert 3: Bob then walks to the garage, so the ball remains in the
bedroom. It is not in the garden or the garage.
You can see how this time ChatGPT 3.5 gets the answer correct!
# Limitations
# Additional thoughts
# Acknowledgements
# Citations
@misc{tree-of-thought-prompting,
title = {Using Tree-of-Thought Prompting to boost
ChatGPT's reasoning},
author = {Dave Hulbert},
year = 2023,
month = may,
journal = {GitHub repository},
publisher = {Zenodo},
doi = {10.5281/ZENODO.10323452},
url = {https://doi.org/10.5281/zenodo.10323452},
howpublished = {\url{https://github.com/dave1010/tree-of-
thought-prompting}}
}
[](https://doi.org/10.5281/zenodo.10323452)
## Abstract

fi
fi
fi
Tree-of-Thought (ToT) Prompting, a fresh technique borrowing
ideas from the Tree-of-Thoughts framework, broadens and
enhances the well-established Chain-of-Thought prompting
concept, thereby enabling Large Language Models, like ChatGPT,
to exhibit superior reasoning abilities. This Tree-of-Thought
Prompting technique permits Large Language Models to rectify their
errors autonomously while progressively accumulating knowledge.
## Chain-of-Thought prompting
You can see how ChatGPT realised the ball fell out at step 5 but still
didn't get the answer correct.
## Tree-of-Thought Framework
## Tree-of-Thought Prompting
Expert 1: Bob carries the cup to the bedroom, so the ball must be
in the cup.
Expert 1: Next, Bob turns the cup upside down in the bedroom.
Expert 2: After that, Bob walks to the garden and puts the cup
down.
Expert 3: Therefore, the ball must have fallen out of the cup when
Bob turned it upside down in the bedroom. So, the ball is in the
bedroom, not in the cup anymore.
Expert 3: Bob then walks to the garage, so the ball remains in the
bedroom. It is not in the garden or the garage.
You can see how this time ChatGPT 3.5 gets the answer correct!
# Limitations
# Additional thoughts
fi
fi
The Tree-of-Thought framework bears resemblance to an
**organizational decision-making process** involving multiple
stakeholders. The structure tries to emulate consensus and
diversity of thought.
# Acknowledgements
# Citations
@misc{tree-of-thought-prompting,
title = {Using Tree-of-Thought Prompting to boost
ChatGPT's reasoning},
author = {Dave Hulbert},
year = 2023,
month = may,
journal = {GitHub repository},
publisher = {Zenodo},
doi = {10.5281/ZENODO.10323452},
url = {https://doi.org/10.5281/zenodo.10323452},
howpublished = {\url{https://github.com/dave1010/tree-of-
thought-prompting}}
}