Module: OpenAI::Models::Realtime::RealtimeResponseStatus::Reason

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/realtime/realtime_response_status.rb

Overview

The reason the Response did not complete. For a ‘cancelled` Response, one of `turn_detected` (the server VAD detected a new start of speech) or `client_cancelled` (the client sent a cancel event). For an `incomplete` Response, one of `max_output_tokens` or `content_filter` (the server-side safety filter activated and cut off the response).

See Also:

Constant Summary collapse

TURN_DETECTED =
:turn_detected
CLIENT_CANCELLED =
:client_cancelled
MAX_OUTPUT_TOKENS =
:max_output_tokens
CONTENT_FILTER =
:content_filter

Method Summary

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info