File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/langchain/langchain/evaluation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ def _check_evaluation_args(
120
120
ValueError: If the evaluator requires an input string but none is provided,
121
121
or if the evaluator requires a reference label but none is provided.
122
122
"""
123
- if self .requires_input and input is None :
123
+ if self .requires_input and input_ is None :
124
124
msg = f"{ self .__class__ .__name__ } requires an input string."
125
125
raise ValueError (msg )
126
- if input is not None and not self .requires_input :
126
+ if input_ is not None and not self .requires_input :
127
127
warn (self ._skip_input_warning )
128
128
if self .requires_reference and reference is None :
129
129
msg = f"{ self .__class__ .__name__ } requires a reference string."
You can’t perform that action at this time.
0 commit comments