Interface RubricGenerationSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RubricGenerationSpec,RubricGenerationSpec.Builder
@Generated
public interface RubricGenerationSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for the model used in rubric generation.Configuration for the model used in rubric generation.Template for the prompt used to generate rubrics.com.google.protobuf.ByteStringTemplate for the prompt used to generate rubrics.The type of rubric content to be generated.intThe type of rubric content to be generated.getRubricTypeOntology(int index) Optional.com.google.protobuf.ByteStringgetRubricTypeOntologyBytes(int index) Optional.intOptional.Optional.booleanConfiguration for the model used in rubric generation.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
-
getPromptTemplate
String getPromptTemplate()Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.
string prompt_template = 1;- Returns:
- The promptTemplate.
-
getPromptTemplateBytes
com.google.protobuf.ByteString getPromptTemplateBytes()Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.
string prompt_template = 1;- Returns:
- The bytes for promptTemplate.
-
hasModelConfig
boolean hasModelConfig()Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation.
optional .google.cloud.aiplatform.v1beta1.AutoraterConfig model_config = 4;- Returns:
- Whether the modelConfig field is set.
-
getModelConfig
AutoraterConfig getModelConfig()Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation.
optional .google.cloud.aiplatform.v1beta1.AutoraterConfig model_config = 4;- Returns:
- The modelConfig.
-
getModelConfigOrBuilder
AutoraterConfigOrBuilder getModelConfigOrBuilder()Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation.
optional .google.cloud.aiplatform.v1beta1.AutoraterConfig model_config = 4; -
getRubricContentTypeValue
int getRubricContentTypeValue()The type of rubric content to be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec.RubricContentType rubric_content_type = 5;- Returns:
- The enum numeric value on the wire for rubricContentType.
-
getRubricContentType
RubricGenerationSpec.RubricContentType getRubricContentType()The type of rubric content to be generated.
.google.cloud.aiplatform.v1beta1.RubricGenerationSpec.RubricContentType rubric_content_type = 5;- Returns:
- The rubricContentType.
-
getRubricTypeOntologyList
Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.
repeated string rubric_type_ontology = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the rubricTypeOntology.
-
getRubricTypeOntologyCount
int getRubricTypeOntologyCount()Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.
repeated string rubric_type_ontology = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of rubricTypeOntology.
-
getRubricTypeOntology
Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.
repeated string rubric_type_ontology = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The rubricTypeOntology at the given index.
-
getRubricTypeOntologyBytes
com.google.protobuf.ByteString getRubricTypeOntologyBytes(int index) Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.
repeated string rubric_type_ontology = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the rubricTypeOntology at the given index.
-