diff options
author | icebaker <icebaker@proton.me> | 2023-11-29 08:35:50 -0300 |
---|---|---|
committer | icebaker <icebaker@proton.me> | 2023-11-29 08:35:50 -0300 |
commit | 76133d7e6caa02396d688ac061f9e36bae107c65 (patch) | |
tree | 8645dd77c7db8832ce5235f51b837abb59ebb833 /README.md | |
parent | 93c52bb117fb83691317096a7ff12ed3a62eaf20 (diff) |
updating docker
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |