class

OpenAI::BatchRequestOutput

Inherits JSON::Serializable < Reference < Object

The per-line object of the batch output and error files

Constructors

new(id : String | Nil = nil, custom_id : String | Nil = nil, response : BatchRequestOutputResponse | Nil = nil, error : BatchRequestOutputError | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

custom_id

A developer-provided per-request id that will be used to match outputs to inputs.

Source
custom_id=(custom_id : String | Nil)

A developer-provided per-request id that will be used to match outputs to inputs.

Source
error
Source
error=(error : BatchRequestOutputError | Nil)
Source
id=(id : String | Nil)
Source
response
Source
response=(response : BatchRequestOutputResponse | Nil)
Source