How to
📄️ RunnableParallel: Manipulating data
manipulating-inputs-output}
📄️ RunnablePassthrough: Passing data through
RunnablePassthrough allows to pass inputs unchanged or with the addition
📄️ RunnableLambda: Run Custom Functions
You can use arbitrary functions in the pipeline.
📄️ RunnableBranch: Dynamically route logic based on input
This notebook covers how to do routing in the LangChain Expression
📄️ Bind runtime args
Sometimes we want to invoke a Runnable within a Runnable sequence with
📄️ Configure chain internals at runtime
Oftentimes you may want to experiment with, or even expose to the end
📄️ Create a runnable with the `@chain` decorator
You can also turn an arbitrary function into a chain by adding a
📄️ Add fallbacks
There are many possible points of failure in an LLM application, whether
📄️ Stream custom generator functions
You can use generator functions (ie. functions that use the yield
📄️ Inspect your runnables
Once you create a runnable with LCEL, you may often want to inspect it
📄️ Add message history (memory)
The RunnableWithMessageHistory lets us add message history to certain