agentchat.contrib.llamaindex_conversable_agent
LLamaIndexConversableAgent
class LLamaIndexConversableAgent(ConversableAgent)
__init__
def __init__(name: str,
llama_index_agent: AgentRunner,
description: Optional[str] = None,
**kwargs)
Arguments:
namestr - agent name.llama_index_agentAgentRunner - llama index agent. Please override this attribute if you want to reprogram the agent.descriptionstr - a short description of the agent. This description is used by other agents (e.g. the GroupChatManager) to decide when to call upon this agent.**kwargsdict - Please refer to other kwargs in ConversableAgent.