add wiki to help

This commit is contained in:
fram3d 2024-02-06 02:47:01 +01:00
parent 9704474c29
commit 1795a87c4b
Signed by: fram3d
GPG Key ID: 938920E709EEA32A

View File

@ -13,7 +13,8 @@ def command(msg, rcpt):
if msg.startswith("!help"): if msg.startswith("!help"):
response = "chatbot commands:" + "\n" response = "chatbot commands:" + "\n"
response += "!help Show this help page" + "\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 return response
elif msg.startswith("!ai"): elif msg.startswith("!ai"):
client = ollama.Client(host='https://ollama.krov.dmz.rs') client = ollama.Client(host='https://ollama.krov.dmz.rs')