Thread: MegaHAL ChatBot
View Single Post
Author Message
Afronanny
Veteran Member
Join Date: Aug 2009
Old 05-22-2011 , 23:46   MegaHAL ChatBot
Reply With Quote #1

MegaHAL Chatbot

After months of development and testing, I give you the Chatbot extension. This extension brings you the full artificial intelligence of MegaHAL. It sits around and listens and learns, and will reply to input from chat when you want it to.


Quote:
Purpose: To simulate a natural language conversation with a psychotic computer. This is achieved by learning from the user's input using a third-order Markov model on the word level. Words are considered to be sequences of characters separated by whitespace and punctuation. Replies are generated randomly based on a keyword, and they are scored using measures of surprise.

Download it here
Source code is here

Cvars:

sm_megahal_talk (Default: 0) - Chatbot will reply to all input from the chat.
sm_megahal_learn (Default: 1) - Chatbot will listen to all input from chat but not reply to it.
sm_megahal_replychance (Default: 0.75) - Chance that chatbot will generate a reply
sm_megahal_replywhenspokento (Default: 1) - Only reply when spoken to (may not reply if sm_megahal_replychance is not 1.0)
sm_megahal_botname (Default: ChatBot) - The name that MegaHAL will use when printing its reply to chat.

Credits:

Jason Hutchens - Author of MegaHAL
Afronanny - Putting it into an extension


Please give any crash info here or PM me with it.

Last edited by Afronanny; 05-25-2011 at 13:06.
Afronanny is offline