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
  879cf35c_7f5d_65b0_b9fe_f985a60f48a6["input_keys()"]
  bff7d7ab_1e8c_c321_eeec_49e7e15eca13["StringDistanceEvalChain"]
  879cf35c_7f5d_65b0_b9fe_f985a60f48a6 -->|defined in| bff7d7ab_1e8c_c321_eeec_49e7e15eca13
  d7f8913c_9231_a53d_478d_90fc1499618e["input_keys()"]
  d7f8913c_9231_a53d_478d_90fc1499618e -->|calls| 879cf35c_7f5d_65b0_b9fe_f985a60f48a6
  d7f8913c_9231_a53d_478d_90fc1499618e["input_keys()"]
  879cf35c_7f5d_65b0_b9fe_f985a60f48a6 -->|calls| d7f8913c_9231_a53d_478d_90fc1499618e
  style 879cf35c_7f5d_65b0_b9fe_f985a60f48a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/evaluation/string_distance/base.py lines 198–204

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

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

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does input_keys() do?
input_keys() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/evaluation/string_distance/base.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/evaluation/string_distance/base.py at line 198.
What does input_keys() call?
input_keys() calls 1 function(s): input_keys.
What calls input_keys()?
input_keys() is called by 1 function(s): input_keys.

Analyze Your Own Codebase

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

Try Supermodel Free