task
autogen.agentchat.contrib.agent_eval.task.Task
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.
Name | Description |
---|---|
**data | Type: Any |
Class Attributes
description
failed_response
model_config
name
successful_response
Static Methods
parse_json_str
Create a Task object from a json object.
Name | Description |
---|---|
task | Type: str |
Instance Methods