Skip to main content

Chains & LCEL

Branching and Routing

0:00
LearnStep 1/4

RunnableBranch

Conditional Chain Execution

RunnableBranch routes input to different chains based on conditions.

Basic Syntax

python

Real-World Example: Language Router

python