TaskExecutor#

class langchain_experimental.autonomous_agents.hugginggpt.task_executor.TaskExecutor(plan: Plan)[source]#

Load tools and execute tasks.

Methods

Parameters:

plan (Plan) –

__init__(plan: Plan)[source]#
Parameters:

plan (Plan) –

check_dependency(task: Task) bool[source]#
Parameters:

task (Task) –

Return type:

bool

completed() bool[source]#
Return type:

bool

describe() str[source]#
Return type:

str

failed() bool[source]#
Return type:

bool

pending() bool[source]#
Return type:

bool

run() str[source]#
Return type:

str

update_args(task: Task) None[source]#
Parameters:

task (Task) –

Return type:

None