Interface SimpleSequentialChainInput

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

interface SimpleSequentialChainInput {
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    chains: BaseChain<ChainValues, ChainValues>[];
    memory?: BaseMemory;
    metadata?: Record<string, unknown>;
    tags?: string[];
    trimOutputs?: boolean;
    verbose?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

callbackManager?: CallbackManager

Use callbacks instead

callbacks?: Callbacks
chains: BaseChain<ChainValues, ChainValues>[]

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

memory?: BaseMemory
metadata?: Record<string, unknown>
tags?: string[]
trimOutputs?: boolean

Whether or not to trim the intermediate outputs.

verbose?: boolean