Module: OpenAI::Models::Admin::Organization::Health::HealthAlert::Measurement
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/admin/organization/health/health_alert.rb,
sig/openai/models/admin/organization/health/health_alert.rbs
Overview
Defined Under Namespace
Classes: ErrorRate, PromptCacheHitRate, RateLimitUtilization, ServiceTierFallbackRate
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ ::Array[OpenAI::Models::Admin::Organization::Health::HealthAlert::measurement]
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump
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>
|
|
# File 'lib/openai/models/admin/organization/health/health_alert.rb', line 293
|
.variants ⇒ ::Array[OpenAI::Models::Admin::Organization::Health::HealthAlert::measurement]
346 |
# File 'sig/openai/models/admin/organization/health/health_alert.rbs', line 346
def self?.variants: -> ::Array[OpenAI::Models::Admin::Organization::Health::HealthAlert::measurement]
|
Instance Method Details
#initialize(cached_input_token_count:, input_token_count:, threshold:, value:, type: :prompt_cache_hit_rate) ⇒ Object
|
|
# File 'lib/openai/models/admin/organization/health/health_alert.rb', line 182
|