Class EvalCreateParams.TestingCriterion.ScoreModel.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class EvalCreateParams.TestingCriterion.ScoreModel.BuilderA builder for ScoreModel. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        inputfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder input(List<ScoreModelGrader.Input> input) The input text. This may include template strings. 
 - 
                                        inputfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder input(JsonField<List<ScoreModelGrader.Input>> input) Sets Builder.input to an arbitrary JSON value. You should usually call Builder.input with a well-typed List<ScoreModelGrader.Input>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addInputfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder addInput(ScoreModelGrader.Input input) Adds a single ScoreModelGrader.Input to Builder.input. 
 - 
                                        modelfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder model(String model) The model to use for the evaluation. 
 - 
                                        modelfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder model(JsonField<String> model) Sets Builder.model to an arbitrary JSON value. You should usually call Builder.model with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        namefinal EvalCreateParams.TestingCriterion.ScoreModel.Builder name(String name) The name of the grader. 
 - 
                                        namefinal EvalCreateParams.TestingCriterion.ScoreModel.Builder name(JsonField<String> name) Sets Builder.name to an arbitrary JSON value. You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal EvalCreateParams.TestingCriterion.ScoreModel.Builder type(JsonValue type) Sets the field to an arbitrary JSON value. It is usually unnecessary to call this method because the field defaults to the following: JsonValue.from("score_model")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        rangefinal EvalCreateParams.TestingCriterion.ScoreModel.Builder range(List<Double> range) The range of the score. Defaults to [0, 1].
 - 
                                        rangefinal EvalCreateParams.TestingCriterion.ScoreModel.Builder range(JsonField<List<Double>> range) Sets Builder.range to an arbitrary JSON value. You should usually call Builder.range with a well-typed List<Double>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addRangefinal EvalCreateParams.TestingCriterion.ScoreModel.Builder addRange(Double range) Adds a single Double to Builder.range. 
 - 
                                        samplingParamsfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder samplingParams(ScoreModelGrader.SamplingParams samplingParams) The sampling parameters for the model. 
 - 
                                        samplingParamsfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder samplingParams(JsonField<ScoreModelGrader.SamplingParams> samplingParams) Sets Builder.samplingParams to an arbitrary JSON value. You should usually call Builder.samplingParams with a well-typed ScoreModelGrader.SamplingParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        passThresholdfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder passThreshold(Double passThreshold) The threshold for the score. 
 - 
                                        passThresholdfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder passThreshold(JsonField<Double> passThreshold) Sets Builder.passThreshold to an arbitrary JSON value. You should usually call Builder.passThreshold with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal EvalCreateParams.TestingCriterion.ScoreModel build() Returns an immutable instance of ScoreModel. Further updates to this Builder will not mutate the returned instance. The following fields are required: .input() .model() .name()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-