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

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

Hierarchy

Implemented by

Properties

apiAnswerChain: LLMChain<string, any>
apiDocs: string
apiRequestChain: LLMChain<string, any>
callbackManager?: any

⚠️ Deprecated ⚠️

Use callbacks instead

This feature is deprecated and will be removed in the future.

It is not recommended for use.

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

Key to use for output, defaults to output

Generated using TypeDoc