langchain.js
    Preparing search index...

    Interface APIChainInput

    Interface that extends ChainInputs and defines additional input parameters specific to an APIChain.

    interface APIChainInput {
        apiAnswerChain: LLMChain;
        apiDocs: string;
        apiRequestChain: LLMChain;
        callbackManager?: any;
        headers?: Record<string, string>;
        inputKey?: string;
        outputKey?: string;
    }

    Hierarchy

    Implemented by

    Index

    Properties

    apiAnswerChain: LLMChain
    apiDocs: string
    apiRequestChain: LLMChain
    callbackManager?: any

    Use callbacks instead

    headers?: Record<string, string>
    inputKey?: string
    outputKey?: string

    Key to use for output, defaults to output