Package com.openai.models.evals.runs
Class CreateEvalCompletionsRunDataSource.Source.FileContent
-
- All Implemented Interfaces:
public final class CreateEvalCompletionsRunDataSource.Source.FileContent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCreateEvalCompletionsRunDataSource.Source.FileContent.BuilderA builder for FileContent.
public final classCreateEvalCompletionsRunDataSource.Source.FileContent.Content
-
Method Summary
Modifier and Type Method Description final List<CreateEvalCompletionsRunDataSource.Source.FileContent.Content>content()The content of the jsonl file. final JsonValue_type()The type of jsonl source. final JsonField<List<CreateEvalCompletionsRunDataSource.Source.FileContent.Content>>_content()Returns the raw JSON value of content. final Map<String, JsonValue>_additionalProperties()final CreateEvalCompletionsRunDataSource.Source.FileContent.BuildertoBuilder()final CreateEvalCompletionsRunDataSource.Source.FileContentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CreateEvalCompletionsRunDataSource.Source.FileContent.Builderbuilder()Returns a mutable builder for constructing an instance of FileContent. -
-
Method Detail
-
content
final List<CreateEvalCompletionsRunDataSource.Source.FileContent.Content> content()
The content of the jsonl file.
-
_type
final JsonValue _type()
The type of jsonl source. Always
file_content.Expected to always return the following:
JsonValue.from("file_content")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_content
final JsonField<List<CreateEvalCompletionsRunDataSource.Source.FileContent.Content>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CreateEvalCompletionsRunDataSource.Source.FileContent.Builder toBuilder()
-
validate
final CreateEvalCompletionsRunDataSource.Source.FileContent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static CreateEvalCompletionsRunDataSource.Source.FileContent.Builder builder()
Returns a mutable builder for constructing an instance of FileContent.
The following fields are required:
.content()
-
-
-
-