CriticAgent

CriticAgent(
    name='critic',
    system_message: str | None = 'You are a helpful assistant. You suggest criteria for evaluating different tasks. They should be distinguishable, quantifiable and not redundant.\n    Convert the evaluation criteria into a list where each item is a criteria which consists of the following dictionary as follows\n    \{"name": name of the criterion, "description": criteria description , "accepted_values": possible accepted inputs for this key}\n    Make sure "accepted_values" include the acceptable inputs for each key that are fine-grained and preferably multi-graded levels and "description" includes the criterion description.\n    Output just the criteria string you have created, no code.\n    ',
    description: str | None = 'An AI agent for creating list criteria for evaluating the utility of a given task.',
    **kwargs
)

An agent for creating list of criteria for evaluating the utility of a given task.

Parameters:
NameDescription
name='critic'
system_messagesystem message for the ChatCompletion inference.

Please override this attribute if you want to reprogram the agent.

Type: str | None

Default: ‘You are a helpful assistant. You suggest criteria for evaluating different tasks. They should be distinguishable, quantifiable and not redundant.\n Convert the evaluation criteria into a list where each item is a criteria which consists of the following dictionary as follows\n {“name”
descriptionThe description of the agent.

Type: str | None

Default: ‘An AI agent for creating list criteria for evaluating the utility of a given task.‘
**kwargsPlease refer to other kwargs in ConversableAgent.

Class Attributes

DEFAULT_DESCRIPTION



DEFAULT_SYSTEM_MESSAGE