nano-bots 0.0.3 → 0.0.4
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 +1 -1
- data/README.md +5 -5
- data/controllers/instance.rb +1 -1
- data/controllers/interfaces/cli.rb +2 -2
- data/controllers/session.rb +1 -6
- data/docker-compose.example.yml +1 -1
- data/static/gem.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19a8bc3b2ea8dcd2703a22efb3ac334485536b602e385c3d5cd69cdb6e1bfa1b
|
|
4
|
+
data.tar.gz: 76375f04692caacd92d832f843acaf3fb82cf68e0e467674749730a04e30794a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ddbdc1421ce91117a2d16d94794f6111d2ea72503c24ed0f3597c7522a851e7fd7eef08703c5ba8f68826e51e9b34621591232e2d9a5220efda5d026027d413
|
|
7
|
+
data.tar.gz: b2a729b278245a971a815c2333cd7676d795a64cdd86aef0d737ad9510c9a78bc8420eaaef9067f305201afbbccaf63e40508832d4cfad7cbf19b91fefc3aa07
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@ A Ruby implementation of the [Nano Bots](https://github.com/icebaker/nano-bots)
|
|
|
5
5
|

|
|
6
6
|
_Image artificially created by Midjourney through a prompt generated by a Nano Bot specialized in Midjourney._
|
|
7
7
|
|
|
8
|
-
https://user-images.githubusercontent.com/113217272/
|
|
8
|
+
https://user-images.githubusercontent.com/113217272/238141567-c58a240c-7b67-4b3b-864a-0f49bbf6e22f.mp4
|
|
9
9
|
|
|
10
10
|
- [Setup](#setup)
|
|
11
11
|
- [Docker](#docker)
|
|
@@ -23,13 +23,13 @@ https://user-images.githubusercontent.com/113217272/237840989-1e29a5cc-6644-48d0
|
|
|
23
23
|
For a system usage:
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
gem install nano-bots -v 0.0.
|
|
26
|
+
gem install nano-bots -v 0.0.4
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
To use it in a project, add it to your `Gemfile`:
|
|
30
30
|
|
|
31
31
|
```ruby
|
|
32
|
-
gem 'nano-bots', '~> 0.0.
|
|
32
|
+
gem 'nano-bots', '~> 0.0.4'
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
```sh
|
|
@@ -76,7 +76,7 @@ version: '3.7'
|
|
|
76
76
|
services:
|
|
77
77
|
nano-bots:
|
|
78
78
|
image: ruby:3.2.2-slim-bullseye
|
|
79
|
-
command: sh -c "gem install nano-bots -v 0.0.
|
|
79
|
+
command: sh -c "gem install nano-bots -v 0.0.4 && bash"
|
|
80
80
|
environment:
|
|
81
81
|
OPENAI_API_ADDRESS: https://api.openai.com
|
|
82
82
|
OPENAI_API_ACCESS_TOKEN: your-token
|
|
@@ -254,5 +254,5 @@ gem build nano-bots.gemspec
|
|
|
254
254
|
|
|
255
255
|
gem signin
|
|
256
256
|
|
|
257
|
-
gem push nano-bots-0.0.
|
|
257
|
+
gem push nano-bots-0.0.4.gem
|
|
258
258
|
```
|
data/controllers/instance.rb
CHANGED
data/controllers/session.rb
CHANGED
data/docker-compose.example.yml
CHANGED
|
@@ -3,7 +3,7 @@ version: '3.7'
|
|
|
3
3
|
services:
|
|
4
4
|
nano-bots:
|
|
5
5
|
image: ruby:3.2.2-slim-bullseye
|
|
6
|
-
command: sh -c "gem install nano-bots -v 0.0.
|
|
6
|
+
command: sh -c "gem install nano-bots -v 0.0.4 && bash"
|
|
7
7
|
environment:
|
|
8
8
|
OPENAI_API_ADDRESS: https://api.openai.com
|
|
9
9
|
OPENAI_API_ACCESS_TOKEN: your-token
|
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.4',
|
|
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.',
|