Class EvalCreateParams.TestingCriterion.LabelModel
- 
                    
                    - All Implemented Interfaces:
 
 public final class EvalCreateParams.TestingCriterion.LabelModelA LabelModelGrader object which uses a model to assign labels to each item in the evaluation. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classEvalCreateParams.TestingCriterion.LabelModel.BuilderA builder for LabelModel. public final classEvalCreateParams.TestingCriterion.LabelModel.InputA chat message that makes up the prompt or context. May include variable references to the itemnamespace, ie {{item.name}}.
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final List<EvalCreateParams.TestingCriterion.LabelModel.Input>input()A list of chat messages forming the prompt or context. final List<String>labels()The labels to classify to each item in the evaluation. final Stringmodel()The model to use for the evaluation. final Stringname()The name of the grader. final List<String>passingLabels()The labels that indicate a passing result. final JsonValue_type()The object type, which is always label_model.final JsonField<List<EvalCreateParams.TestingCriterion.LabelModel.Input>>_input()Returns the raw JSON value of input. final JsonField<List<String>>_labels()Returns the raw JSON value of labels. 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<String>>_passingLabels()Returns the raw JSON value of passingLabels. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.TestingCriterion.LabelModel.BuildertoBuilder()final EvalCreateParams.TestingCriterion.LabelModelvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.TestingCriterion.LabelModel.Builderbuilder()Returns a mutable builder for constructing an instance of LabelModel. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        inputfinal List<EvalCreateParams.TestingCriterion.LabelModel.Input> input() A list of chat messages forming the prompt or context. May include variable references to the itemnamespace, ie {{item.name}}.
 - 
                                        passingLabelsfinal List<String> passingLabels() The labels that indicate a passing result. Must be a subset of labels. 
 - 
                                        _typefinal JsonValue _type() The object type, which is always label_model.Expected to always return the following: JsonValue.from("label_model")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _inputfinal JsonField<List<EvalCreateParams.TestingCriterion.LabelModel.Input>> _input() Returns the raw JSON value of input. Unlike input, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _labelsfinal JsonField<List<String>> _labels() Returns the raw JSON value of labels. Unlike labels, 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. 
 - 
                                        _passingLabelsfinal JsonField<List<String>> _passingLabels() Returns the raw JSON value of passingLabels. Unlike passingLabels, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal EvalCreateParams.TestingCriterion.LabelModel.Builder toBuilder() 
 - 
                                        validatefinal EvalCreateParams.TestingCriterion.LabelModel validate() 
 - 
                                        builderfinal static EvalCreateParams.TestingCriterion.LabelModel.Builder builder() Returns a mutable builder for constructing an instance of LabelModel. The following fields are required: .input() .labels() .model() .name() .passingLabels()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-