Interface GenerateInstanceRubricsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateInstanceRubricsRequest,GenerateInstanceRubricsRequest.Builder
@Generated
public interface GenerateInstanceRubricsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.getContents(int index) Required.intRequired.Required.getContentsOrBuilder(int index) Required.List<? extends ContentOrBuilder>Required.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.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
-
getLocation
String getLocation()Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}`string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}`string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for location.
-
getContentsList
Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED]; -
getContents
Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED]; -
getContentsCount
int getContentsCount()Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED]; -
getContentsOrBuilderList
List<? extends ContentOrBuilder> getContentsOrBuilderList()Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED]; -
getContentsOrBuilder
Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasPredefinedRubricGenerationSpec
boolean hasPredefinedRubricGenerationSpec()Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the predefinedRubricGenerationSpec field is set.
-
getPredefinedRubricGenerationSpec
PredefinedMetricSpec getPredefinedRubricGenerationSpec()Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The predefinedRubricGenerationSpec.
-
getPredefinedRubricGenerationSpecOrBuilder
PredefinedMetricSpecOrBuilder getPredefinedRubricGenerationSpecOrBuilder()Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored.
.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasRubricGenerationSpec
boolean hasRubricGenerationSpec()Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the rubricGenerationSpec field is set.
-
getRubricGenerationSpec
RubricGenerationSpec getRubricGenerationSpec()Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The rubricGenerationSpec.
-
getRubricGenerationSpecOrBuilder
RubricGenerationSpecOrBuilder getRubricGenerationSpecOrBuilder()Optional. Specification for how the rubrics should be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasAgentConfig
boolean hasAgentConfig()Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the agentConfig field is set.
-
getAgentConfig
EvaluationInstance.DeprecatedAgentConfig getAgentConfig()Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The agentConfig.
-
getAgentConfigOrBuilder
EvaluationInstance.DeprecatedAgentConfigOrBuilder getAgentConfigOrBuilder()Optional. Agent configuration, required for agent-based rubric generation.
.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];
-