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]¶
Task to be executed.
Methods
__init__
(task, id, dep, args, tool)failed
()pending
()run
()- Parameters
task (str) –
id (int) –
dep (List[int]) –
args (Dict) –
tool (BaseTool) –