Skip to content

Commit

Permalink
bump to 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
obie committed Feb 10, 2025
1 parent 53e922c commit 4af5f5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
raix (0.4.8)
raix (0.5)
activesupport (>= 6.0)
open_router (~> 0.2)
ruby-openai (~> 7.0)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ RSpec.describe WhatIsTheWeather do
end
```

Note that for security reasons, dispatching functions only works with functions implemented using `Raix::FunctionDispatch#function` or directly on the class.

#### Multiple Tool Calls

Some AI models (like GPT-4) can make multiple tool calls in a single response. When this happens, Raix will automatically handle all the function calls sequentially and return an array of their results. Here's an example:
Expand Down
2 changes: 1 addition & 1 deletion lib/raix/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Raix
VERSION = "0.4.8"
VERSION = "0.5"
end

0 comments on commit 4af5f5d

Please sign in to comment.