Interface AutoraterConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AutoraterConfig, AutoraterConfig.Builder

@Generated public interface AutoraterConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasSamplingCount

      boolean hasSamplingCount()
       Optional. Number of samples for each instance in the dataset.
       If not specified, the default is 4. Minimum value is 1, maximum value
       is 32.
       
      optional int32 sampling_count = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the samplingCount field is set.
    • getSamplingCount

      int getSamplingCount()
       Optional. Number of samples for each instance in the dataset.
       If not specified, the default is 4. Minimum value is 1, maximum value
       is 32.
       
      optional int32 sampling_count = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The samplingCount.
    • hasFlipEnabled

      boolean hasFlipEnabled()
       Optional. Default is true. Whether to flip the candidate and baseline
       responses. This is only applicable to the pairwise metric. If enabled, also
       provide PairwiseMetricSpec.candidate_response_field_name and
       PairwiseMetricSpec.baseline_response_field_name. When rendering
       PairwiseMetricSpec.metric_prompt_template, the candidate and baseline
       fields will be flipped for half of the samples to reduce bias.
       
      optional bool flip_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the flipEnabled field is set.
    • getFlipEnabled

      boolean getFlipEnabled()
       Optional. Default is true. Whether to flip the candidate and baseline
       responses. This is only applicable to the pairwise metric. If enabled, also
       provide PairwiseMetricSpec.candidate_response_field_name and
       PairwiseMetricSpec.baseline_response_field_name. When rendering
       PairwiseMetricSpec.metric_prompt_template, the candidate and baseline
       fields will be flipped for half of the samples to reduce bias.
       
      optional bool flip_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The flipEnabled.
    • getAutoraterModel

      String getAutoraterModel()
       Optional. The fully qualified name of the publisher model or tuned
       autorater endpoint to use.
      
       Publisher model format:
       `projects/{project}/locations/{location}/publishers/*/models/*`
      
       Tuned model endpoint format:
       `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string autorater_model = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The autoraterModel.
    • getAutoraterModelBytes

      com.google.protobuf.ByteString getAutoraterModelBytes()
       Optional. The fully qualified name of the publisher model or tuned
       autorater endpoint to use.
      
       Publisher model format:
       `projects/{project}/locations/{location}/publishers/*/models/*`
      
       Tuned model endpoint format:
       `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string autorater_model = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for autoraterModel.
    • hasGenerationConfig

      boolean hasGenerationConfig()
       Optional. Configuration options for model generation and outputs.
       
      .google.cloud.aiplatform.v1.GenerationConfig generation_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the generationConfig field is set.
    • getGenerationConfig

      GenerationConfig getGenerationConfig()
       Optional. Configuration options for model generation and outputs.
       
      .google.cloud.aiplatform.v1.GenerationConfig generation_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The generationConfig.
    • getGenerationConfigOrBuilder

      GenerationConfigOrBuilder getGenerationConfigOrBuilder()
       Optional. Configuration options for model generation and outputs.
       
      .google.cloud.aiplatform.v1.GenerationConfig generation_config = 4 [(.google.api.field_behavior) = OPTIONAL];