Function initializeAgentExecutorWithOptions

  • Initialize an agent executor with options

    Parameters

    • tools: StructuredTool<ZodObject<any, any, any, any, {}>>[]

      Array of tools to use in the agent

    • llm: BaseLanguageModel<any, BaseLanguageModelCallOptions>

      LLM or ChatModel to use in the agent

    • options: InitializeAgentExecutorOptionsStructured

      Options for the agent, including agentType, agentArgs, and other options for AgentExecutor.fromAgentAndTools

    Returns Promise<AgentExecutor>

    AgentExecutor

  • Parameters

    Returns Promise<AgentExecutor>

Generated using TypeDoc