PairwiseMetricSpec

Spec for pairwise metric.

Fields
candidateResponseFieldName string

Optional. The field name of the candidate response.

baselineResponseFieldName string

Optional. The field name of the baseline response.

metricPromptTemplate string

Required. Metric prompt template for pairwise metric.

systemInstruction string

Optional. System instructions for pairwise metric.

JSON representation
{
  "candidateResponseFieldName": string,
  "baselineResponseFieldName": string,
  "metricPromptTemplate": string,
  "systemInstruction": string
}