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 to >= 3, < 6 #47

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 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.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!

[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

... (truncated)

Commits
  • aa103fc Merge pull request #347 from alexrudall/loosen-event-stream-restrictions
  • 06b6f61 Loosen event_stream restrictions
  • f4623c5 Merge pull request #346 from alexrudall/5.2.0
  • 624f272 5.2.0
  • 76aab2d Merge pull request #338 from atesgoral/use_event_stream_parser
  • ef5a830 Add another quick spec
  • e6f40af Use event_stream_parser for robust SSE parsing
  • e76c729 Merge pull request #337 from alexrudall/tweak-railsai-link
  • 4a4283c Tweak link
  • 1e01f89 Merge pull request #330 from alexrudall/alexrudall-patch-12
  • Additional commits viewable in compare view

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)

@dependabot dependabot bot requested a review from MatheusRich as a code owner November 1, 2023 00:57
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 1, 2023
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.7.0...v5.2.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 force-pushed the dependabot/bundler/ruby-openai-5.2.0 branch from 903f2c8 to 52309dc Compare November 1, 2023 12:52
@MatheusRich MatheusRich closed this Nov 1, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/bundler/ruby-openai-5.2.0 branch November 1, 2023 13:19
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.

1 participant