Class EvalCreateParams.TestingCriterion.LabelModel.Input
- 
                    
                    - All Implemented Interfaces:
 
 public final class EvalCreateParams.TestingCriterion.LabelModel.InputA chat message that makes up the prompt or context. May include variable references to the itemnamespace, ie {{item.name}}.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceEvalCreateParams.TestingCriterion.LabelModel.Input.VisitorAn interface that defines how to map each variant of Input to a value of type T. public final classEvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessagepublic final classEvalCreateParams.TestingCriterion.LabelModel.Input.EvalItemA message input to the model with a role indicating instruction following hierarchy. Instructions given with the developerorsystemrole take precedence over instructions given with theuserrole. Messages with theassistantrole are presumed to have been generated by the model in previous interactions.
 - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        simpleInputMessagefinal Optional<EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage> simpleInputMessage() 
 - 
                                        evalItemfinal Optional<EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem> evalItem() A message input to the model with a role indicating instruction following hierarchy. Instructions given with the developerorsystemrole take precedence over instructions given with theuserrole. Messages with theassistantrole are presumed to have been generated by the model in previous interactions.
 - 
                                        isSimpleInputMessagefinal Boolean isSimpleInputMessage() 
 - 
                                        isEvalItemfinal Boolean isEvalItem() 
 - 
                                        asSimpleInputMessagefinal EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage asSimpleInputMessage() 
 - 
                                        asEvalItemfinal EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem asEvalItem() A message input to the model with a role indicating instruction following hierarchy. Instructions given with the developerorsystemrole take precedence over instructions given with theuserrole. Messages with theassistantrole are presumed to have been generated by the model in previous interactions.
 - 
                                        acceptfinal <T extends Any> T accept(EvalCreateParams.TestingCriterion.LabelModel.Input.Visitor<T> visitor) 
 - 
                                        validatefinal EvalCreateParams.TestingCriterion.LabelModel.Input validate() 
 - 
                                        ofSimpleInputMessagefinal static EvalCreateParams.TestingCriterion.LabelModel.Input ofSimpleInputMessage(EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage simpleInputMessage) 
 - 
                                        ofEvalItemfinal static EvalCreateParams.TestingCriterion.LabelModel.Input ofEvalItem(EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem evalItem) A message input to the model with a role indicating instruction following hierarchy. Instructions given with the developerorsystemrole take precedence over instructions given with theuserrole. Messages with theassistantrole are presumed to have been generated by the model in previous interactions.
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-