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ΒΆ

main()

Run all examples.

run_basic_example()

Run a basic example of the ToT agent.

run_complex_reasoning_example()

Run a complex reasoning example with the ToT agent.

run_math_example()

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.