Study
LangChain · Chains and LCEL
The LangChain Expression Language: composing Runnables with |, parallel branches, passthroughs, output parsers, and the invoke/batch/stream methods every chain inherits.
- With LCEL, prompt
- model
- parser is itself a Runnable, so it gets invoke, batch and stream for free.
- RunnableParallel runs several branches on the same input and returns a dict.