agentchat.contrib.agent_eval.task
Task
class Task(BaseModel)
Class representing a task for agent completion, includes example agent execution for criteria generation.
parse_json_str
@staticmethod
def parse_json_str(task: str)
Create a Task object from a json object.
Arguments:
json_data
dict - A dictionary that represents the task.
Returns:
Task
- A Task object that represents the json task information.