input_schema() — langchain Function Reference
Architecture documentation for the input_schema() function in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 9f10c40d_1a35_2bbe_f0f3_ade9a50ddf54["input_schema()"] 4a62481c_02cb_a5de_1833_50669d5351a6["Runnable"] 9f10c40d_1a35_2bbe_f0f3_ade9a50ddf54 -->|defined in| 4a62481c_02cb_a5de_1833_50669d5351a6 08435009_1486_e4f9_5312_91db7c8545a0["get_input_schema()"] 9f10c40d_1a35_2bbe_f0f3_ade9a50ddf54 -->|calls| 08435009_1486_e4f9_5312_91db7c8545a0 style 9f10c40d_1a35_2bbe_f0f3_ade9a50ddf54 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/runnables/base.py lines 366–368
def input_schema(self) -> type[BaseModel]:
"""The type of input this `Runnable` accepts specified as a Pydantic model."""
return self.get_input_schema()
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does input_schema() do?
input_schema() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/base.py.
Where is input_schema() defined?
input_schema() is defined in libs/core/langchain_core/runnables/base.py at line 366.
What does input_schema() call?
input_schema() calls 1 function(s): get_input_schema.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free