agents.reasoning_and_critique.tot.exampleΒΆ
Example demonstrating the use of the Tree of Thoughts agent.
This example shows how to instantiate and run the ToT agent with different problem types.
FunctionsΒΆ
|
Run all examples. |
Run a basic example of the ToT agent. |
|
Run a complex reasoning example with the ToT agent. |
|
Run a math example with the ToT agent. |
Module ContentsΒΆ
- async agents.reasoning_and_critique.tot.example.main()ΒΆ
Run all examples.
- async agents.reasoning_and_critique.tot.example.run_basic_example()ΒΆ
Run a basic example of the ToT agent.
- async agents.reasoning_and_critique.tot.example.run_complex_reasoning_example()ΒΆ
Run a complex reasoning example with the ToT agent.
- async agents.reasoning_and_critique.tot.example.run_math_example()ΒΆ
Run a math example with the ToT agent.