Merge branch 'master' of ssh://gitea.dmz.rs:2222/Decentrala/chatbot

This commit is contained in:
texhno 2024-02-06 02:49:46 +01:00
commit 0813460e8b
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ def command(msg, rcpt):
if msg.startswith("!help"):
response = "chatbot commands:" + "\n"
response += "!help Show this help page" + "\n"
response += "!ai [message] Ask llama2"
response += "!ai [message] Ask llama2" + "\n"
response += "!wiki [message] Ask wiki"
return response
elif msg.startswith("!ai"):
client = ollama.Client(host='https://ollama.krov.dmz.rs')