diff --git a/Gemfile.lock b/Gemfile.lock index 121fec1..3c76fb9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) diff --git a/README.md b/README.md index e14a237..99a33a3 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/lib/raix/version.rb b/lib/raix/version.rb index b4f31a2..9b7cfd2 100644 --- a/lib/raix/version.rb +++ b/lib/raix/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Raix - VERSION = "0.4.8" + VERSION = "0.5" end