nano-bots 3.3.0 → 3.4.0
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 +4 -4
- data/Gemfile.lock +9 -4
- data/README.md +87 -15
- data/components/embedding.rb +10 -2
- data/components/provider.rb +3 -0
- data/components/providers/anthropic.rb +114 -0
- data/components/providers/cohere.rb +4 -3
- data/components/providers/google.rb +6 -1
- data/components/providers/maritaca.rb +2 -1
- data/components/providers/mistral.rb +2 -1
- data/components/providers/ollama.rb +6 -3
- data/docker-compose.example.yml +4 -1
- data/logic/cartridge/streaming.rb +1 -1
- data/logic/providers/anthropic/tokens.rb +14 -0
- data/nano-bots.gemspec +2 -1
- data/static/fennel/fennel.lua +1587 -1179
- data/static/gem.rb +3 -3
- metadata +22 -5
data/static/gem.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
module NanoBot
|
4
4
|
GEM = {
|
5
5
|
name: 'nano-bots',
|
6
|
-
version: '3.
|
7
|
-
specification: '3.
|
6
|
+
version: '3.4.0',
|
7
|
+
specification: '3.2.0',
|
8
8
|
author: 'icebaker',
|
9
|
-
summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots for OpenAI ChatGPT, Ollama, Mistral AI, Cohere Command, Maritaca AI MariTalk, and Google Gemini.',
|
9
|
+
summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots for OpenAI ChatGPT, Ollama, Mistral AI, Anthropic Claude, Cohere Command, Maritaca AI MariTalk, and Google Gemini.',
|
10
10
|
description: 'Ruby Implementation of Nano Bots: small, AI-powered bots that can be easily shared as a single file, designed to support multiple providers such as OpenAI ChatGPT, Ollama, Mistral AI, Cohere Command, Maritaca AI MariTalk, and Google Gemini, with support for calling Tools (Functions).',
|
11
11
|
github: 'https://github.com/icebaker/ruby-nano-bots',
|
12
12
|
gem_server: 'https://rubygems.org',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nano-bots
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icebaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babosa
|
@@ -146,6 +146,20 @@ dependencies:
|
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '1.0'
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: anthropic
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - "~>"
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 0.3.0
|
156
|
+
type: :runtime
|
157
|
+
prerelease: false
|
158
|
+
version_requirements: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - "~>"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 0.3.0
|
149
163
|
- !ruby/object:Gem::Dependency
|
150
164
|
name: cohere-ai
|
151
165
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,14 +180,14 @@ dependencies:
|
|
166
180
|
requirements:
|
167
181
|
- - "~>"
|
168
182
|
- !ruby/object:Gem::Version
|
169
|
-
version: '4.
|
183
|
+
version: '4.1'
|
170
184
|
type: :runtime
|
171
185
|
prerelease: false
|
172
186
|
version_requirements: !ruby/object:Gem::Requirement
|
173
187
|
requirements:
|
174
188
|
- - "~>"
|
175
189
|
- !ruby/object:Gem::Version
|
176
|
-
version: '4.
|
190
|
+
version: '4.1'
|
177
191
|
- !ruby/object:Gem::Dependency
|
178
192
|
name: maritaca-ai
|
179
193
|
requirement: !ruby/object:Gem::Requirement
|
@@ -313,6 +327,7 @@ files:
|
|
313
327
|
- components/crypto.rb
|
314
328
|
- components/embedding.rb
|
315
329
|
- components/provider.rb
|
330
|
+
- components/providers/anthropic.rb
|
316
331
|
- components/providers/base.rb
|
317
332
|
- components/providers/cohere.rb
|
318
333
|
- components/providers/google.rb
|
@@ -342,6 +357,7 @@ files:
|
|
342
357
|
- logic/cartridge/streaming.rb
|
343
358
|
- logic/cartridge/tools.rb
|
344
359
|
- logic/helpers/hash.rb
|
360
|
+
- logic/providers/anthropic/tokens.rb
|
345
361
|
- logic/providers/cohere/tokens.rb
|
346
362
|
- logic/providers/google/tokens.rb
|
347
363
|
- logic/providers/google/tools.rb
|
@@ -387,5 +403,6 @@ rubygems_version: 3.3.3
|
|
387
403
|
signing_key:
|
388
404
|
specification_version: 4
|
389
405
|
summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots for OpenAI ChatGPT,
|
390
|
-
Ollama, Mistral AI, Cohere Command, Maritaca AI MariTalk, and
|
406
|
+
Ollama, Mistral AI, Anthropic Claude, Cohere Command, Maritaca AI MariTalk, and
|
407
|
+
Google Gemini.'
|
391
408
|
test_files: []
|