You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we only support evaluating a single metric. If multiple metrics
4733
-
are provided, only the first one will be evaluated."""
4746
+
metrics_sources: Optional[list[MetricDict]]
4747
+
"""The metrics used for evaluation. Each can be an inline configuration or a registered metric resource name."""
4734
4748
4735
4749
instance: Optional[EvaluationInstanceDict]
4736
4750
"""The instance to be evaluated."""
@@ -5354,6 +5368,10 @@ class _GenerateInstanceRubricsRequest(_common.BaseModel):
5354
5368
default=None,
5355
5369
description="""Specification for how the rubrics should be generated.""",
5356
5370
)
5371
+
metric_resource_name: Optional[str] = Field(
5372
+
default=None,
5373
+
description="""Registered metric resource name. If this field is set, the configuration provided in this field is used for rubric generation. The `predefined_rubric_generation_spec` and `rubric_generation_spec` fields will be ignored.""",
"""Specification for how the rubrics should be generated."""
5376
5394
5395
+
metric_resource_name: Optional[str]
5396
+
"""Registered metric resource name. If this field is set, the configuration provided in this field is used for rubric generation. The `predefined_rubric_generation_spec` and `rubric_generation_spec` fields will be ignored."""
0 commit comments