RouterInput#

class langchain_core.runnables.router.RouterInput[source]#

Router input.

key: str#

The key to route on.

input: Any#

The input to pass to the selected Runnable.