OpenAI::BatchRequestOutput
Inherits JSON::Serializable < Reference < Object
The per-line object of the batch output and error files
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : String | Nil = nil, custom_id : String | Nil = nil, response : BatchRequestOutputResponse | Nil = nil, error : BatchRequestOutputError | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
A developer-provided per-request id that will be used to match outputs to inputs.
error
Sourceerror=(error : BatchRequestOutputError | Nil)
Sourceid
Sourceresponse
Sourceresponse=(response : BatchRequestOutputResponse | Nil)
Source