Skip to content

Releases: alexrudall/ruby-openai

3.6

22 Mar 21:58
24b4bba

Choose a tag to compare

3.6

Added

  • Add much-needed ability to increase HTTParty timeout, and set default to 120 seconds. Thanks to @mbackermann for the PR and to everyone who requested this!

3.5.0

02 Mar 21:07
6d906ea

Choose a tag to compare

Added

  • Add Client#transcribe and Client translate endpoints - Whisper over the wire! Thanks to @Clemalfroy

3.4.0

01 Mar 18:44
73cc980

Choose a tag to compare

Added

  • Add Client#chat endpoint - ChatGPT over the wire!

3.3.0

15 Feb 18:56
904b5ab

Choose a tag to compare

Changed

  • Replace ::Ruby::OpenAI namespace with ::OpenAI - thanks @kmcphillips for this work!
  • To upgrade, change require 'ruby/openai' to require 'openai' and change all references to Ruby::OpenAI to OpenAI.

3.2.0

13 Feb 23:48
d6ca4c5

Choose a tag to compare

Added

  • Add Files#content endpoint - thanks @unixneo for raising!

3.1.0

13 Feb 23:47
008f520

Choose a tag to compare

Added

Fixed

  • Update File#upload specs to remove deprecated answers purpose.

3.0.3

08 Jan 21:35
d130253

Choose a tag to compare

Added

  • Add ability to run the specs without VCR cassettes using NO_VCR=true bundle exec rspec.
  • Add Ruby 3.2 to CircleCI config - thanks @petergoldstein!
  • A bit of detail added to the README on DALLE image sizes - thanks @ndemianc!

Fixed

  • Fix finetunes and files uploads endpoints - thanks @chaadow for your PR on this and @petergoldstein for the PR we ultimately went with.

3.0.2

03 Jan 18:39
05d1019

Choose a tag to compare

Fixed

  • Fixed Images#generate and Finetunes#create which were broken by a double call of to_json.
  • Thanks @konung for spotting this!

3.0.1

26 Dec 23:23
12e5d45

Choose a tag to compare

[3.0.1] - 2022-12-26

Removed

  • [BREAKING] Remove deprecated answers, classifications, embeddings, engines and search endpoints.
  • [BREAKING] Remove ability to pass engine to completions and embeddings outside of the parameters hash.

3.0.0

26 Dec 18:04
d71fe0f

Choose a tag to compare

Added

Removed

  • [BREAKING] Remove ability to include access_token directly via ENV vars.
  • [BREAKING] Remove ability to pass API version directly to endpoints.