Task

Task(**data: Any)

Class representing a task for agent completion, includes example agent execution for criteria generation.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.

Parameters:
NameDescription
**dataType: Any

Class Attributes

description



failed_response



model_config



name



successful_response



Static Methods

parse_json_str

parse_json_str(task: str) -> 

Create a Task object from a json object.

Parameters:
NameDescription
taskType: str

Instance Methods

get_sys_message

get_sys_message(self) ->