TaskPlanningToolkit
init
- timeout (Optional[float]): The timeout for the toolkit. (default: :obj:
None
)
decompose_task
- original_task_content (str): The content of the task to be decomposed.
- sub_task_contents (List[str]): A list of strings, where each string is the content for a new sub-task.
- original_task_id (Optional[str]): The id of the task to be decomposed. If not provided, a new id will be generated. (default: :obj:
None
)
replan_tasks
- original_task_content (str): The content of the task to be decomposed.
- sub_task_contents (List[str]): A list of strings, where each string is the content for a new sub-task.
- original_task_id (Optional[str]): The id of the task to be decomposed. (default: :obj:
None
)