Method: OpenAI::Resources::FineTuning#initialize
- Defined in:
- lib/openai/resources/fine_tuning.rb
#initialize(client:) ⇒ FineTuning
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of FineTuning.
21 22 23 24 25 26 27 |
# File 'lib/openai/resources/fine_tuning.rb', line 21 def initialize(client:) @client = client @methods_ = OpenAI::Resources::FineTuning::Methods.new(client: client) @jobs = OpenAI::Resources::FineTuning::Jobs.new(client: client) @checkpoints = OpenAI::Resources::FineTuning::Checkpoints.new(client: client) @alpha = OpenAI::Resources::FineTuning::Alpha.new(client: client) end |