Interface PairwiseSummarizationQualityInstanceOrBuilder (3.44.0)

public interface PairwiseSummarizationQualityInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaselinePrediction()

public abstract String getBaselinePrediction()

Required. Output of the baseline model.

optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The baselinePrediction.

getBaselinePredictionBytes()

public abstract ByteString getBaselinePredictionBytes()

Required. Output of the baseline model.

optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for baselinePrediction.

getContext()

public abstract String getContext()

Required. Text to be summarized.

optional string context = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The context.

getContextBytes()

public abstract ByteString getContextBytes()

Required. Text to be summarized.

optional string context = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for context.

getInstruction()

public abstract String getInstruction()

Required. Summarization prompt for LLM.

optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instruction.

getInstructionBytes()

public abstract ByteString getInstructionBytes()

Required. Summarization prompt for LLM.

optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instruction.

getPrediction()

public abstract String getPrediction()

Required. Output of the candidate model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The prediction.

getPredictionBytes()

public abstract ByteString getPredictionBytes()

Required. Output of the candidate model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for prediction.

getReference()

public abstract String getReference()

Optional. Ground truth used to compare against the prediction.

optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The reference.

getReferenceBytes()

public abstract ByteString getReferenceBytes()

Optional. Ground truth used to compare against the prediction.

optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for reference.

hasBaselinePrediction()

public abstract boolean hasBaselinePrediction()

Required. Output of the baseline model.

optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the baselinePrediction field is set.

hasContext()

public abstract boolean hasContext()

Required. Text to be summarized.

optional string context = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the context field is set.

hasInstruction()

public abstract boolean hasInstruction()

Required. Summarization prompt for LLM.

optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instruction field is set.

hasPrediction()

public abstract boolean hasPrediction()

Required. Output of the candidate model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the prediction field is set.

hasReference()

public abstract boolean hasReference()

Optional. Ground truth used to compare against the prediction.

optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reference field is set.