LLamaIndexConversableAgent

class LLamaIndexConversableAgent(ConversableAgent)

__init__

def __init__(name: str,
             llama_index_agent: AgentRunner,
             description: Optional[str] = None,
             **kwargs)

Arguments:

  • name str - agent name.
  • llama_index_agent AgentRunner - llama index agent. Please override this attribute if you want to reprogram the agent.
  • description str - 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.
  • **kwargs dict - Please refer to other kwargs in ConversableAgent.