RouterInput Class — langchain Architecture
Architecture documentation for the RouterInput class in router.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 79e9b20f_795a_626f_2cd6_e651a70d1887["RouterInput"] 54bde527_a6b3_f948_1582_9551c5e53513["router.py"] 79e9b20f_795a_626f_2cd6_e651a70d1887 -->|defined in| 54bde527_a6b3_f948_1582_9551c5e53513
Relationship Graph
Source Code
libs/core/langchain_core/runnables/router.py lines 37–43
class RouterInput(TypedDict):
"""Router input."""
key: str
"""The key to route on."""
input: Any
"""The input to pass to the selected `Runnable`."""
Defined In
Source
Frequently Asked Questions
What is the RouterInput class?
RouterInput is a class in the langchain codebase, defined in libs/core/langchain_core/runnables/router.py.
Where is RouterInput defined?
RouterInput is defined in libs/core/langchain_core/runnables/router.py at line 37.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free