Package com.google.cloud.aiplatform.v1
Interface PairwiseQuestionAnsweringQualityInstanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PairwiseQuestionAnsweringQualityInstance,PairwiseQuestionAnsweringQualityInstance.Builder
@Generated
public interface PairwiseQuestionAnsweringQualityInstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.booleanRequired.booleanRequired.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
-
hasPrediction
boolean hasPrediction()Required. Output of the candidate model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the prediction field is set.
-
getPrediction
String getPrediction()Required. Output of the candidate model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The prediction.
-
getPredictionBytes
com.google.protobuf.ByteString getPredictionBytes()Required. Output of the candidate model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for prediction.
-
hasBaselinePrediction
boolean hasBaselinePrediction()Required. Output of the baseline model.
optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the baselinePrediction field is set.
-
getBaselinePrediction
String getBaselinePrediction()Required. Output of the baseline model.
optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The baselinePrediction.
-
getBaselinePredictionBytes
com.google.protobuf.ByteString getBaselinePredictionBytes()Required. Output of the baseline model.
optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for baselinePrediction.
-
hasReference
boolean hasReference()Optional. Ground truth used to compare against the prediction.
optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the reference field is set.
-
getReference
String getReference()Optional. Ground truth used to compare against the prediction.
optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The reference.
-
getReferenceBytes
com.google.protobuf.ByteString getReferenceBytes()Optional. Ground truth used to compare against the prediction.
optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for reference.
-
hasContext
boolean hasContext()Required. Text to answer the question.
optional string context = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the context field is set.
-
getContext
String getContext()Required. Text to answer the question.
optional string context = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The context.
-
getContextBytes
com.google.protobuf.ByteString getContextBytes()Required. Text to answer the question.
optional string context = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for context.
-
hasInstruction
boolean hasInstruction()Required. Question Answering prompt for LLM.
optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the instruction field is set.
-
getInstruction
String getInstruction()Required. Question Answering prompt for LLM.
optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The instruction.
-
getInstructionBytes
com.google.protobuf.ByteString getInstructionBytes()Required. Question Answering prompt for LLM.
optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for instruction.
-