lib/ruby/openai/finetunes.rb in ruby-openai-3.0.1 vs lib/ruby/openai/finetunes.rb in ruby-openai-3.0.2
- old
+ new
@@ -8,10 +8,10 @@
def list
OpenAI::Client.get(path: "/fine-tunes")
end
def create(parameters: {})
- OpenAI::Client.post(path: "/fine-tunes", parameters: parameters.to_json)
+ OpenAI::Client.post(path: "/fine-tunes", parameters: parameters)
end
def retrieve(id:)
OpenAI::Client.get(path: "/fine-tunes/#{id}")
end