nano-bots 0.0.4 → 0.0.5
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 +5 -1
- data/README.md +4 -4
- data/components/adapter.rb +40 -0
- data/components/storage.rb +2 -2
- data/controllers/instance.rb +1 -1
- data/controllers/interfaces/eval.rb +4 -17
- data/controllers/interfaces/repl.rb +6 -19
- data/controllers/session.rb +20 -10
- data/docker-compose.example.yml +1 -1
- data/logic/cartridge/adapters.rb +30 -0
- data/logic/cartridge/affixes.rb +33 -0
- data/logic/cartridge/default.rb +34 -0
- data/logic/cartridge/interaction.rb +38 -0
- data/logic/cartridge/streaming.rb +25 -0
- data/logic/helpers/hash.rb +4 -0
- data/nano-bots.gemspec +1 -0
- data/static/cartridges/baseline.yml +14 -0
- data/static/cartridges/default.yml +15 -10
- data/static/fennel/fennel.lua +6247 -0
- data/static/gem.rb +1 -1
- metadata +23 -1
data/static/gem.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
module NanoBot
|
4
4
|
GEM = {
|
5
5
|
name: 'nano-bots',
|
6
|
-
version: '0.0.
|
6
|
+
version: '0.0.5',
|
7
7
|
author: 'icebaker',
|
8
8
|
summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots',
|
9
9
|
description: 'Ruby Implementation of Nano Bots: small, AI-powered bots easily shared as a single file, designed to support multiple providers such as Vicuna, OpenAI ChatGPT, Google PaLM, Alpaca, and LLaMA.',
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nano-bots
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icebaker
|
@@ -112,6 +112,20 @@ dependencies:
|
|
112
112
|
- - "~>"
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '4.0'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: sweet-moon
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: 0.0.7
|
122
|
+
type: :runtime
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 0.0.7
|
115
129
|
description: 'Ruby Implementation of Nano Bots: small, AI-powered bots easily shared
|
116
130
|
as a single file, designed to support multiple providers such as Vicuna, OpenAI
|
117
131
|
ChatGPT, Google PaLM, Alpaca, and LLaMA.'
|
@@ -129,6 +143,7 @@ files:
|
|
129
143
|
- LICENSE
|
130
144
|
- README.md
|
131
145
|
- bin/nb
|
146
|
+
- components/adapter.rb
|
132
147
|
- components/provider.rb
|
133
148
|
- components/providers/base.rb
|
134
149
|
- components/providers/openai.rb
|
@@ -139,11 +154,18 @@ files:
|
|
139
154
|
- controllers/interfaces/repl.rb
|
140
155
|
- controllers/session.rb
|
141
156
|
- docker-compose.example.yml
|
157
|
+
- logic/cartridge/adapters.rb
|
158
|
+
- logic/cartridge/affixes.rb
|
159
|
+
- logic/cartridge/default.rb
|
160
|
+
- logic/cartridge/interaction.rb
|
161
|
+
- logic/cartridge/streaming.rb
|
142
162
|
- logic/helpers/hash.rb
|
143
163
|
- nano-bots.gemspec
|
144
164
|
- ports/dsl/nano-bots.rb
|
145
165
|
- ports/dsl/nano-bots/cli.rb
|
166
|
+
- static/cartridges/baseline.yml
|
146
167
|
- static/cartridges/default.yml
|
168
|
+
- static/fennel/fennel.lua
|
147
169
|
- static/gem.rb
|
148
170
|
homepage: https://github.com/icebaker/ruby-nano-bots
|
149
171
|
licenses:
|