better doc

This commit is contained in:
Xi Yan 2025-03-12 21:34:49 -07:00
parent 18796c215a
commit 783f8890b1

View file

@ -239,7 +239,7 @@ class ScoringFnTypeInfo(BaseModel):
type: ScoringFunctionType type: ScoringFunctionType
description: str description: str
supported_purposes: List[DatasetPurpose] = Field( supported_purposes: List[DatasetPurpose] = Field(
description="The purposes that this scoring function can be used for", description="The supported purposes (supported dataset schema) that this scoring function can be used for. E.g. eval/question-answer",
default_factory=list, default_factory=list,
) )