ChatAgent()
class.
In this notebook, youβll explore:
ChatAgent()
class is a cornerstone of CAMEL π«. We design our agent with the spirit to answer the following question:
Can we design an autonomous communicative agent capable of steering the conversation toward task completion with minimal human supervision?In our current implementation, we consider agents with the following key features:
ChatAgent
instance by simply initialize it with a system message and interact with user messages.
ModelFactory
to set up the backend model for agent, for more detailed model settings, please go to our model documentation.
ChatAgent
.step()
ChatHistoryMemory
, allowing agents to do in-context learning, though restricted by the finite window length.
Assume that you have followed the setup in Quick Start. Letβs first check what is inside its brain.
BaseMessage
; for example, use one new user message:
ChatAgent
class offers several useful initialization options, including model_type
, model_config
, memory
, message_window_size
, token_limit
, output_language
, tools
, and response_terminators
.
ChatAgent()
and itβs features.
Key tools utilized in this notebook include: