WhatsAppAgent
fastagency.runtimes.autogen.agents.whatsapp.WhatsAppAgent #
WhatsAppAgent(
*args: Any,
name: str,
llm_config: dict[str, Any],
executor: Union[
ConversableAgent, list[ConversableAgent]
],
sender: str,
whatsapp_api_key: str,
**kwargs: Any
)
Bases: AssistantAgent
Initialize the WhatsAppAgent.
PARAMETER | DESCRIPTION |
---|---|
*args | The positional arguments. TYPE: |
name | The name of the agent. TYPE: |
llm_config | The LLM configuration. |
executor | The executor agent(s). |
sender | Number of the sender for WhatsApp API. TYPE: |
whatsapp_api_key | The WhatsApp API key TYPE: |
**kwargs | The keyword arguments. TYPE: |
Source code in fastagency/runtimes/autogen/agents/whatsapp.py
whatsapp_tool instance-attribute
#
whatsapp_tool = WhatsAppTool(
whatsapp_api_key=whatsapp_api_key
)