Module: OpenAI::Models::FineTuning::JobCreateParams::Model

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/fine_tuning/job_create_params.rb

Overview

The name of the model to fine-tune. You can select one of the [supported models](platform.openai.com/docs/guides/fine-tuning#which-models-can-be-fine-tuned).

collapse

BABBAGE_002 =
:"babbage-002"
DAVINCI_002 =
:"davinci-002"
GPT_3_5_TURBO =
:"gpt-3.5-turbo"
GPT_4O_MINI =
:"gpt-4o-mini"

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, 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, #dump, dump, #inspect, inspect, type_info

Class Method Details

.variantsArray(String, Symbol)

Returns:

  • (Array(String, Symbol))


151
152
153
# File 'lib/openai/models/fine_tuning/job_create_params.rb', line 151

define_sorbet_constant!(:Variants) do
  T.type_alias { T.any(String, OpenAI::FineTuning::JobCreateParams::Model::TaggedSymbol) }
end