Skip to content

Releases: alexrudall/ruby-openai

3.0.3

08 Jan 21:35
d130253
Compare
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
Compare
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
Compare
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
Compare
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.

2.3.0

23 Dec 22:42
451c18c
Compare
Choose a tag to compare

Added

  • Add Images#edit and Images#variations endpoint to modify images with DALL·E.

2.2.0

15 Dec 09:13
Compare
Choose a tag to compare

Added

  • Add Organization ID to headers so users can charge credits to the correct organization.
  • Thanks @mridul911 for raising this and @maks112v for adding it!

2.1.0

13 Nov 17:24
216f9f9
Compare
Choose a tag to compare

Added

  • Add Images#generate endpoint to generate images with DALL·E!

2.0.1

22 Oct 20:51
Compare
Choose a tag to compare

Removed

  • Deprecate Client#answers endpoint.
  • Deprecate Client#classifications endpoint.

2.0.0

19 Sep 14:40
815f9f9
Compare
Choose a tag to compare

Removed

  • [BREAKING] Remove support for Ruby 2.5.
  • [BREAKING] Remove support for passing query, documents or file as top-level parameters to Client#search.
  • Deprecate Client#search endpoint.
  • Deprecate Client#engines endpoints.

Added

  • Add Client#models endpoints to list and query available models.

1.5.0

18 Sep 19:15
Compare
Choose a tag to compare

Added

  • Add Client#moderations endpoint to check OpenAI's Content Policy.
  • Add Client#edits endpoints to transform inputs according to instructions.