This commit is contained in:
Sai Soundararaj 2025-07-01 17:03:45 -07:00
parent 78ef9c605f
commit bcdb6fcc15
4 changed files with 26 additions and 8 deletions

View file

@ -22,6 +22,13 @@ class CommonBenchmarkFields(BaseModel):
@json_schema_type
class Benchmark(CommonBenchmarkFields, Resource):
"""A benchmark resource for evaluating model performance.
:param dataset_id: Identifier of the dataset to use for the benchmark evaluation
:param scoring_functions: List of scoring function identifiers to apply during evaluation
:param metadata: Metadata for this evaluation task
:param type: The resource type, always benchmark
"""
type: Literal[ResourceType.benchmark] = ResourceType.benchmark
@property