Home / Function/ input_keys() — langchain Function Reference

input_keys() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  14347cb3_4317_0dde_dd1d_dd89533833be["input_keys()"]
  7144c443_e893_b66a_5e9b_98c6b8dbbaac["TransformChain"]
  14347cb3_4317_0dde_dd1d_dd89533833be -->|defined in| 7144c443_e893_b66a_5e9b_98c6b8dbbaac
  style 14347cb3_4317_0dde_dd1d_dd89533833be fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/transform.py lines 50–52

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

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/transform.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/chains/transform.py at line 50.

Analyze Your Own Codebase

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

Try Supermodel Free