requires_reference() — langchain Function Reference
Architecture documentation for the requires_reference() function in schema.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD a707a026_9e7c_9d89_5137_ef8b21f72279["requires_reference()"] 3bfa222e_74bd_6c80_db4a_a3d3a09b5e7b["StringEvaluator"] a707a026_9e7c_9d89_5137_ef8b21f72279 -->|defined in| 3bfa222e_74bd_6c80_db4a_a3d3a09b5e7b afc2dc22_364c_dd4c_13c6_97c1af2dfdb9["requires_reference()"] afc2dc22_364c_dd4c_13c6_97c1af2dfdb9 -->|calls| a707a026_9e7c_9d89_5137_ef8b21f72279 afc2dc22_364c_dd4c_13c6_97c1af2dfdb9["requires_reference()"] a707a026_9e7c_9d89_5137_ef8b21f72279 -->|calls| afc2dc22_364c_dd4c_13c6_97c1af2dfdb9 style a707a026_9e7c_9d89_5137_ef8b21f72279 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/evaluation/schema.py lines 149–151
def requires_reference(self) -> bool:
"""Whether this evaluator requires a reference label."""
return False
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does requires_reference() do?
requires_reference() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/evaluation/schema.py.
Where is requires_reference() defined?
requires_reference() is defined in libs/langchain/langchain_classic/evaluation/schema.py at line 149.
What does requires_reference() call?
requires_reference() calls 1 function(s): requires_reference.
What calls requires_reference()?
requires_reference() is called by 1 function(s): requires_reference.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free