Home / Function/ input_keys() — langchain Function Reference

input_keys() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  dbe18f98_113b_e3ec_94bf_b18d78124d3f["input_keys()"]
  f3cef70e_11b0_61c9_7ec0_7308f4b45056["Chain"]
  dbe18f98_113b_e3ec_94bf_b18d78124d3f -->|defined in| f3cef70e_11b0_61c9_7ec0_7308f4b45056
  style dbe18f98_113b_e3ec_94bf_b18d78124d3f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/base.py lines 281–282

    def input_keys(self) -> list[str]:
        """Keys expected to be in the chain input."""

Subdomains

Frequently Asked Questions

What does input_keys() do?
input_keys() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/base.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/chains/base.py at line 281.

Analyze Your Own Codebase

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

Try Supermodel Free