public interface PairwiseQuestionAnsweringQualityInstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getBaselinePrediction()
Required.
|
com.google.protobuf.ByteString |
getBaselinePredictionBytes()
Required.
|
String |
getContext()
Optional.
|
com.google.protobuf.ByteString |
getContextBytes()
Optional.
|
String |
getInstruction()
Required.
|
com.google.protobuf.ByteString |
getInstructionBytes()
Required.
|
String |
getPrediction()
Required.
|
com.google.protobuf.ByteString |
getPredictionBytes()
Required.
|
String |
getReference()
Optional.
|
com.google.protobuf.ByteString |
getReferenceBytes()
Optional.
|
boolean |
hasBaselinePrediction()
Required.
|
boolean |
hasContext()
Optional.
|
boolean |
hasInstruction()
Required.
|
boolean |
hasPrediction()
Required.
|
boolean |
hasReference()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasPrediction()
Required. Output of the candidate model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];String getPrediction()
Required. Output of the candidate model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getPredictionBytes()
Required. Output of the candidate model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasBaselinePrediction()
Required. Output of the baseline model.
optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];String getBaselinePrediction()
Required. Output of the baseline model.
optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getBaselinePredictionBytes()
Required. Output of the baseline model.
optional string baseline_prediction = 2 [(.google.api.field_behavior) = REQUIRED];boolean hasReference()
Optional. Ground truth used to compare against the prediction.
optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];String getReference()
Optional. Ground truth used to compare against the prediction.
optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getReferenceBytes()
Optional. Ground truth used to compare against the prediction.
optional string reference = 3 [(.google.api.field_behavior) = OPTIONAL];boolean hasContext()
Optional. Text to answer the question.
optional string context = 4 [(.google.api.field_behavior) = OPTIONAL];String getContext()
Optional. Text to answer the question.
optional string context = 4 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getContextBytes()
Optional. Text to answer the question.
optional string context = 4 [(.google.api.field_behavior) = OPTIONAL];boolean hasInstruction()
Required. Question Answering prompt for LLM.
optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];String getInstruction()
Required. Question Answering prompt for LLM.
optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getInstructionBytes()
Required. Question Answering prompt for LLM.
optional string instruction = 5 [(.google.api.field_behavior) = REQUIRED];Copyright © 2024 Google LLC. All rights reserved.