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 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

       The type of rubric content to be generated.
       
      .google.cloud.aiplatform.v1beta1.RubricGenerationSpec.RubricContentType rubric_content_type = 5;
      Returns:
      The rubricContentType.
    • getRubricTypeOntologyList

      List<String> 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

      String getRubricTypeOntology(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 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.