Skip to content

Releases: alexrudall/ruby-openai

4.2.0

20 Jun 15:41
8c66f19
Compare
Choose a tag to compare

Added

  • Add Azure OpenAI Service support. Thanks to @rmachielse and @steffansluis for the PR and to everyone who requested this feature!

4.1.0

15 May 05:29
a754f61
Compare
Choose a tag to compare

Added

  • Add the ability to trigger any callable object as stream chunks come through, not just Procs. Big thanks to @obie for this change.

4.0.0

26 Apr 13:55
5683eb9
Compare
Choose a tag to compare

Added

  • Add the ability to stream Chat responses from the API! Thanks to everyone who requested this and made suggestions.
  • Added instructions for streaming to the README.

Changed

  • Switch HTTP library from HTTParty to Faraday to allow streaming and future feature and performance improvements.
  • [BREAKING] Endpoints now return JSON rather than HTTParty objects. You will need to update your code to handle this change, changing JSON.parse(response.body)["key"] and response.parsed_response["key"] to just response["key"].

3.7

25 Mar 00:56
10c77c4
Compare
Choose a tag to compare
3.7

Added

3.6

22 Mar 21:58
24b4bba
Compare
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
Compare
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
Compare
Choose a tag to compare

Added

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

3.3.0

15 Feb 18:56
904b5ab
Compare
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
Compare
Choose a tag to compare

Added

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

3.1.0

13 Feb 23:47
008f520
Compare
Choose a tag to compare

Added

Fixed

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