Home / Function/ get_input_schema() — langchain Function Reference

get_input_schema() — langchain Function Reference

Architecture documentation for the get_input_schema() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  cd2ce9db_7fd1_ff65_a2bd_147263712c09["get_input_schema()"]
  c4bf8d59_69f9_f8e5_efba_837c20df2360["RunnableSequence"]
  cd2ce9db_7fd1_ff65_a2bd_147263712c09 -->|defined in| c4bf8d59_69f9_f8e5_efba_837c20df2360
  c8bd8362_9dd6_070b_c5ea_3aab6b90bcfb["_seq_input_schema()"]
  cd2ce9db_7fd1_ff65_a2bd_147263712c09 -->|calls| c8bd8362_9dd6_070b_c5ea_3aab6b90bcfb
  style cd2ce9db_7fd1_ff65_a2bd_147263712c09 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/runnables/base.py lines 2994–3004

    def get_input_schema(self, config: RunnableConfig | None = None) -> type[BaseModel]:
        """Get the input schema of the `Runnable`.

        Args:
            config: The config to use.

        Returns:
            The input schema of the `Runnable`.

        """
        return _seq_input_schema(self.steps, config)

Domain

Subdomains

Frequently Asked Questions

What does get_input_schema() do?
get_input_schema() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/base.py.
Where is get_input_schema() defined?
get_input_schema() is defined in libs/core/langchain_core/runnables/base.py at line 2994.
What does get_input_schema() call?
get_input_schema() calls 1 function(s): _seq_input_schema.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free