Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ruby-openai requirement from >= 4.1, < 4.3 to >= 4.1, < 6.1 #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2023

Updates the requirements on ruby-openai to permit the latest version.

Release notes

Sourced from ruby-openai's releases.

v6.0.0

Added

  • [BREAKING] HTTP errors will now be raised by ruby-openai as Faraday:Errors, including when streaming! Implemented by @​atesgoral
  • [BREAKING] Switch from legacy Finetunes to the new Fine-tune-jobs endpoints. Implemented by @​lancecarlson
  • [BREAKING] Remove deprecated Completions endpoints - use Chat instead.

Fix

v5.2.0

Fix

5.1.0

Added

  • Added rough_token_count to estimate tokens in a string according to OpenAI's "rules of thumb". Thank you to @​jamiemccarthy for the idea and implementation!

5.0.0

Added

  • Support multi-tenant use of the gem! Each client now holds its own config, so you can create unlimited clients in the same project, for example to Azure and OpenAI, or for different headers, access keys, etc.
  • [BREAKING-ish] This change should only break your usage of ruby-openai if you are directly calling class methods like OpenAI::Client.get for some reason, as they are now instance methods. Normal usage of the gem should be unaffected, just you can make new clients and they'll keep their own config if you want, overriding the global config.
  • Huge thanks to @​petergoldstein for his original work on this, @​cthulhu for testing and many others for reviews and suggestions.

Changed

  • [BREAKING] Move audio related method to Audio model from Client model. You will need to update your code to handle this change, changing client.translate to client.audio.translate and client.transcribe to client.audio.transcribe.

4.3.2

Fixed

  • Don't overwrite config extra-headers when making a client without different ones. Thanks to @​swistaczek for raising this!
  • Include extra-headers for Azure requests.

4.3.1

Fixed

  • Tempfiles can now be sent to the API as well as Files, eg for Whisper. Thanks to @​codergeek121 for the fix!

4.3.0

Added

  • Add extra-headers to config to allow setting openai-caching-proxy-worker TTL, Helicone Auth and anything else ya need. Ty to @​deltaguita and @​marckohlbrugge for the PR!
Changelog

Sourced from ruby-openai's changelog.

[6.0.0] - 2023-11-06

Added

  • [BREAKING] HTTP errors will now be raised by ruby-openai as Faraday:Errors, including when streaming! Implemented by @​atesgoral
  • [BREAKING] Switch from legacy Finetunes to the new Fine-tune-jobs endpoints. Implemented by @​lancecarlson
  • [BREAKING] Remove deprecated Completions endpoints - use Chat instead.

Fix

[5.2.0] - 2023-10-30

Fix

[5.1.0] - 2023-08-20

Added

  • Added rough_token_count to estimate tokens in a string according to OpenAI's "rules of thumb". Thank you to @​jamiemccarthy for the idea and implementation!

[5.0.0] - 2023-08-14

Added

  • Support multi-tenant use of the gem! Each client now holds its own config, so you can create unlimited clients in the same project, for example to Azure and OpenAI, or for different headers, access keys, etc.
  • [BREAKING-ish] This change should only break your usage of ruby-openai if you are directly calling class methods like OpenAI::Client.get for some reason, as they are now instance methods. Normal usage of the gem should be unaffected, just you can make new clients and they'll keep their own config if you want, overriding the global config.
  • Huge thanks to @​petergoldstein for his original work on this, @​cthulhu for testing and many others for reviews and suggestions.

Changed

  • [BREAKING] Move audio related method to Audio model from Client model. You will need to update your code to handle this change, changing client.translate to client.audio.translate and client.transcribe to client.audio.transcribe.

[4.3.2] - 2023-08-14

Fixed

  • Don't overwrite config extra-headers when making a client without different ones. Thanks to @​swistaczek for raising this!
  • Include extra-headers for Azure requests.

[4.3.1] - 2023-08-13

Fixed

  • Tempfiles can now be sent to the API as well as Files, eg for Whisper. Thanks to @​codergeek121 for the fix!

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [ruby-openai](https://github.com/alexrudall/ruby-openai) to permit the latest version.
- [Release notes](https://github.com/alexrudall/ruby-openai/releases)
- [Changelog](https://github.com/alexrudall/ruby-openai/blob/main/CHANGELOG.md)
- [Commits](alexrudall/ruby-openai@v4.2.0...v6.0.0)

---
updated-dependencies:
- dependency-name: ruby-openai
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants