langchain.js
    Preparing search index...

    Type Alias CreateXmlAgentParams

    Params used by the createXmlAgent function.

    type CreateXmlAgentParams = {
        llm: Toolkit;
        prompt: Toolkit;
        streamRunnable?: boolean;
        tools: Toolkit[];
    }
    Index

    Properties

    llm: Toolkit

    LLM to use for the agent.

    prompt: Toolkit

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

    streamRunnable?: boolean

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

    tools: Toolkit[]

    Tools this agent has access to.