@Generated
public interface LLMBasedMetricSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Struct |
getAdditionalConfig()
Optional.
|
com.google.protobuf.StructOrBuilder |
getAdditionalConfigOrBuilder()
Optional.
|
AutoraterConfig |
getJudgeAutoraterConfig()
Optional.
|
AutoraterConfigOrBuilder |
getJudgeAutoraterConfigOrBuilder()
Optional.
|
String |
getMetricPromptTemplate()
Required.
|
com.google.protobuf.ByteString |
getMetricPromptTemplateBytes()
Required.
|
PredefinedMetricSpec |
getPredefinedRubricGenerationSpec()
Dynamically generate rubrics using a predefined spec.
|
PredefinedMetricSpecOrBuilder |
getPredefinedRubricGenerationSpecOrBuilder()
Dynamically generate rubrics using a predefined spec.
|
String |
getRubricGroupKey()
Use a pre-defined group of rubrics associated with the input.
|
com.google.protobuf.ByteString |
getRubricGroupKeyBytes()
Use a pre-defined group of rubrics associated with the input.
|
LLMBasedMetricSpec.RubricsSourceCase |
getRubricsSourceCase() |
String |
getSystemInstruction()
Optional.
|
com.google.protobuf.ByteString |
getSystemInstructionBytes()
Optional.
|
boolean |
hasAdditionalConfig()
Optional.
|
boolean |
hasJudgeAutoraterConfig()
Optional.
|
boolean |
hasMetricPromptTemplate()
Required.
|
boolean |
hasPredefinedRubricGenerationSpec()
Dynamically generate rubrics using a predefined spec.
|
boolean |
hasRubricGroupKey()
Use a pre-defined group of rubrics associated with the input.
|
boolean |
hasSystemInstruction()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasRubricGroupKey()
Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.
string rubric_group_key = 4;String getRubricGroupKey()
Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.
string rubric_group_key = 4;com.google.protobuf.ByteString getRubricGroupKeyBytes()
Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.
string rubric_group_key = 4;boolean hasPredefinedRubricGenerationSpec()
Dynamically generate rubrics using a predefined spec.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 6;
PredefinedMetricSpec getPredefinedRubricGenerationSpec()
Dynamically generate rubrics using a predefined spec.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 6;
PredefinedMetricSpecOrBuilder getPredefinedRubricGenerationSpecOrBuilder()
Dynamically generate rubrics using a predefined spec.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 6;
boolean hasMetricPromptTemplate()
Required. Template for the prompt sent to the judge model.
optional string metric_prompt_template = 1 [(.google.api.field_behavior) = REQUIRED];
String getMetricPromptTemplate()
Required. Template for the prompt sent to the judge model.
optional string metric_prompt_template = 1 [(.google.api.field_behavior) = REQUIRED];
com.google.protobuf.ByteString getMetricPromptTemplateBytes()
Required. Template for the prompt sent to the judge model.
optional string metric_prompt_template = 1 [(.google.api.field_behavior) = REQUIRED];
boolean hasSystemInstruction()
Optional. System instructions for the judge model.
optional string system_instruction = 2 [(.google.api.field_behavior) = OPTIONAL];String getSystemInstruction()
Optional. System instructions for the judge model.
optional string system_instruction = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getSystemInstructionBytes()
Optional. System instructions for the judge model.
optional string system_instruction = 2 [(.google.api.field_behavior) = OPTIONAL];boolean hasJudgeAutoraterConfig()
Optional. Optional configuration for the judge LLM (Autorater).
optional .google.cloud.aiplatform.v1beta1.AutoraterConfig judge_autorater_config = 3 [(.google.api.field_behavior) = OPTIONAL];
AutoraterConfig getJudgeAutoraterConfig()
Optional. Optional configuration for the judge LLM (Autorater).
optional .google.cloud.aiplatform.v1beta1.AutoraterConfig judge_autorater_config = 3 [(.google.api.field_behavior) = OPTIONAL];
AutoraterConfigOrBuilder getJudgeAutoraterConfigOrBuilder()
Optional. Optional configuration for the judge LLM (Autorater).
optional .google.cloud.aiplatform.v1beta1.AutoraterConfig judge_autorater_config = 3 [(.google.api.field_behavior) = OPTIONAL];
boolean hasAdditionalConfig()
Optional. Optional additional configuration for the metric.
optional .google.protobuf.Struct additional_config = 7 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.Struct getAdditionalConfig()
Optional. Optional additional configuration for the metric.
optional .google.protobuf.Struct additional_config = 7 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.StructOrBuilder getAdditionalConfigOrBuilder()
Optional. Optional additional configuration for the metric.
optional .google.protobuf.Struct additional_config = 7 [(.google.api.field_behavior) = OPTIONAL];
LLMBasedMetricSpec.RubricsSourceCase getRubricsSourceCase()
Copyright © 2026 Google LLC. All rights reserved.