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
  f71b6173_772e_1368_dc94_190761443715["input_keys()"]
  12a7d7c3_a442_0a1c_99c0_b2002afd1515["RegexMatchStringEvaluator"]
  f71b6173_772e_1368_dc94_190761443715 -->|defined in| 12a7d7c3_a442_0a1c_99c0_b2002afd1515
  style f71b6173_772e_1368_dc94_190761443715 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/evaluation/regex_match/base.py lines 52–58

    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/regex_match/base.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/evaluation/regex_match/base.py at line 52.

Analyze Your Own Codebase

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

Try Supermodel Free