Builder
Builder for PairwiseMetricSpec.
Functions
Link copied to clipboard
public abstract PairwiseMetricSpec.Builder baselineResponseFieldName(String baselineResponseFieldName)
Setter for baselineResponseFieldName.
Link copied to clipboard
Link copied to clipboard
public abstract PairwiseMetricSpec.Builder candidateResponseFieldName(String candidateResponseFieldName)
Setter for candidateResponseFieldName.
Link copied to clipboard
Clears the value of baselineResponseFieldName field.
Link copied to clipboard
Clears the value of candidateResponseFieldName field.
Link copied to clipboard
Clears the value of customOutputFormatConfig field.
Link copied to clipboard
Clears the value of metricPromptTemplate field.
Link copied to clipboard
Clears the value of systemInstruction field.
Link copied to clipboard
public abstract PairwiseMetricSpec.Builder customOutputFormatConfig(CustomOutputFormatConfig customOutputFormatConfig)
Setter for customOutputFormatConfig.
@CanIgnoreReturnValue()
Setter for customOutputFormatConfig builder.
Link copied to clipboard
Setter for metricPromptTemplate.
Link copied to clipboard
Setter for systemInstruction.