mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-02 19:47:13 +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