Type alias CreateReactAgentParams

CreateReactAgentParams: {
    llm: Toolkit;
    prompt: Toolkit;
    tools: Toolkit[];
}

Params used by the createXmlAgent function.

Type declaration

  • llm: Toolkit

    LLM to use for the agent.

  • prompt: Toolkit

    The prompt to use. Must have input keys for tools, tool_names, and agent_scratchpad.

  • tools: Toolkit[]

    Tools this agent has access to.

Generated using TypeDoc