Module: Telnyx::Models::AI::OpenAICreateResponseParams::Mode

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/ai/openai_create_response_params.rb,
sig/telnyx/models/ai/openai_create_response_params.rbs

Overview

How strictly region is applied. preferred (the default when region is set) tries that region first and falls back to another when the model cannot be served there, so a request that would have succeeded still succeeds. strict pins the request: it is served from that region or it fails with a 422, never redirected to another region. Requires region.

Constant Summary collapse

PREFERRED =

Returns:

  • (:preferred)
:preferred
STRICT =

Returns:

  • (:strict)
:strict

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, 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

Instance Method Details

#self?.values::Array[Telnyx::Models::AI::OpenAICreateResponseParams::mode]

Returns:

  • (::Array[Telnyx::Models::AI::OpenAICreateResponseParams::mode])


98
# File 'sig/telnyx/models/ai/openai_create_response_params.rbs', line 98

def self?.values: -> ::Array[Telnyx::Models::AI::OpenAICreateResponseParams::mode]