3 Commits

View File

@@ -13,7 +13,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')