Interface SimpleSequentialChainInput

Deprecated

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

⚠️ Deprecated ⚠️

Use callbacks instead

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

It is not recommended for use.

memory?: any
trimOutputs?: boolean

Whether or not to trim the intermediate outputs.

Generated using TypeDoc