Class EvalStoredCompletionsDataSourceConfig
- 
                    
                    
- All Implemented Interfaces:
 
@Deprecated(message = "deprecated") public final class EvalStoredCompletionsDataSourceConfig
Deprecated in favor of LogsDataSourceConfig.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalStoredCompletionsDataSourceConfig.BuilderA builder for EvalStoredCompletionsDataSourceConfig.
public final classEvalStoredCompletionsDataSourceConfig.SchemaThe json schema for the run data source items. Learn how to build JSON schemas here.
public final classEvalStoredCompletionsDataSourceConfig.MetadataSet of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final EvalStoredCompletionsDataSourceConfig.Schemaschema()The json schema for the run data source items. final JsonValue_type()The type of data source. final Optional<EvalStoredCompletionsDataSourceConfig.Metadata>metadata()Set of 16 key-value pairs that can be attached to an object. final JsonField<EvalStoredCompletionsDataSourceConfig.Schema>_schema()Returns the raw JSON value of schema. final JsonField<EvalStoredCompletionsDataSourceConfig.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final EvalStoredCompletionsDataSourceConfig.BuildertoBuilder()final EvalStoredCompletionsDataSourceConfigvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalStoredCompletionsDataSourceConfig.Builderbuilder()Returns a mutable builder for constructing an instance of EvalStoredCompletionsDataSourceConfig. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
schema
final EvalStoredCompletionsDataSourceConfig.Schema schema()
The json schema for the run data source items. Learn how to build JSON schemas here.
 
- 
                                        
_type
final JsonValue _type()
The type of data source. Always
stored_completions.Expected to always return the following:
JsonValue.from("stored_completions")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
metadata
final Optional<EvalStoredCompletionsDataSourceConfig.Metadata> metadata()
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
 
- 
                                        
_schema
final JsonField<EvalStoredCompletionsDataSourceConfig.Schema> _schema()
Returns the raw JSON value of schema.
Unlike schema, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_metadata
final JsonField<EvalStoredCompletionsDataSourceConfig.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final EvalStoredCompletionsDataSourceConfig.Builder toBuilder()
 
- 
                                        
validate
final EvalStoredCompletionsDataSourceConfig validate()
 
- 
                                        
builder
final static EvalStoredCompletionsDataSourceConfig.Builder builder()
Returns a mutable builder for constructing an instance of EvalStoredCompletionsDataSourceConfig.
The following fields are required:
.schema() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -