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.2-astra. 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.
Class 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
.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]
|