Releases: alexrudall/ruby-openai
Releases · alexrudall/ruby-openai
4.2.0
Added
- Add Azure OpenAI Service support. Thanks to @rmachielse and @steffansluis for the PR and to everyone who requested this feature!
4.1.0
4.0.0
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"]
andresponse.parsed_response["key"]
to justresponse["key"]
.
3.7
Added
- Allow the usage of proxy base URIs like https://www.helicone.ai/. Thanks to @mmmaia for the PR!
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
Added
- Add Client#transcribe and Client translate endpoints - Whisper over the wire! Thanks to @Clemalfroy
3.4.0
Added
- Add Client#chat endpoint - ChatGPT over the wire!
3.3.0
Changed
- Replace ::Ruby::OpenAI namespace with ::OpenAI - thanks @kmcphillips for this work!
- To upgrade, change
require 'ruby/openai'
torequire 'openai'
and change all references toRuby::OpenAI
toOpenAI
.
3.2.0
3.1.0
Added
- Add Finetunes#delete endpoint - thanks @lancecarlson for flagging this.
- Add VCR header and body matching - thanks @petergoldstein!
Fixed
- Update File#upload specs to remove deprecated
answers
purpose.