Interface RubricVerdictOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RubricVerdict,RubricVerdict.Builder
@Generated
public interface RubricVerdictOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Optional.com.google.protobuf.ByteStringOptional.booleanRequired.booleanRequired.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEvaluatedRubric
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:
- Whether the evaluatedRubric field is set.
-
getEvaluatedRubric
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:
- The evaluatedRubric.
-
getEvaluatedRubricOrBuilder
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; -
getVerdict
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:
- The verdict.
-
hasReasoning
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:
- Whether the reasoning field is set.
-
getReasoning
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:
- The reasoning.
-
getReasoningBytes
com.google.protobuf.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:
- The bytes for reasoning.
-