Skip to main content

Task

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:

Class Attributes

description



failed_response



model_config



name



successful_response



Static Methods

parse_json_str

Create a Task object from a json object.
Parameters: Returns:

Instance Methods

get_sys_message