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