langchain.js
    Preparing search index...

    Interface LLMChainInput<T, Model>

    Interface for the input parameters of the LLMChain class.

    interface LLMChainInput<
        T extends string
        | object = string,
        Model extends LLMType = LLMType,
    > {
        callbackManager?: any;
        llm: Model;
        llmKwargs?: CallOptionsIfAvailable<Model>;
        memory?: any;
        outputKey?: string;
        outputParser?: any;
        prompt: BasePromptTemplate;
    }

    Type Parameters

    • T extends string | object = string
    • Model extends LLMType = LLMType

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    callbackManager?: any

    Use callbacks instead

    llm: Model

    LLM Wrapper to use

    llmKwargs?: CallOptionsIfAvailable<Model>

    Kwargs to pass to LLM

    memory?: any
    outputKey?: string

    Key to use for output, defaults to text

    outputParser?: any

    OutputParser to use

    prompt: BasePromptTemplate

    Prompt object to use