summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-11-29 08:35:50 -0300
committericebaker <icebaker@proton.me>2023-11-29 08:35:50 -0300
commit76133d7e6caa02396d688ac061f9e36bae107c65 (patch)
tree8645dd77c7db8832ce5235f51b837abb59ebb833 /README.md
parent93c52bb117fb83691317096a7ff12ed3a62eaf20 (diff)
updating docker
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 02cdcde..4623423 100644
--- a/README.md
+++ b/README.md
@@ -82,12 +82,11 @@ cp docker-compose.example.yml docker-compose.yml
Set your provider credentials and choose your desired directory for the cartridges files:
```yaml
-version: '3.7'
-
+---
services:
nano-bots:
- image: ruby:3.2.2-slim-bullseye
- command: sh -c "gem install nano-bots -v 1.0.0 && bash"
+ 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 1.0.0 && bash"
environment:
OPENAI_API_ADDRESS: https://api.openai.com
OPENAI_API_KEY: your-access-token
@@ -302,6 +301,7 @@ The randomly generated number is 59.
To successfully use Tools (Functions), you need to specify a provider and a model that support them. As of the writing of this README, the provider that supports them is [OpenAI](https://platform.openai.com/docs/models), with models `gpt-3.5-turbo-1106` and `gpt-4-1106-preview`:
```yaml
+---
provider:
id: openai
credentials: