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 4adc8139_7fdb_abc9_b48a_cc91d5bfa336["input_keys()"] e6333041_afe4_af13_ee74_a7ac732f022f["EmbeddingDistanceEvalChain"] 4adc8139_7fdb_abc9_b48a_cc91d5bfa336 -->|defined in| e6333041_afe4_af13_ee74_a7ac732f022f b2d77581_9b1a_5afb_5480_df373f3f59f5["input_keys()"] b2d77581_9b1a_5afb_5480_df373f3f59f5 -->|calls| 4adc8139_7fdb_abc9_b48a_cc91d5bfa336 b2d77581_9b1a_5afb_5480_df373f3f59f5["input_keys()"] 4adc8139_7fdb_abc9_b48a_cc91d5bfa336 -->|calls| b2d77581_9b1a_5afb_5480_df373f3f59f5 style 4adc8139_7fdb_abc9_b48a_cc91d5bfa336 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/evaluation/embedding_distance/base.py lines 374–380
def input_keys(self) -> list[str]:
"""Return the input keys of the chain.
Returns:
The input keys.
"""
return ["prediction", "reference"]
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/embedding_distance/base.py.
Where is input_keys() defined?
input_keys() is defined in libs/langchain/langchain_classic/evaluation/embedding_distance/base.py at line 374.
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