https://github.com/axodouble/ollama-botify
https://github.com/axodouble/ollama-botify
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/axodouble/ollama-botify
- Owner: Axodouble
- Created: 2024-03-23T07:14:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-24T10:20:16.000Z (about 2 years ago)
- Last Synced: 2024-03-24T15:24:31.465Z (about 2 years ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ollamo-Botify
Use the Ollama API to have a simple discord bot.
## Disclaimer
This is based upon the works of this repository below, this was made to be easily deployable purely for docker.
https://github.com/mekb-turtle/discord-ai-bot
## Usage
1. Create a new discord bot at https://discord.com/developers/applications
2. Run the docker image with the following different environment variables:
- `MODEL` - The model to use from Ollama.
- `TOKEN` - The discord bot token.
- `OLLAMA` - The Ollama API location.
- `CHANNELS` - The channels to listen to, separated by commas.
```bash
docker run -e MODEL=orca-mini -e TOKEN=DISCORDTOKEN -e OLLAMA=https://example.com/ -e CHANNELS=12345,678910 ghcr.io/axodouble/ollama-botify:nightly
```
And then you should be set to go.