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]¶
待执行的任务。
方法
__init__
(task, id, dep, args, tool)failed
()pending
()run
()- 参数
task (str) –
id (int) –
dep (List[int]) –
args (Dict) –
tool (BaseTool) –