agents.planning.p_and_e.exampleΒΆ

Example usage of the Plan and Execute agent.

FunctionsΒΆ

calculate(expression)

Calculate a mathematical expression.

run_example()

Run the planning example (only when explicitly called).

search(query)

Search for information.

Module ContentsΒΆ

agents.planning.p_and_e.example.calculate(expression)ΒΆ

Calculate a mathematical expression.

Parameters:

expression (str)

Return type:

float

agents.planning.p_and_e.example.run_example()ΒΆ

Run the planning example (only when explicitly called).

agents.planning.p_and_e.example.search(query)ΒΆ

Search for information.

Parameters:

query (str)

Return type:

str