Class EvalCreateParams.TestingCriterion.ScoreModel
- 
                    
                    - All Implemented Interfaces:
 
 public final class EvalCreateParams.TestingCriterion.ScoreModelA ScoreModelGrader object that uses a model to assign a score to the input. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classEvalCreateParams.TestingCriterion.ScoreModel.BuilderA builder for ScoreModel. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final ScoreModelGradertoScoreModelGrader()final List<ScoreModelGrader.Input>input()The input text. final Stringmodel()The model to use for the evaluation. final Stringname()The name of the grader. final JsonValue_type()The object type, which is always score_model.final Optional<List<Double>>range()The range of the score. final Optional<ScoreModelGrader.SamplingParams>samplingParams()The sampling parameters for the model. final Optional<Double>passThreshold()The threshold for the score. final JsonField<List<ScoreModelGrader.Input>>_input()Returns the raw JSON value of input. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<List<Double>>_range()Returns the raw JSON value of range. final JsonField<ScoreModelGrader.SamplingParams>_samplingParams()Returns the raw JSON value of samplingParams. final JsonField<Double>_passThreshold()Returns the raw JSON value of passThreshold. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.TestingCriterion.ScoreModel.BuildertoBuilder()final EvalCreateParams.TestingCriterion.ScoreModelvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.TestingCriterion.ScoreModel.Builderbuilder()Returns a mutable builder for constructing an instance of ScoreModel. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        toScoreModelGraderfinal ScoreModelGrader toScoreModelGrader() 
 - 
                                        inputfinal List<ScoreModelGrader.Input> input() The input text. This may include template strings. 
 - 
                                        _typefinal JsonValue _type() The object type, which is always score_model.Expected to always return the following: JsonValue.from("score_model")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        samplingParamsfinal Optional<ScoreModelGrader.SamplingParams> samplingParams() The sampling parameters for the model. 
 - 
                                        passThresholdfinal Optional<Double> passThreshold() The threshold for the score. 
 - 
                                        _inputfinal JsonField<List<ScoreModelGrader.Input>> _input() Returns the raw JSON value of input. Unlike input, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _modelfinal JsonField<String> _model() Returns the raw JSON value of model. Unlike model, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _namefinal JsonField<String> _name() Returns the raw JSON value of name. Unlike name, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _rangefinal JsonField<List<Double>> _range() Returns the raw JSON value of range. Unlike range, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _samplingParamsfinal JsonField<ScoreModelGrader.SamplingParams> _samplingParams() Returns the raw JSON value of samplingParams. Unlike samplingParams, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _passThresholdfinal JsonField<Double> _passThreshold() Returns the raw JSON value of passThreshold. Unlike passThreshold, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal EvalCreateParams.TestingCriterion.ScoreModel.Builder toBuilder() 
 - 
                                        validatefinal EvalCreateParams.TestingCriterion.ScoreModel validate() 
 - 
                                        builderfinal static EvalCreateParams.TestingCriterion.ScoreModel.Builder builder() Returns a mutable builder for constructing an instance of ScoreModel. The following fields are required: .input() .model() .name()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-