Module: Telnyx::Models::AI::ChatCompletionRequest::ReasoningEffort

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

Overview

Controls the reasoning effort for models that support it. When set, the model spends more or less compute on internal reasoning before generating its response. Supported values: none, minimal, low, medium, high, xhigh, max. Not all models support all values; unsupported values are rejected with a 400 error. When omitted, reasoning models use their default effort level.

See Also:

  • Telnyx::Models::AI::ChatCompletionRequest#reasoning_effort

Constant Summary collapse

NONE =

Returns:

  • (:none)
:none
MINIMAL =

Returns:

  • (:minimal)
:minimal
LOW =

Returns:

  • (:low)
:low
MEDIUM =

Returns:

  • (:medium)
:medium
HIGH =

Returns:

  • (:high)
:high
XHIGH =

Returns:

  • (:xhigh)
:xhigh
MAX =

Returns:

  • (:max)
:max

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::ChatCompletionRequest::reasoning_effort]

Returns:

  • (::Array[Telnyx::Models::AI::ChatCompletionRequest::reasoning_effort])


351
# File 'sig/telnyx/models/ai/chat_completion_request.rbs', line 351

def self?.values: -> ::Array[Telnyx::Models::AI::ChatCompletionRequest::reasoning_effort]