This is a discord bot written in python that servers an ollama chat bot
- First of all install ollama
- Then you need a
config.json
in this format
{
"token": "DISCORD token",
"model": "llama2:7b",
"address": "http://localhost:11434"
}
- then your all set - run the bot and add it and DM or tag it in a channel to talk to llama
If you have any issue or ideas feel free to open an issue or PR!