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