Package com.openai.models.evals.runs
Class CreateEvalJsonlRunDataSource
-
- All Implemented Interfaces:
public final class CreateEvalJsonlRunDataSourceA JsonlRunDataSource object with that specifies a JSONL file that matches the eval
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCreateEvalJsonlRunDataSource.BuilderA builder for CreateEvalJsonlRunDataSource.
public final classCreateEvalJsonlRunDataSource.SourceDetermines what populates the
itemnamespace in the data source.
-
Method Summary
Modifier and Type Method Description final CreateEvalJsonlRunDataSource.Sourcesource()Determines what populates the itemnamespace in the data source.final JsonValue_type()The type of data source. final JsonField<CreateEvalJsonlRunDataSource.Source>_source()Returns the raw JSON value of source. final Map<String, JsonValue>_additionalProperties()final CreateEvalJsonlRunDataSource.BuildertoBuilder()final CreateEvalJsonlRunDataSourcevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CreateEvalJsonlRunDataSource.Builderbuilder()Returns a mutable builder for constructing an instance of CreateEvalJsonlRunDataSource. -
-
Method Detail
-
source
final CreateEvalJsonlRunDataSource.Source source()
Determines what populates the
itemnamespace in the data source.
-
_type
final JsonValue _type()
The type of data source. Always
jsonl.Expected to always return the following:
JsonValue.from("jsonl")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_source
final JsonField<CreateEvalJsonlRunDataSource.Source> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CreateEvalJsonlRunDataSource.Builder toBuilder()
-
validate
final CreateEvalJsonlRunDataSource validate()
-
builder
final static CreateEvalJsonlRunDataSource.Builder builder()
Returns a mutable builder for constructing an instance of CreateEvalJsonlRunDataSource.
The following fields are required:
.source()
-
-
-
-