"human"
will set critic as a :obj:Human
agent, else will create a :obj:CriticAgent
. (default: :obj:"critic"
)""
)True
)False
)False
)OpenAIModel
with GPT_4O_MINI
)TaskType.AI_SOCIETY
)None
)None
)None
)None
)None
)None
)None
)None
)None
)None
)None
)None
)None
)None
)None
)None
)BaseMessage
representing the assistant’s initial system
message, a BaseMessage
representing the user’s initial system
message, and a list of system message meta dicts.
None
)None
)None
)None
)"human"
,
create a :obj:Human
critic agent. Else, create a :obj:CriticAgent
critic agent with specified critic criteria. If the critic criteria
is not specified, set it to improve task performance.
Parameters:
None
)None
)with_critic_in_the_loop
is False
, raises a ValueError
.
If no messages are provided, a ValueError
will be raised.
Parameters:
BaseMessage
objects to process.BaseMessage
representing the processed
message.
None
)BaseMessage
representing the initial
message.
BaseMessage
representing the message from the assistant.False
)