langchain_experimental.autonomous_agents.hugginggpt.task_executor.Task¶

class langchain_experimental.autonomous_agents.hugginggpt.task_executor.Task(task: str, id: int, dep: List[int], args: Dict, tool: BaseTool)[source]¶

Methods

__init__(task, id, dep, args, tool)

completed()

failed()

pending()

run()

save_product()

__init__(task: str, id: int, dep: List[int], args: Dict, tool: BaseTool)[source]¶
completed() bool[source]¶
failed() bool[source]¶
pending() bool[source]¶
run() str[source]¶
save_product() None[source]¶