Module: OpenAI::Models::FineTuning::JobCreateParams::Method::Type

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

Overview

The type of method. Is either supervised, dpo, or reinforcement.

See Also:

  • OpenAI::Models::FineTuning::JobCreateParams::Method#type

Constant Summary collapse

SUPERVISED =

Returns:

  • (:supervised)
:supervised
DPO =

Returns:

  • (:dpo)
:dpo
REINFORCEMENT =

Returns:

  • (:reinforcement)
:reinforcement

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

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

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

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/fine_tuning/job_create_params.rb', line 441

Instance Method Details

#self?.values ⇒ ::Array[OpenAI::Models::FineTuning::JobCreateParams::Method::type_]

Returns:

  • (::Array[OpenAI::Models::FineTuning::JobCreateParams::Method::type_])


454
# File 'sig/openai/models/fine_tuning/job_create_params.rbs', line 454

def self?.values: -> ::Array[OpenAI::Models::FineTuning::JobCreateParams::Method::type_]