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 ~> 3.0.0 to >= 3.0, < 5.2 #27

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2023

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

Release notes

Sourced from ruby-openai's releases.

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!

4.2.0

Added

4.1.0

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

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

... (truncated)

Changelog

Sourced from ruby-openai's changelog.

[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!

[4.3.0] - 2023-08-12

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!

[4.2.0] - 2023-06-20

Added

[4.1.0] - 2023-05-15

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] - 2023-04-25

... (truncated)

Commits
  • 7103348 Merge pull request #313 from alexrudall/5.1
  • 5dd1534 Bump version
  • 51408cc Merge pull request #312 from jamiemccarthy/jm-rough-token-count
  • 3845a45 rough_token_count documentation
  • 1727342 Add OpenAI.rough_token_count
  • e511ebb Merge pull request #311 from alexrudall/helicone-streaming-config
  • a0a8677 Add note about Helicone streaming
  • 367c624 Merge pull request #243 from nicbotes/patch-1
  • 5ff5952 Merge pull request #269 from ch0ngxian/main
  • b386494 Pass client to audio
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 1, 2023
@dependabot dependabot bot force-pushed the dependabot/bundler/ruby-openai-5.1.0 branch 2 times, most recently from e71e02b to 699b1be Compare September 1, 2023 03:58
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@v3.0.3...v5.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/ruby-openai-5.1.0 branch from 699b1be to 6b21223 Compare September 1, 2023 18:29
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2023

Superseded by #47.

@dependabot dependabot bot closed this Nov 1, 2023
@dependabot dependabot bot deleted the dependabot/bundler/ruby-openai-5.1.0 branch November 1, 2023 00:57
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