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
  4ecfb38d_304d_4891_1d2d_e1627ae1fbd6["input_keys()"]
  26b82b02_a8ed_6746_a5bb_47d69953b766["ExactMatchStringEvaluator"]
  4ecfb38d_304d_4891_1d2d_e1627ae1fbd6 -->|defined in| 26b82b02_a8ed_6746_a5bb_47d69953b766
  style 4ecfb38d_304d_4891_1d2d_e1627ae1fbd6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/evaluation/exact_match/base.py lines 57–63

    def input_keys(self) -> list[str]:
        """Get the input keys.

        Returns:
            The input keys.
        """
        return ["reference", "prediction"]

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free