Module: OpenAI::Models::Chat::CompletionCreateParams::Model
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/chat/completion_create_params.rb,
sig/openai/models/chat/completion_create_params.rbs
Overview
Model ID used to generate the response, like gpt-6-astra or o3. OpenAI
offers a wide range of models with different capabilities, performance
characteristics, and price points. Refer to the
model guide to browse and
compare available models.
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants
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_with_error, dump, #dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Instance Method Details
#self?.variants ⇒ ::Array[OpenAI::Models::Chat::CompletionCreateParams::model]
760 |
# File 'sig/openai/models/chat/completion_create_params.rbs', line 760
def self?.variants: -> ::Array[OpenAI::Models::Chat::CompletionCreateParams::model]
|