nano-bots 1.1.1 → 1.1.2
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/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/Gemfile.lock +1 -1
- data/README.md +8 -4
- data/docker-compose.example.yml +1 -1
- data/static/gem.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e2cff31d309d896be4e019fa6f39a86d68c6463c83c552b44d1bdf270d160b5
|
|
4
|
+
data.tar.gz: 8d506a1a13e2f85efb47a5149dc9ecd4519a49be8f26d139b5309f23e846aebe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a95508200927eff8dc6bbb7d6a1ca84e6c4ec4a0ff0ff549d6650f862a17ec5f56fe5e68ddfa3acf699f2ef2462527e0f63ec753c494c62149ff604cc17f6983
|
|
7
|
+
data.tar.gz: cf285799aba18d3dfe7680cbc47a2a09805953d1bf2ed65a29f8da78553f9d4e06a56b2ec9984f5819847790659df80636b02255c3b32ba1acb58670d4398458
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.0
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -30,13 +30,13 @@ https://user-images.githubusercontent.com/113217272/238141567-c58a240c-7b67-4b3b
|
|
|
30
30
|
For a system usage:
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
|
-
gem install nano-bots -v 1.1.
|
|
33
|
+
gem install nano-bots -v 1.1.2
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
To use it in a project, add it to your `Gemfile`:
|
|
37
37
|
|
|
38
38
|
```ruby
|
|
39
|
-
gem 'nano-bots', '~> 1.1.
|
|
39
|
+
gem 'nano-bots', '~> 1.1.2'
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
```sh
|
|
@@ -86,7 +86,7 @@ Set your provider credentials and choose your desired directory for the cartridg
|
|
|
86
86
|
services:
|
|
87
87
|
nano-bots:
|
|
88
88
|
image: ruby:3.2.2-slim-bookworm
|
|
89
|
-
command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 1.1.
|
|
89
|
+
command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 1.1.2 && bash"
|
|
90
90
|
environment:
|
|
91
91
|
OPENAI_API_ADDRESS: https://api.openai.com
|
|
92
92
|
OPENAI_API_KEY: your-access-token
|
|
@@ -111,6 +111,8 @@ nb assistant.yml - eval "hello"
|
|
|
111
111
|
nb assistant.yml - repl
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
+
You can exit the REPL by typing `exit`.
|
|
115
|
+
|
|
114
116
|
## Usage
|
|
115
117
|
|
|
116
118
|
### Command Line
|
|
@@ -159,6 +161,8 @@ well. How can I assist you?
|
|
|
159
161
|
🤖> |
|
|
160
162
|
```
|
|
161
163
|
|
|
164
|
+
You can exit the REPL by typing `exit`.
|
|
165
|
+
|
|
162
166
|
All of the commands above are stateless. If you want to preserve the history of your interactions, replace the `-` with a state key:
|
|
163
167
|
|
|
164
168
|
```bash
|
|
@@ -488,5 +492,5 @@ gem build nano-bots.gemspec
|
|
|
488
492
|
|
|
489
493
|
gem signin
|
|
490
494
|
|
|
491
|
-
gem push nano-bots-1.1.
|
|
495
|
+
gem push nano-bots-1.1.2.gem
|
|
492
496
|
```
|
data/docker-compose.example.yml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
services:
|
|
3
3
|
nano-bots:
|
|
4
4
|
image: ruby:3.2.2-slim-bookworm
|
|
5
|
-
command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 1.1.
|
|
5
|
+
command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 1.1.2 && bash"
|
|
6
6
|
environment:
|
|
7
7
|
OPENAI_API_ADDRESS: https://api.openai.com
|
|
8
8
|
OPENAI_API_KEY: your-access-token
|
data/static/gem.rb
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
module NanoBot
|
|
4
4
|
GEM = {
|
|
5
5
|
name: 'nano-bots',
|
|
6
|
-
version: '1.1.
|
|
6
|
+
version: '1.1.2',
|
|
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.',
|
|
10
10
|
github: 'https://github.com/icebaker/ruby-nano-bots',
|
|
11
11
|
gem_server: 'https://rubygems.org',
|
|
12
12
|
license: 'MIT',
|
|
13
|
-
ruby: '3.1.
|
|
13
|
+
ruby: '3.1.0'
|
|
14
14
|
}.freeze
|
|
15
15
|
end
|
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: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- icebaker
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-12-
|
|
11
|
+
date: 2023-12-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: babosa
|
|
@@ -243,14 +243,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
243
243
|
requirements:
|
|
244
244
|
- - ">="
|
|
245
245
|
- !ruby/object:Gem::Version
|
|
246
|
-
version: 3.1.
|
|
246
|
+
version: 3.1.0
|
|
247
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
248
|
requirements:
|
|
249
249
|
- - ">="
|
|
250
250
|
- !ruby/object:Gem::Version
|
|
251
251
|
version: '0'
|
|
252
252
|
requirements: []
|
|
253
|
-
rubygems_version: 3.
|
|
253
|
+
rubygems_version: 3.3.3
|
|
254
254
|
signing_key:
|
|
255
255
|
specification_version: 4
|
|
256
256
|
summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots'
|