Class EvalCreateParams.TestingCriterion.TextSimilarity.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class EvalCreateParams.TestingCriterion.TextSimilarity.BuilderA builder for TextSimilarity. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        evaluationMetricfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder evaluationMetric(TextSimilarityGrader.EvaluationMetric evaluationMetric) The evaluation metric to use. One of cosine,fuzzy_match,bleu,gleu,meteor,rouge_1,rouge_2,rouge_3,rouge_4,rouge_5, orrouge_l.
 - 
                                        evaluationMetricfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder evaluationMetric(JsonField<TextSimilarityGrader.EvaluationMetric> evaluationMetric) Sets Builder.evaluationMetric to an arbitrary JSON value. You should usually call Builder.evaluationMetric with a well-typed TextSimilarityGrader.EvaluationMetric value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        inputfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder input(String input) The text being graded. 
 - 
                                        inputfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder input(JsonField<String> input) Sets Builder.input to an arbitrary JSON value. You should usually call Builder.input 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.TextSimilarity.Builder name(String name) The name of the grader. 
 - 
                                        namefinal EvalCreateParams.TestingCriterion.TextSimilarity.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. 
 - 
                                        referencefinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder reference(String reference) The text being graded against. 
 - 
                                        referencefinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder reference(JsonField<String> reference) Sets Builder.reference to an arbitrary JSON value. You should usually call Builder.reference 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.TextSimilarity.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("text_similarity")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        passThresholdfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder passThreshold(Double passThreshold) The threshold for the score. 
 - 
                                        passThresholdfinal EvalCreateParams.TestingCriterion.TextSimilarity.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.TextSimilarity.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal EvalCreateParams.TestingCriterion.TextSimilarity.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal EvalCreateParams.TestingCriterion.TextSimilarity build() Returns an immutable instance of TextSimilarity. Further updates to this Builder will not mutate the returned instance. The following fields are required: .evaluationMetric() .input() .name() .reference() .passThreshold()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-