Add support for Assistants, Threads, Messages and Runs. Thank you @Haegin for the excellent work on this PR, and many reviewers for their contributions!
v6.0.1
Fix
Gracefully handle the case where an HTTP error response may not have valid JSON in its body. Thank you @atesgoral!
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
[BREAKING] Fix issue where :stream parameters where replaced by a boolean in the client application. Thanks to @martinjaimem, @vickymadrid03 and @nicastelo for spotting and fixing this issue.
Fixes issue where OpenAI or an intermediary returns only partial JSON per chunk of streamed data
Huge thanks to @atesgoral for this important 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!
Add support for Assistants, Threads, Messages and Runs. Thank you @Haegin for the excellent work on this PR, and many reviewers for their contributions!
[6.0.1] - 2023-11-07
Fix
Gracefully handle the case where an HTTP error response may not have valid JSON in its body. Thank you @atesgoral!
[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
[BREAKING] Fix issue where :stream parameters were replaced by a boolean in the client application. Thanks to @martinjaimem, @vickymadrid03 and @nicastelo for spotting and fixing this issue.
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 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 to permit the latest version.
Release notes
Sourced from ruby-openai's releases.
... (truncated)
Changelog
Sourced from ruby-openai's changelog.
... (truncated)
Commits
26672af
Merge pull request #397 from alexrudall/6.3.1745d574
Bump versiona6fb831
Merge pull request #396 from alexrudall/emojis5495a55
Merge pull request #391 from stefan-kp/feature/validate_only_jsonl_filesbb66fbb
Tweak emojis9a8154e
Files for assistants can now be PDFs,... as we only validate .jsonl files80da193
Merge pull request #389 from alexrudall/6.34fe84da
Rubocop732d761
Improve error presentation69fd4c4
RubocopDependabot 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