Array of chains to run as a sequence. The chains are run in order they appear in the array.
Optional
memoryWhether or not to trim the intermediate outputs.
Return the string type key uniquely identifying this class of chain.
Protected
_Invoke the chain with the provided input and returns the output.
Input values for the chain run.
Optional
options: anyPromise that resolves with the output of the chain run.
Return a json-like object representing this chain.
Static
deserializeLoad a chain from a json-like object describing it.
Static
lc_
Deprecated
Switch to expression language: https://js.langchain.com/docs/expression_language/ Simple chain where a single string output of one chain is fed directly into the next.
Example