mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-05 07:55:18 +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:
|
||||
if field == "evaluator_type":
|
||||
continue
|
||||
elif val is None:
|
||||
continue
|
||||
kwargs[field] = val
|
||||
return kwargs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user