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

interface APIChainInput {
    apiAnswerChain: LLMChain<string, LLMType>;
    apiDocs: string;
    apiRequestChain: LLMChain<string, LLMType>;
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    headers?: Record<string, string>;
    inputKey?: string;
    metadata?: Record<string, unknown>;
    outputKey?: string;
    tags?: string[];
    verbose?: boolean;
}

Hierarchy

Implemented by

Properties

apiAnswerChain: LLMChain<string, LLMType>
apiDocs: string
apiRequestChain: LLMChain<string, LLMType>
callbackManager?: CallbackManager

Use callbacks instead

callbacks?: Callbacks
headers?: Record<string, string>
inputKey?: string
metadata?: Record<string, unknown>
outputKey?: string

Key to use for output, defaults to output

tags?: string[]
verbose?: boolean