Class EvalCreateParams.TestingCriterion.LabelModel.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class EvalCreateParams.TestingCriterion.LabelModel.BuilderA builder for LabelModel. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        inputfinal EvalCreateParams.TestingCriterion.LabelModel.Builder input(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}}.
 - 
                                        inputfinal EvalCreateParams.TestingCriterion.LabelModel.Builder input(JsonField<List<EvalCreateParams.TestingCriterion.LabelModel.Input>> input) Sets Builder.input to an arbitrary JSON value. You should usually call Builder.input with a well-typed List<Input>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addInputfinal EvalCreateParams.TestingCriterion.LabelModel.Builder addInput(EvalCreateParams.TestingCriterion.LabelModel.Input input) Adds a single Input to Builder.input. 
 - 
                                        addInputfinal EvalCreateParams.TestingCriterion.LabelModel.Builder addInput(EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage simpleInputMessage) Alias for calling addInput with Input.ofSimpleInputMessage(simpleInputMessage).
 - 
                                        addInputfinal EvalCreateParams.TestingCriterion.LabelModel.Builder addInput(EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem evalItem) Alias for calling addInput with Input.ofEvalItem(evalItem).
 - 
                                        labelsfinal EvalCreateParams.TestingCriterion.LabelModel.Builder labels(List<String> labels) The labels to classify to each item in the evaluation. 
 - 
                                        labelsfinal EvalCreateParams.TestingCriterion.LabelModel.Builder labels(JsonField<List<String>> labels) Sets Builder.labels to an arbitrary JSON value. You should usually call Builder.labels with a well-typed List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addLabelfinal EvalCreateParams.TestingCriterion.LabelModel.Builder addLabel(String label) 
 - 
                                        modelfinal EvalCreateParams.TestingCriterion.LabelModel.Builder model(String model) The model to use for the evaluation. Must support structured outputs. 
 - 
                                        modelfinal EvalCreateParams.TestingCriterion.LabelModel.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.LabelModel.Builder name(String name) The name of the grader. 
 - 
                                        namefinal EvalCreateParams.TestingCriterion.LabelModel.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. 
 - 
                                        passingLabelsfinal EvalCreateParams.TestingCriterion.LabelModel.Builder passingLabels(List<String> passingLabels) The labels that indicate a passing result. Must be a subset of labels. 
 - 
                                        passingLabelsfinal EvalCreateParams.TestingCriterion.LabelModel.Builder passingLabels(JsonField<List<String>> passingLabels) Sets Builder.passingLabels to an arbitrary JSON value. You should usually call Builder.passingLabels with a well-typed List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addPassingLabelfinal EvalCreateParams.TestingCriterion.LabelModel.Builder addPassingLabel(String passingLabel) Adds a single String to passingLabels. 
 - 
                                        typefinal EvalCreateParams.TestingCriterion.LabelModel.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("label_model")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal EvalCreateParams.TestingCriterion.LabelModel.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal EvalCreateParams.TestingCriterion.LabelModel.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal EvalCreateParams.TestingCriterion.LabelModel.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal EvalCreateParams.TestingCriterion.LabelModel.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal EvalCreateParams.TestingCriterion.LabelModel.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal EvalCreateParams.TestingCriterion.LabelModel build() Returns an immutable instance of LabelModel. Further updates to this Builder will not mutate the returned instance. The following fields are required: .input() .labels() .model() .name() .passingLabels()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-