mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 04:55:14 +00:00
don't emit none from eval config (#9963)
This commit is contained in:
@@ -48,6 +48,8 @@ class EvalConfig(BaseModel):
|
|||||||
for field, val in self:
|
for field, val in self:
|
||||||
if field == "evaluator_type":
|
if field == "evaluator_type":
|
||||||
continue
|
continue
|
||||||
|
elif val is None:
|
||||||
|
continue
|
||||||
kwargs[field] = val
|
kwargs[field] = val
|
||||||
return kwargs
|
return kwargs
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user