Interface SimpleSequentialChainInput

Switch to expression language: https://js.langchain.com/docs/expression_language/ Interface for the input parameters of the SimpleSequentialChain class.

interface SimpleSequentialChainInput {
    chains: BaseChain<ChainValues, ChainValues>[];
    callbackManager?: any;
    memory?: any;
    trimOutputs?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

chains: BaseChain<ChainValues, ChainValues>[]

Array of chains to run as a sequence. The chains are run in order they appear in the array.

callbackManager?: any

Use callbacks instead

memory?: any
trimOutputs?: boolean

Whether or not to trim the intermediate outputs.