You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [8.0.0] - 2025-03-14
9
+
10
+
### Added
11
+
12
+
- Add Responses endpoints - thanks to my excellent colleague [@simonx1](https://github.com/simonx1) for your work on this!
13
+
- Add docs for the Deepseek chat API.
14
+
- Add Models#delete - thanks to [bennysghost](https://github.com/bennysghost).
15
+
16
+
### Fixed
17
+
18
+
-[BREAKING] Try to JSON parse everything. If it fails, fall back gracefully to returning the raw response. Thank you to [@gregszero](https://github.com/gregszero) and the many others who raised this issue.
19
+
-[BREAKING] An unknown file type will no longer prevent file upload, but instead raise a warning.
20
+
-[BREAKING] ruby-openai longer requires "faraday/multipart" for Faraday 1 users (Faraday 1 already includes it and it was causing a warning). Thanks to [ajGingrich](https://github.com/ajGingrich) for raising this!
21
+
- Add `user_data` and `evals` as options for known File types - thank you to [jontec](https://github.com/jontec) for this fix!
22
+
- Fix a syntax ambiguity in Client.rb - thank you to [viralpraxis](https://github.com/viralpraxis).
23
+
24
+
### Removed
25
+
26
+
-[BREAKING] Backwards compatibility for `require "ruby/openai"` is removed - from v8 on you MUST use `require "openai"`. This fixes a deprecation warning with Ruby 3.4. Thanks to [@ndemianc](https://github.com/ndemianc) for this PR.
27
+
-[BREAKING] Removed support for Ruby 2.6. ruby-openai may still work with this version but it's no longer supported.
28
+
- Removed the 'OpenAI-Beta' header from Batches API requests.
GPT is a model that can be used to generate text in a conversational style. You can use it to [generate a response](https://platform.openai.com/docs/api-reference/chat/create) to a sequence of [messages](https://platform.openai.com/docs/guides/chat/introduction):
@@ -466,15 +472,16 @@ You can stream it as well!
466
472
```
467
473
468
474
### Responses API
469
-
OpenAI's most advanced interface for generating model responses. Supports text and image inputs, and text outputs. Create stateful interactions with the model, using the output of previous responses as input. Extend the model's capabilities with built-in tools for file search, web search, computer use, and more. Allow the model access to external systems and data using function calling.
475
+
[OpenAI's most advanced interface for generating model responses](https://platform.openai.com/docs/api-reference/responses). Supports text and image inputs, and text outputs. Create stateful interactions with the model, using the output of previous responses as input. Extend the model's capabilities with built-in tools for file search, web search, computer use, and more. Allow the model access to external systems and data using function calling.
@@ -852,6 +864,12 @@ You can also capture the events for a job:
852
864
client.finetunes.list_events(id: fine_tune_id)
853
865
```
854
866
867
+
You can also delete any finetuned model you generated, if you're an account Owner on your OpenAI organization:
868
+
869
+
```ruby
870
+
client.models.delete(id: fine_tune_id)
871
+
```
872
+
855
873
### Vector Stores
856
874
857
875
Vector Store objects give the File Search tool the ability to search your files.
@@ -1650,6 +1668,12 @@ To run all tests, execute the command `bundle exec rake`, which will also run th
1650
1668
> [!WARNING]
1651
1669
> If you have an `OPENAI_ACCESS_TOKEN` and `OPENAI_ADMIN_TOKEN` in your `ENV`, running the specs will hit the actual API, which will be slow and cost you money - 2 cents or more! Remove them from your environment with `unset` or similar if you just want to run the specs against the stored VCR responses.
First run the specs without VCR so they actually hit the API. This will cost 2 cents or more. Set OPENAI_ACCESS_TOKEN and OPENAI_ADMIN_TOKEN in your environment.
0 commit comments