Interface EvalCreateParams.DataSourceConfig.Visitor
- 
                    
                    - All Implemented Interfaces:
 
 public interface EvalCreateParams.DataSourceConfig.Visitor<T extends Object>An interface that defines how to map each variant of DataSourceConfig to a value of type T. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract TvisitCustom(EvalCreateParams.DataSourceConfig.Custom custom)A CustomDataSourceConfig object that defines the schema for the data source used for the evaluation runs. abstract TvisitLogs(EvalCreateParams.DataSourceConfig.Logs logs)A data source config which specifies the metadata property of your logs query. abstract TvisitStoredCompletions(EvalCreateParams.DataSourceConfig.StoredCompletions storedCompletions)Deprecated in favor of LogsDataSourceConfig. Tunknown(JsonValue json)Maps an unknown variant of DataSourceConfig to a value of type T. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        visitCustomabstract T visitCustom(EvalCreateParams.DataSourceConfig.Custom custom) A CustomDataSourceConfig object that defines the schema for the data source used for the evaluation runs. This schema is used to define the shape of the data that will be: - Used to define your testing criteria and 
- What data is required when creating a run 
 
 - 
                                        visitLogsabstract T visitLogs(EvalCreateParams.DataSourceConfig.Logs logs) A data source config which specifies the metadata property of your logs query. This is usually metadata like usecase=chatbotorprompt-version=v2, etc.
 - 
                                        visitStoredCompletions@Deprecated(message = "deprecated") abstract T visitStoredCompletions(EvalCreateParams.DataSourceConfig.StoredCompletions storedCompletions) Deprecated in favor of LogsDataSourceConfig. 
 - 
                                        unknownT unknown(JsonValue json) Maps an unknown variant of DataSourceConfig to a value of type T. An instance of DataSourceConfig 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. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-