ruby_bots 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ae9e0cefac2b636d7dcb5e1627638ba1dd0a65193001cbe6ed143cca929bf86
4
- data.tar.gz: e86443e3e76810dfb478f04f1727854aa4c698fdcae7d449c2181546ab4c0c3f
3
+ metadata.gz: 9a0283c6e919cc857290addbc845465629cc14c9838afd7cf3fb6dfdda5babae
4
+ data.tar.gz: c673d66b8b6549be57cb9a26d1a836cef873ceb0c66d27b9f5ebeb71c2d43485
5
5
  SHA512:
6
- metadata.gz: e7f38b981264422dfedab32092b4afe7ccf11fcf3beffe281d96e1f946d2737ed72b502d7fbd1fc3486430158d54298e97546f1676944209c85b6e4ec824c540
7
- data.tar.gz: 2b7067d0f1638c7553b062d94362354d59082c4c5fd545005e1e47f80a21d8d4159c18a4688816b43b71e614043ced82dfea82af308560996e7cad4e2ec21fd1
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)
@@ -2,10 +2,8 @@ module RubyBots
2
2
  class RouterBot < OpenAIBot
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
- def initialize(name: "Router bot", decription: DEFAULT_DESCRIPTION, tools:)
6
- @name = name
7
- @description = description
8
- @tools = tools
5
+ def initialize(name: "Router bot", description: DEFAULT_DESCRIPTION, 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.7".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.7
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Paulson