ruby_bots 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c80d6dfdae46c6b515e2e27594773ccfc1b3b19a1c7eba1d178e086141749af
4
- data.tar.gz: 3012aced81f609620abeec7308b71a1c9c5c1303070b09afc58496f3e51b2a40
3
+ metadata.gz: 9a0283c6e919cc857290addbc845465629cc14c9838afd7cf3fb6dfdda5babae
4
+ data.tar.gz: c673d66b8b6549be57cb9a26d1a836cef873ceb0c66d27b9f5ebeb71c2d43485
5
5
  SHA512:
6
- metadata.gz: 30321966a0d82c39d3ded4a522f701a2d9aa02cce2580171e6261fcb8347aa2fa01ebd1f98cc6fc8879471df47e274692c0264f1fcca8f0439bdbc7c8e398496
7
- data.tar.gz: da45ebe03183f331cdb285a1e3ad25f72a1661d9150695a5b70ec54fdfe4f6a7926f7bfcefc9672807c468ffa6fd76d2dbfa597a00d33a1c84de5559def3538e
6
+ metadata.gz: 4e1678ad3e4fb11399afc74ec921e49feb5e172546bd4a5c615986961cc1d785a685bde4f7a95375854b8ea0a822909c889d276312d1474442b3f040bb873c98
7
+ data.tar.gz: 55e3fc759fc604c5c5ad7f0fc24d54aab1e597fcaea165b2577a954cb30d322969734f62fb88996418251067931bb77f6d89b334ca9c836622a67657e3bc8a6c
@@ -5,9 +5,8 @@ module RubyBots
5
5
  DEFAULT_DESCRIPTION = "This bot will use OpenAI to determine the appropriate tool."
6
6
 
7
7
  def initialize(name: "OpenAI bot", description: DEFAULT_DESCRIPTION, tools:)
8
- @name = name
9
- @description = description
10
8
  @tools = tools
9
+ super(name: name, description: description)
11
10
  end
12
11
 
13
12
  def run(inputs)
@@ -3,9 +3,7 @@ module RubyBots
3
3
  DEFAULT_DESCRIPTION = "This bot will utilize all of its tools in a syncronouse pipeline based on the order the tools are provided."
4
4
 
5
5
  def initialize(name: "Pipeline bot", description: DEFAULT_DESCRIPTION, tools:)
6
- @name = name
7
- @description = description
8
- @tools = tools
6
+ super(name: name, description: description, tools: tools)
9
7
  end
10
8
 
11
9
  def run(inputs)
@@ -3,9 +3,7 @@ module RubyBots
3
3
  DEFAULT_DESCRIPTION = "This bot will route the user's input to the appropriate tool. It will only select and use one tool."
4
4
 
5
5
  def initialize(name: "Router bot", description: DEFAULT_DESCRIPTION, tools:)
6
- @name = name
7
- @description = description
8
- @tools = tools
6
+ super(name: name, description: description, tools: tools)
9
7
  end
10
8
 
11
9
  def system_instructions
@@ -1,3 +1,3 @@
1
1
  module RubyBots
2
- VERSION = "0.0.8".freeze
2
+ VERSION = "0.0.9".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_bots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Paulson