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 d7f8913c_9231_a53d_478d_90fc1499618e["input_keys()"] 673d639d_36b0_87dd_ead9_5b65d00daaca["PairwiseStringDistanceEvalChain"] d7f8913c_9231_a53d_478d_90fc1499618e -->|defined in| 673d639d_36b0_87dd_ead9_5b65d00daaca 879cf35c_7f5d_65b0_b9fe_f985a60f48a6["input_keys()"] 879cf35c_7f5d_65b0_b9fe_f985a60f48a6 -->|calls| d7f8913c_9231_a53d_478d_90fc1499618e 879cf35c_7f5d_65b0_b9fe_f985a60f48a6["input_keys()"] d7f8913c_9231_a53d_478d_90fc1499618e -->|calls| 879cf35c_7f5d_65b0_b9fe_f985a60f48a6 style d7f8913c_9231_a53d_478d_90fc1499618e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/evaluation/string_distance/base.py lines 329–335
def input_keys(self) -> list[str]:
"""Get the input keys.
Returns:
The input keys.
"""
return ["prediction", "prediction_b"]
Domain
Subdomains
Calls
Called By
Source
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 329.
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