mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-03 21:54:04 +00:00
12 lines
425 B
Python
12 lines
425 B
Python
"""Implementation of a **Tree of Thought (ToT)** chain based on the paper
|
|
[Large Language Model Guided Tree-of-Thought](https://arxiv.org/pdf/2305.08291.pdf).
|
|
|
|
The Tree of Thought (ToT) chain uses a tree structure to explore the space of
|
|
possible solutions to a problem.
|
|
|
|
"""
|
|
from langchain_experimental.tot.base import ToTChain
|
|
from langchain_experimental.tot.checker import ToTChecker
|
|
|
|
__all__ = ["ToTChain", "ToTChecker"]
|