mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
601 B
601 B
Key Concepts
Chains
A chain is made up of links, which can be either primitives or other chains. They vary greatly in complexity and are combination of generic, highly configurable pipelines and more narrow (but usually more complex) pipelines.
Sequential Chain
This is a specific type of chain where multiple other chains are run in sequence, with the outputs being added as inputs
to the next. A subtype of this type of chain is the SimpleSequentialChain
, where all subchains have only one input and one output,
and the output of one is therefore used as sole input to the next chain.