Files
faggot-chan/README.md
T
david ac1bca618b fixed a typo woopsies teehe
i'm such a silly bee
2026-03-29 08:39:25 +02:00

31 lines
861 B
Markdown

# how to run ts bullshit
first you need ollama installed
```console
$ pacman -S ollama
#or whatever packet manager you have
#alternatively,
$curl -fsSL https://ollama.com/install.sh | sh
```
then your python dependencies are
``` console
$ pip install ollama websockets discord
```
# once you install your dependencies
you run this
```console
#i think ollama still needs to serve i'm not too sure
$ ollama serve & #or make it a service with systemd or whatever
$ ollama pull <your model>
$ ollama pull <your embedding model>
#those two are in main.py
#test it with
$ ollama run <your model>
```
if that runs fine then you can
- add your discord bot token and discord server id to your .env which is not .env but ./files/config/tokens
- add the bot to your server
- you'll probably want to change the system prompt which is found in bot.py
# have fun