OpenAI::BatchRequestOutputErrorVariant1
Inherits JSON::Serializable < Reference < Object
For requests that failed with a non-HTTP error, this will contain more information on the cause of the failure.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
code
A machine-readable error code.
Possible values:
batch_expired: The request could not be executed before the completion window ended.batch_cancelled: The batch was cancelled before this request executed.request_timeout: The underlying call to the model timed out.
A machine-readable error code.
Possible values:
batch_expired: The request could not be executed before the completion window ended.batch_cancelled: The batch was cancelled before this request executed.request_timeout: The underlying call to the model timed out.