Class PredefinedMetricSpec (1.158.0)

PredefinedMetricSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The spec for a pre-defined metric.

Attributes

Name Description
metric_spec_name str
Required. The name of a pre-defined metric, such as "instruction_following_v1" or "text_quality_v1".
metric_spec_parameters google.protobuf.struct_pb2.Struct
Optional. The parameters needed to run the pre-defined metric.

Methods

PredefinedMetricSpec

PredefinedMetricSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The spec for a pre-defined metric.