CreateXmlAgentParams: {
    llm: BaseLanguageModelInterface;
    prompt: BasePromptTemplate;
    tools: ToolInterface[];
    streamRunnable?: boolean;
}

Params used by the createXmlAgent function.

Type declaration

  • llm: BaseLanguageModelInterface

    LLM to use for the agent.

  • prompt: BasePromptTemplate

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

  • tools: ToolInterface[]

    Tools this agent has access to.

  • Optional streamRunnable?: boolean

    Whether to invoke the underlying model in streaming mode, allowing streaming of intermediate steps. Defaults to true.

Generated using TypeDoc