Package com.openai.models.evals.runs
Class RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.FileContent
-
- All Implemented Interfaces:
public final class RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.FileContent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.FileContent.BuilderA builder for FileContent.
public final classRunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.FileContent.Content
-
Method Summary
-
-
Method Detail
-
content
final List<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.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<RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.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 RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.FileContent.Builder toBuilder()
-
validate
final RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.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 RunCreateParams.DataSource.CreateEvalResponsesRunDataSource.Source.FileContent.Builder builder()
Returns a mutable builder for constructing an instance of FileContent.
The following fields are required:
.content()
-
-
-
-