From 76133d7e6caa02396d688ac061f9e36bae107c65 Mon Sep 17 00:00:00 2001 From: icebaker Date: Wed, 29 Nov 2023 08:35:50 -0300 Subject: updating docker --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') 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: -- cgit v1.2.3