mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
don't emit none from eval config (#9963)
This commit is contained in:
parent
8fb0a9594c
commit
cedfad541d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user