Interface PairwiseQuestionAnsweringQualityResultOrBuilder (3.41.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the confidence field is set.