Interface SequentialChainInput

Interface for the input parameters of the SequentialChain class.

Hierarchy

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.

inputVariables: string[]

Defines which variables should be passed as initial input to the first chain.

callbackManager?: CallbackManager

Deprecated

Use callbacks instead

memory?: BaseMemory
outputVariables?: string[]

Which variables should be returned as a result of executing the chain. If not specified, output of the last of the chains is used.

returnAll?: boolean

Whether or not to return all intermediate outputs and variables (excluding initial input variables).

Generated using TypeDoc