Skip to main content

agentchat.contrib.agent_eval.critic_agent

CriticAgent

class CriticAgent(ConversableAgent)

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

__init__

def __init__(name="critic",
system_message: Optional[str] = DEFAULT_SYSTEM_MESSAGE,
description: Optional[str] = DEFAULT_DESCRIPTION,
**kwargs)

Arguments:

  • name str - agent name.
  • system_message str - system message for the ChatCompletion inference. Please override this attribute if you want to reprogram the agent.
  • description str - The description of the agent.
  • **kwargs dict - Please refer to other kwargs in ConversableAgent.