Class PairwiseMetricSpec (1.80.0)

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

Attributes

Name Description
metric_prompt_template str
Required. Metric prompt template for pairwise metric. This field is a member of oneof_ _metric_prompt_template.
candidate_response_field_name str
Optional. The field name of the candidate response.
baseline_response_field_name str
Optional. The field name of the baseline response.
system_instruction str
Optional. System instructions for pairwise metric. This field is a member of oneof_ _system_instruction.

Methods

PairwiseMetricSpec

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