Skip to content

Releases: alexrudall/ruby-openai

v7.3.1

15 Oct 07:06
580346e
Compare
Choose a tag to compare

[7.3.1] - 2024-10-15

Fixed

  • Fix 404 error when using Client#embeddings with Azure - thanks to @ymtdzzz for raising this in a really clear issue.

v7.3.0

11 Oct 15:34
16f00c3
Compare
Choose a tag to compare

Added

  • Add ability to (with the right incantations) retrieve the chunks used by an Assistant file search - thanks to @agamble for the addition!

v7.2.0

10 Oct 10:32
03e76a7
Compare
Choose a tag to compare

Added

  • Add ability to pass parameters to Files#list endpoint - thanks to @parterburn!
  • Add Velvet observability platform to README - thanks to @philipithomas
  • Add Assistants::Messages#delete endpoint - thanks to @mochetts!

v7.1.0

10 Jun 13:05
a694ee2
Compare
Choose a tag to compare

Added

  • Add new Vector Store endpoints - thanks to @willywg for this PR!
  • Add parameters to batches.list endpoint so you can for example use after - thanks to @marckohlbrugge!
  • Add vision as permitted purpose for files - thanks again to @willywg for the PR.
  • Add improved README example of tool calling - thanks @krschacht - check out his project HostedGPT!

Fixed

  • Fix broken link in README table of contents - thanks to @garrettgsb!
  • Skip sending nil headers - thanks to @drnic!

v7.0.1

29 Apr 23:50
5bd35bb
Compare
Choose a tag to compare

Fixed

  • Update to v2 of Assistants in Messages, Runs, RunSteps and Threads - thanks to @willywg and others for pointing this out.

v7.0.0

27 Apr 23:09
c48e96c
Compare
Choose a tag to compare

Added

  • Add support for Batches, thanks to @simonx1 for the PR!
  • Allow use of local LLMs like Ollama! Thanks to @ThomasSevestre
  • Update to v2 of the Assistants beta & add documentation on streaming from an Assistant.
  • Add Assistants endpoint to create and run a thread in one go, thank you @quocphien90
  • Add missing parameters (order, limit, etc) to Runs, RunSteps and Messages - thanks to @shalecraig and @coezbek
  • Add missing Messages#list spec - thanks @adammeghji
  • Add Messages#modify to README - thanks to @nas887
  • Don't add the api_version (/v1/) to base_uris that already include it - thanks to @kaiwren for raising this issue
  • Allow passing a StringIO to Files#upload - thanks again to @simonx1
  • Add Ruby 3.3 to CI

Security

  • [BREAKING] ruby-openai will no longer log out API errors by default - you can reenable by passing log_errors: true to your client. This will help to prevent leaking secrets to logs. Thanks to @lalunamel for this PR.

Removed

  • [BREAKING] Remove deprecated edits endpoint.

Fixed

  • Fix README DALL·E 3 error - thanks to @clayton
  • Fix README tool_calls error and add missing tool_choice info - thanks to @Jbrito6492

v6.5.0

31 Mar 20:25
f8a4482
Compare
Choose a tag to compare

Added

v6.4.0

27 Mar 20:44
81c3988
Compare
Choose a tag to compare

Added

Fixed

  • Update README and spec to use tool calls instead of functions - thanks to @mpallenjr
  • Remove nonexistent Thread#list method - thanks again! to @ignacio-chiazzo
  • Update finetunes docs in README to use chat instead of completions endpoint - thanks to @blefev

v6.3.1

04 Dec 16:34
26672af
Compare
Choose a tag to compare

Fixed

  • Allow any kind of file (eg. PDFs) to be uploaded to the API, not just JSONL files. Thank you @stefan-kp for the PR!

v6.3.0

26 Nov 18:22
80da193
Compare
Choose a tag to compare

Added

  • Add ability to pass Faraday middleware to the client in a block, eg. to enable verbose logging - shout out to @obie for pushing for this.
  • Add better error logging to the client by default.
  • Bump Event Source to v1, thank you @atesgoral @ Shopify!