Array of chains to run as a sequence. The chains are run in order they appear in the array.
Defines which variables should be passed as initial input to the first chain.
Optional
memoryWhich variables should be returned as a result of executing the chain. If not specified, output of the last of the chains is used.
Optional
returnWhether or not to return all intermediate outputs and variables (excluding initial input variables).
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
deserializeStatic
lc_
Chain where the outputs of one chain feed directly into next.
Example
Deprecated
Switch to expression language. Will be removed in 0.2.0