Interface PairwiseQuestionAnsweringQualityResultOrBuilder (3.47.0)

public interface PairwiseQuestionAnsweringQualityResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidence()

public abstract float getConfidence()

Output only. Confidence for question answering quality score.

optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The confidence.

getExplanation()

public abstract String getExplanation()

Output only. Explanation for question answering quality score.

string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The explanation.

getExplanationBytes()

public abstract ByteString getExplanationBytes()

Output only. Explanation for question answering quality score.

string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for explanation.

getPairwiseChoice()

public abstract PairwiseChoice getPairwiseChoice()

Output only. Pairwise question answering prediction choice.

.google.cloud.aiplatform.v1beta1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PairwiseChoice

The pairwiseChoice.

getPairwiseChoiceValue()

public abstract int getPairwiseChoiceValue()

Output only. Pairwise question answering prediction choice.

.google.cloud.aiplatform.v1beta1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for pairwiseChoice.

hasConfidence()

public abstract boolean hasConfidence()

Output only. Confidence for question answering quality score.

optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the confidence field is set.