summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2024-01-13 10:25:00 -0300
committericebaker <icebaker@proton.me>2024-01-13 10:25:00 -0300
commit2e844c2099fc15c90d62b49d17d0dbba92d80c67 (patch)
tree7aeef8838dd56434866c9f8c257ec5ba9e10ef98
parenta6770e70dec763675a40ac6393e4759cad80bffb (diff)
bump to 3.0.1HEADmain
-rw-r--r--Gemfile.lock34
-rw-r--r--README.md26
-rw-r--r--docker-compose.example.yml2
-rw-r--r--nano-bots.gemspec10
-rw-r--r--static/gem.rb2
5 files changed, 37 insertions, 37 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index 2f446b5..07eff61 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,15 +1,15 @@
PATH
remote: .
specs:
- nano-bots (3.0.0)
+ nano-bots (3.0.1)
babosa (~> 2.0)
- cohere-ai (~> 1.0, >= 1.0.1)
+ cohere-ai (~> 1.0, >= 1.0.2)
concurrent-ruby (~> 1.2, >= 1.2.2)
dotenv (~> 2.8, >= 2.8.1)
- gemini-ai (~> 3.1, >= 3.1.2)
- maritaca-ai (~> 1.0)
- mistral-ai (~> 1.1, >= 1.1.1)
- ollama-ai (~> 1.0)
+ gemini-ai (~> 3.1, >= 3.1.3)
+ maritaca-ai (~> 1.0, >= 1.0.1)
+ mistral-ai (~> 1.1, >= 1.1.2)
+ ollama-ai (~> 1.0, >= 1.0.1)
pry (~> 0.14.2)
rainbow (~> 3.1, >= 3.1.1)
rbnacl (~> 7.1, >= 7.1.1)
@@ -26,8 +26,8 @@ GEM
babosa (2.0.0)
byebug (11.1.3)
coderay (1.1.3)
- cohere-ai (1.0.1)
- faraday (~> 2.8, >= 2.8.1)
+ cohere-ai (1.0.2)
+ faraday (~> 2.9)
concurrent-ruby (1.2.2)
diff-lcs (1.5.0)
dotenv (2.8.1)
@@ -39,9 +39,9 @@ GEM
faraday-net_http (3.1.0)
net-http
ffi (1.16.3)
- gemini-ai (3.1.2)
+ gemini-ai (3.1.3)
event_stream_parser (~> 1.0)
- faraday (~> 2.8, >= 2.8.1)
+ faraday (~> 2.9)
googleauth (~> 1.8)
google-cloud-env (2.1.0)
faraday (>= 1.0, < 3.a)
@@ -55,21 +55,21 @@ GEM
json (2.7.1)
jwt (2.7.1)
language_server-protocol (3.17.0.3)
- maritaca-ai (1.0.0)
- faraday (~> 2.8, >= 2.8.1)
+ maritaca-ai (1.0.1)
+ faraday (~> 2.9)
method_source (1.0.0)
- mistral-ai (1.1.1)
+ mistral-ai (1.1.2)
event_stream_parser (~> 1.0)
- faraday (~> 2.8, >= 2.8.1)
+ faraday (~> 2.9)
multi_json (1.15.0)
multipart-post (2.3.0)
net-http (0.4.1)
uri
- ollama-ai (1.0.0)
- faraday (~> 2.8)
+ ollama-ai (1.0.1)
+ faraday (~> 2.9)
os (1.1.4)
parallel (1.24.0)
- parser (3.3.0.2)
+ parser (3.3.0.3)
ast (~> 2.4.1)
racc
pry (0.14.2)
diff --git a/README.md b/README.md
index 94d3667..fbc8722 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ https://user-images.githubusercontent.com/113217272/238141567-c58a240c-7b67-4b3b
## TL;DR and Quick Start
```sh
-gem install nano-bots -v 3.0.0
+gem install nano-bots -v 3.0.1
```
```bash
@@ -59,7 +59,7 @@ nb gpt.yml - eval "hi"
```
```ruby
-gem 'nano-bots', '~> 3.0.0'
+gem 'nano-bots', '~> 3.0.1'
```
```ruby
@@ -250,13 +250,13 @@ end
To install the CLI on your system:
```sh
-gem install nano-bots -v 3.0.0
+gem install nano-bots -v 3.0.1
```
To use it in a Ruby project as a library, add to your `Gemfile`:
```ruby
-gem 'nano-bots', '~> 3.0.0'
+gem 'nano-bots', '~> 3.0.1'
```
```sh
@@ -972,7 +972,7 @@ Set your provider credentials and choose your desired path for the cartridges fi
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
COHERE_API_KEY: your-api-key
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -989,7 +989,7 @@ services:
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
MARITACA_API_KEY: your-api-key
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -1006,7 +1006,7 @@ services:
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
MISTRAL_API_KEY: your-api-key
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -1025,7 +1025,7 @@ Remember that your `localhost` is by default inaccessible from inside Docker. Yo
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
OLLAMA_API_ADDRESS: http://localhost:11434
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -1044,7 +1044,7 @@ services:
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
OPENAI_API_KEY: your-access-token
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -1063,7 +1063,7 @@ services:
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
GOOGLE_API_KEY: your-api-key
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -1080,7 +1080,7 @@ services:
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
GOOGLE_CREDENTIALS_FILE_PATH: /root/.config/google-credentials.json
GOOGLE_REGION: us-east4
@@ -1099,7 +1099,7 @@ services:
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
GOOGLE_REGION: us-east4
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -1161,5 +1161,5 @@ gem build nano-bots.gemspec
gem signin
-gem push nano-bots-3.0.0.gem
+gem push nano-bots-3.0.1.gem
```
diff --git a/docker-compose.example.yml b/docker-compose.example.yml
index fe27e44..08ea025 100644
--- a/docker-compose.example.yml
+++ b/docker-compose.example.yml
@@ -2,7 +2,7 @@
services:
nano-bots:
image: ruby:3.2.2-slim-bookworm
- 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 3.0.0 && bash"
+ 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 3.0.1 && bash"
environment:
COHERE_API_KEY: your-api-key
diff --git a/nano-bots.gemspec b/nano-bots.gemspec
index 87c4f48..76619b6 100644
--- a/nano-bots.gemspec
+++ b/nano-bots.gemspec
@@ -40,11 +40,11 @@ Gem::Specification.new do |spec|
spec.add_dependency 'redcarpet', '~> 3.6'
spec.add_dependency 'sweet-moon', '~> 0.0.7'
- spec.add_dependency 'cohere-ai', '~> 1.0', '>= 1.0.1'
- spec.add_dependency 'gemini-ai', '~> 3.1', '>= 3.1.2'
- spec.add_dependency 'maritaca-ai', '~> 1.0'
- spec.add_dependency 'mistral-ai', '~> 1.1', '>= 1.1.1'
- spec.add_dependency 'ollama-ai', '~> 1.0'
+ spec.add_dependency 'cohere-ai', '~> 1.0', '>= 1.0.2'
+ spec.add_dependency 'gemini-ai', '~> 3.1', '>= 3.1.3'
+ spec.add_dependency 'maritaca-ai', '~> 1.0', '>= 1.0.1'
+ spec.add_dependency 'mistral-ai', '~> 1.1', '>= 1.1.2'
+ spec.add_dependency 'ollama-ai', '~> 1.0', '>= 1.0.1'
spec.add_dependency 'ruby-openai', '~> 6.3', '>= 6.3.1'
spec.metadata['rubygems_mfa_required'] = 'true'
diff --git a/static/gem.rb b/static/gem.rb
index aba8341..479cbc0 100644
--- a/static/gem.rb
+++ b/static/gem.rb
@@ -3,7 +3,7 @@
module NanoBot
GEM = {
name: 'nano-bots',
- version: '3.0.0',
+ version: '3.0.1',
specification: '3.0.0',
author: 'icebaker',
summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots for OpenAI ChatGPT, Ollama, Mistral AI, Cohere Command, Maritaca AI MariTalk, and Google Gemini.',