aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-01-27 22:13:29 +0000
committerterminaldweller <devi@terminaldweller.com>2024-01-27 22:13:29 +0000
commit146916ee28358db6b2c68736700be95a835f7ae8 (patch)
treec4fa0660578e57d5940974b9544982c5b98e4d4d /README.md
parentfirst commit (diff)
downloadmilla-146916ee28358db6b2c68736700be95a835f7ae8.tar.gz
milla-146916ee28358db6b2c68736700be95a835f7ae8.zip
added syntax hilighting fo markdown responses
Diffstat (limited to 'README.md')
-rw-r--r--README.md50
1 files changed, 48 insertions, 2 deletions
diff --git a/README.md b/README.md
index ff7e552..e477a47 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,9 @@
# milla
+Milla is an IRC bot that sends things over to ollama when you ask her questions.
+
+### Config
+
config:
```
@@ -7,6 +11,48 @@ ircServer = "myaswesomeircserver.com"
ircPort = 6697
ircNick = "milla"
ircSaslUser = "milla"
-ircSaslPass = "myawesomepassword"
-ircChannel = "#myawesomchannel"
+ircSaslPass = "myaswesomepassword"
+ircChannel = "#myaswesomechannel"
+ollamaEndpoint = "http://172.17.0.1:11434/api/generate"
+ollamaTemp = 0.2
+ollamaSystem = ""
+requestTimeout = 10
+millaReconnectDelay = 60
+enableSasl = true
+model = "llama2-uncensored"
+```
+
+### Deploy
+
+You can use the provided compose file:<br/>
+
+```yaml
+version: "3.9"
+services:
+ milla:
+ image: milla
+ build:
+ context: .
+ deploy:
+ resources:
+ limits:
+ memory: 64M
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "100m"
+ networks:
+ - millanet
+ restart: unless-stopped
+ volumes:
+ - ./config.toml:/opt/milla/config.toml
+ cap_drop:
+ - ALL
+ dns:
+ - 9.9.9.9
+ environment:
+ - SERVER_DEPLOYMENT_TYPE=deployment
+ entrypoint: ["/milla/milla"]
+networks:
+ millanet:
```