Class FineTuningJob.Error
-
- All Implemented Interfaces:
public final class FineTuningJob.ErrorFor fine-tuning jobs that have
failed, this will contain more information on the cause of the failure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFineTuningJob.Error.BuilderA builder for Error.
-
Method Summary
Modifier and Type Method Description final Stringcode()A machine-readable error code. final Stringmessage()A human-readable error message. final Optional<String>param()The parameter that was invalid, usually training_fileorvalidation_file.final JsonField<String>_code()Returns the raw JSON value of code. final JsonField<String>_message()Returns the raw JSON value of message. final JsonField<String>_param()Returns the raw JSON value of param. final Map<String, JsonValue>_additionalProperties()final FineTuningJob.Error.BuildertoBuilder()final FineTuningJob.Errorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FineTuningJob.Error.Builderbuilder()Returns a mutable builder for constructing an instance of Error. -
-
Method Detail
-
param
final Optional<String> param()
The parameter that was invalid, usually
training_fileorvalidation_file. This field will be null if the failure was not parameter-specific.
-
_code
final JsonField<String> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_param
final JsonField<String> _param()
Returns the raw JSON value of param.
Unlike param, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FineTuningJob.Error.Builder toBuilder()
-
validate
final FineTuningJob.Error 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 FineTuningJob.Error.Builder builder()
Returns a mutable builder for constructing an instance of Error.
The following fields are required:
.code() .message() .param()
-
-
-
-