Interface RubricVerdictOrBuilder (3.100.0)

public interface RubricVerdictOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvaluatedRubric()

public abstract Rubric getEvaluatedRubric()

Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.

.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;

Returns
Type Description
Rubric

The evaluatedRubric.

getEvaluatedRubricOrBuilder()

public abstract RubricOrBuilder getEvaluatedRubricOrBuilder()

Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.

.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;

Returns
Type Description
RubricOrBuilder

getReasoning()

public abstract String getReasoning()

Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.

optional string reasoning = 3;

Returns
Type Description
String

The reasoning.

getReasoningBytes()

public abstract ByteString getReasoningBytes()

Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.

optional string reasoning = 3;

Returns
Type Description
ByteString

The bytes for reasoning.

getVerdict()

public abstract boolean getVerdict()

Required. Outcome of the evaluation against the rubric, represented as a boolean. true indicates a "Pass", false indicates a "Fail".

bool verdict = 2;

Returns
Type Description
boolean

The verdict.

hasEvaluatedRubric()

public abstract boolean hasEvaluatedRubric()

Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated.

.google.cloud.aiplatform.v1beta1.Rubric evaluated_rubric = 1;

Returns
Type Description
boolean

Whether the evaluatedRubric field is set.

hasReasoning()

public abstract boolean hasReasoning()

Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.

optional string reasoning = 3;

Returns
Type Description
boolean

Whether the reasoning field is set.