Interface EvaluationResult.ScenarioRubricOutcomeOrBuilder (0.3.0)

public static interface EvaluationResult.ScenarioRubricOutcomeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRubric()

public abstract String getRubric()

Output only. The rubric that was used to evaluate the conversation.

string rubric = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The rubric.

getRubricBytes()

public abstract ByteString getRubricBytes()

Output only. The rubric that was used to evaluate the conversation.

string rubric = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for rubric.

getScore()

public abstract float getScore()

Output only. The score of the conversation against the rubric.

optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The score.

getScoreExplanation()

public abstract String getScoreExplanation()

Output only. The rater's response to the rubric.

string score_explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The scoreExplanation.

getScoreExplanationBytes()

public abstract ByteString getScoreExplanationBytes()

Output only. The rater's response to the rubric.

string score_explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for scoreExplanation.

hasScore()

public abstract boolean hasScore()

Output only. The score of the conversation against the rubric.

optional float score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the score field is set.