OpenAI::ResponseCreatedEvent
Inherits JSON::Serializable < Reference < Object
An event that is emitted when a response is created.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseCreatedEventType = ResponseCreatedEventType::ResponseCreated, response : Response = Response.new, sequence_number : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : ResponseCreatedEventType)
The type of the event. Always response.created.