Interface EvalCreateParams.TestingCriterion.Visitor
- 
                    
                    - All Implemented Interfaces:
 
 public interface EvalCreateParams.TestingCriterion.Visitor<T extends Object>An interface that defines how to map each variant of TestingCriterion to a value of type T. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract TvisitLabelModel(EvalCreateParams.TestingCriterion.LabelModel labelModel)A LabelModelGrader object which uses a model to assign labels to each item in the evaluation. abstract TvisitStringCheck(StringCheckGrader stringCheck)A StringCheckGrader object that performs a string comparison between input and reference using a specified operation. abstract TvisitTextSimilarity(EvalCreateParams.TestingCriterion.TextSimilarity textSimilarity)A TextSimilarityGrader object which grades text based on similarity metrics. abstract TvisitPython(EvalCreateParams.TestingCriterion.Python python)A PythonGrader object that runs a python script on the input. abstract TvisitScoreModel(EvalCreateParams.TestingCriterion.ScoreModel scoreModel)A ScoreModelGrader object that uses a model to assign a score to the input. Tunknown(JsonValue json)Maps an unknown variant of TestingCriterion to a value of type T. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        visitLabelModelabstract T visitLabelModel(EvalCreateParams.TestingCriterion.LabelModel labelModel) A LabelModelGrader object which uses a model to assign labels to each item in the evaluation. 
 - 
                                        visitStringCheckabstract T visitStringCheck(StringCheckGrader stringCheck) A StringCheckGrader object that performs a string comparison between input and reference using a specified operation. 
 - 
                                        visitTextSimilarityabstract T visitTextSimilarity(EvalCreateParams.TestingCriterion.TextSimilarity textSimilarity) A TextSimilarityGrader object which grades text based on similarity metrics. 
 - 
                                        visitPythonabstract T visitPython(EvalCreateParams.TestingCriterion.Python python) A PythonGrader object that runs a python script on the input. 
 - 
                                        visitScoreModelabstract T visitScoreModel(EvalCreateParams.TestingCriterion.ScoreModel scoreModel) A ScoreModelGrader object that uses a model to assign a score to the input. 
 - 
                                        unknownT unknown(JsonValue json) Maps an unknown variant of TestingCriterion to a value of type T. An instance of TestingCriterion can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-