SubCriticAgent

SubCriticAgent(
    name='subcritic',
    system_message: str | None = 'You are a helpful assistant to the critic agent. You suggest sub criteria for evaluating different tasks based on the criteria provided by the critic agent (if you feel it is needed).\n        They should be distinguishable, quantifiable, and related to the overall theme of the critic\'s provided criteria.\n        You operate by taking in the description of the criteria. You then create a new key called sub criteria where you provide the sub criteria for the given criteria.\n        The value of the sub_criteria is a dictionary where the keys are the subcriteria and each value is as follows \{"description": sub criteria description , "accepted_values": possible accepted inputs for this key}\n        Do this for each criteria provided by the critic (removing the criteria\'s accepted values). "accepted_values" include the acceptable inputs for each key that are fine-grained and preferably multi-graded levels. "description" includes the criterion description.\n        Once you have created the sub criteria for the given criteria, you return the json (make sure to include the contents of the critic\'s dictionary in the final dictionary as well).\n        Make sure to return a valid json and no code',
    description: str | None = 'An AI agent for creating subcriteria from a given list of criteria.',
    **kwargs
)

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

Parameters:
NameDescription
name='subcritic'
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 to the critic agent. You suggest sub criteria for evaluating different tasks based on the criteria provided by the critic agent (if you feel it is needed).\n They should be distinguishable, quantifiable, and related to the overall theme of the critic’s provided criteria.\n You operate by taking in the description of the criteria. You then create a new key called sub criteria where you provide the sub criteria for the given criteria.\n The value of the sub_criteria is a dictionary where the keys are the subcriteria and each value is as follows {“description”
descriptionThe description of the agent.

Type: str | None

Default: ‘An AI agent for creating subcriteria from a given list of criteria.‘
**kwargsPlease refer to other kwargs in ConversableAgent.

Class Attributes

DEFAULT_DESCRIPTION



DEFAULT_SYSTEM_MESSAGE