class

OpenAI::RealtimeBetaServerEventResponseDone

Inherits JSON::Serializable < Reference < Object

Returned when a Response is done streaming. Always emitted, no matter the final state. The Response object included in the response.done event will include all output Items in the Response but will omit the raw audio data.

Constructors

new(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, response : RealtimeBetaResponse = RealtimeBetaResponse.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

event_id

The unique ID of the server event.

Source
event_id=(event_id : String)

The unique ID of the server event.

Source
response
Source
response=(response : RealtimeBetaResponse)
Source
type_value

The event type, must be response.done.

Source
type_value=(type_value : Hash(String, JSON::Any))

The event type, must be response.done.

Source