nano-bots 0.0.8 → 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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/components/storage.rb +1 -1
- 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: f1f9a6021523f5e49b4349b2d3010c6c147aa81f00e7e0cb21a33e75e59b6f67
|
|
4
|
+
data.tar.gz: 0745255f21ed6786ceec74ac0b7dad6e431a36c05ecc69d1c8601b1c546694de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 208b13813f692bbb3bb7121e553a95df7a88785964e6ccaaef1e4b1a72086a989c46a8c17930e2f6a9ea3cf18a5906b90f37b9d021e2d66ba1d06c072a122587
|
|
7
|
+
data.tar.gz: 3aaae5b79c7596b4cd20b1d15687986538573bfd944343129441f5033058d3ce6ff23664c29253a5768a8dcca6ea7385c90acdc16bfb2c72ed0eabad93fb3160
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -23,13 +23,13 @@ https://user-images.githubusercontent.com/113217272/238141567-c58a240c-7b67-4b3b
|
|
|
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.9
|
|
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.9'
|
|
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.9 && bash"
|
|
80
80
|
environment:
|
|
81
81
|
OPENAI_API_ADDRESS: https://api.openai.com
|
|
82
82
|
OPENAI_API_ACCESS_TOKEN: your-token
|
|
@@ -288,5 +288,5 @@ gem build nano-bots.gemspec
|
|
|
288
288
|
|
|
289
289
|
gem signin
|
|
290
290
|
|
|
291
|
-
gem push nano-bots-0.0.
|
|
291
|
+
gem push nano-bots-0.0.9.gem
|
|
292
292
|
```
|
data/components/storage.rb
CHANGED
|
@@ -33,7 +33,7 @@ module NanoBot
|
|
|
33
33
|
[
|
|
34
34
|
ENV.fetch('NANO_BOTS_CARTRIDGES_DIRECTORY', nil),
|
|
35
35
|
"#{user_home!.sub(%r{/$}, '')}/.local/share/nano-bots/cartridges"
|
|
36
|
-
].uniq.filter { |path| File.directory?(path) }.compact.first
|
|
36
|
+
].compact.uniq.filter { |path| File.directory?(path) }.compact.first
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def self.cartridge_path(path)
|
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 "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev lua5.4-dev && gem install nano-bots -v 0.0.
|
|
6
|
+
command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev lua5.4-dev && gem install nano-bots -v 0.0.9 && 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.9',
|
|
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.',
|