Home / Function/ input_keys() — langchain Function Reference

input_keys() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1f8d05e7_9a50_ba11_3f5e_938bf022930b["input_keys()"]
  5201e8ad_1740_ce23_1ab6_cafdbc91f78c["MapReduceChain"]
  1f8d05e7_9a50_ba11_3f5e_938bf022930b -->|defined in| 5201e8ad_1740_ce23_1ab6_cafdbc91f78c
  style 1f8d05e7_9a50_ba11_3f5e_938bf022930b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/mapreduce.py lines 89–91

    def input_keys(self) -> list[str]:
        """Expect input key."""
        return [self.input_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/mapreduce.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/chains/mapreduce.py at line 89.

Analyze Your Own Codebase

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

Try Supermodel Free