Module: OpenAI::Models::Realtime::RealtimeSessionCreateRequest::Model

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/realtime/realtime_session_create_request.rb

Overview

The Realtime model used for this session.

See Also:

collapse

GPT_REALTIME =
:"gpt-realtime"
GPT_REALTIME_2025_08_28 =
:"gpt-realtime-2025-08-28"
GPT_4O_REALTIME_PREVIEW =
:"gpt-4o-realtime-preview"
GPT_4O_REALTIME_PREVIEW_2024_10_01 =
:"gpt-4o-realtime-preview-2024-10-01"
GPT_4O_REALTIME_PREVIEW_2024_12_17 =
:"gpt-4o-realtime-preview-2024-12-17"
GPT_4O_REALTIME_PREVIEW_2025_06_03 =
:"gpt-4o-realtime-preview-2025-06-03"
GPT_4O_MINI_REALTIME_PREVIEW =
:"gpt-4o-mini-realtime-preview"
GPT_4O_MINI_REALTIME_PREVIEW_2024_12_17 =
:"gpt-4o-mini-realtime-preview-2024-12-17"
GPT_REALTIME_MINI =
:"gpt-realtime-mini"
GPT_REALTIME_MINI_2025_10_06 =
:"gpt-realtime-mini-2025-10-06"
GPT_AUDIO_MINI =
:"gpt-audio-mini"
GPT_AUDIO_MINI_2025_10_06 =
:"gpt-audio-mini-2025-10-06"

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

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

Class Method Details

.variantsArray(String, Symbol)



213
214
215
# File 'lib/openai/models/realtime/realtime_session_create_request.rb', line 213

define_sorbet_constant!(:Variants) do
  T.type_alias { T.any(String, OpenAI::Realtime::RealtimeSessionCreateRequest::Model::TaggedSymbol) }
end