Module: OpenAI::Models::DecisionCreateParams::PromptCacheOptions::Ttl

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/decision_create_params.rb,
sig/openai/models/decision_create_params.rbs

Overview

The minimum lifetime applied to every implicit and explicit cache breakpoint written by the request. Defaults to 30m, which is currently the only supported value. The backend may retain cache entries for longer.

See Also:

  • OpenAI::Models::DecisionCreateParams::PromptCacheOptions#ttl

Constant Summary collapse

TTL_30M =

Returns:

  • (:"30m")
:"30m"

Class Method Summary collapse

Methods included from Internal::Type::Enum

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

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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/decision_create_params.rb', line 1129