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(pull : JSON::PullParser)
Sourcenew(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, response : RealtimeBetaResponse = RealtimeBetaResponse.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
response
Sourceresponse=(response : RealtimeBetaResponse)
Source