Module: OpenAI::Models::Realtime::RealtimeTruncation::RealtimeTruncationStrategy

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

Overview

The truncation strategy to use for the session. auto is the default truncation strategy. disabled will disable truncation and emit errors when the conversation exceeds the input token limit.

Constant Summary collapse

AUTO =
:auto
DISABLED =
:disabled

Class Method Summary collapse

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

Class Method Details

.valuesArray<Symbol>

Returns:



# File 'lib/openai/models/realtime/realtime_truncation.rb', line 42