config field doc

This commit is contained in:
Xi Yan 2024-11-05 16:06:02 -08:00
parent be0649d79d
commit f3955d04d7

View file

@ -72,7 +72,10 @@ class ScoringFnDef(BaseModel):
return_type: ParamType = Field(
description="The return type of the deterministic function",
)
config: Optional[ScoringFnConfig] = None # type: ignore
config: Optional[ScoringFnConfig] = Field( # type: ignore
description="The configuration for the scoring function for benchmark eval, we could override this for app eval",
default=None,
)
# We can optionally add information here to support packaging of code, etc.