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
  eff5a83c_a231_93eb_991e_23a16d44c5fe["input_keys()"]
  b9a82d83_700a_c3c4_a4fd_29ab9cbe4112["APIChain"]
  eff5a83c_a231_93eb_991e_23a16d44c5fe -->|defined in| b9a82d83_700a_c3c4_a4fd_29ab9cbe4112
  0393cea2_16ff_2ed6_ebe5_2e7f4968843e["langchain_community()"]
  0393cea2_16ff_2ed6_ebe5_2e7f4968843e -->|calls| eff5a83c_a231_93eb_991e_23a16d44c5fe
  style eff5a83c_a231_93eb_991e_23a16d44c5fe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/api/base.py lines 225–227

        def input_keys(self) -> list[str]:
            """Expect input key."""
            return [self.question_key]

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/api/base.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/chains/api/base.py at line 225.
What calls input_keys()?
input_keys() is called by 1 function(s): langchain_community.

Analyze Your Own Codebase

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

Try Supermodel Free