mirror of
https://git.squeakyrat.moe/faggot-chan/
synced 2026-11-05 02:45:45 +01:00
made a readme waow woaahh
looks so pro now
This commit is contained in:
1 parent
8b38a3f767
commit
9334f20439
1 file changed
+31
@@ -0,0 +1,31 @@
|
|||||||
|
# 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 server 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>
|
||||||
|
|
||||||
|
#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
|
||||||
Reference in new issue
Block a user