You guys know Jenkins Troller
It’s the bot we have created and demonstrated here.
This bot is built on Sevabot and Python, running under an EC2 Amazon Instance.
While discussing with my brother the other night, and
…Proudly… presenting my cool modules of the bot (pirate talk Arrrr! and Chuck Norris API) he wrote 2-3 times the relevant command, but afterwards he turned to me and said:
What? He is not ACTUALLY responding to what you say…
A little about AIML
So AIML stands for Artificial Intelligence Markup Language. Fancy words I’d say. Typically though; nothing more, nothing less than a standard state machine (yeah, all AI’s are, unless we’re in Matrix and this piece of cheese I’m eating is actually a MD5 HexDigest).
State Machine that works somehow like this:
<category> <pattern>WHAT IS YOUR NAME</pattern> <template>My name is John.</template> </category>
You ask it “WHAT IS YOUR NAME????” loads a lot of XML (aiml) files in memory, parses them and matches each pattern inside the category until it gets the lesser levehnstine score. Response? My Name is John.
So without further redue : Skype Bot AIML Sevabot or Jenkins Troller as we call him due to his current confinement with Jenkins our favorite butler!
After cloning the source code from PyAIML wrapper I pretty much followed the instructions on how to “train” and “load” a bot brain, and voila!! The first PyAIML Sevabot is born!! 🙂
What?! How to use it you say?!
Dead simple :
- Clone it.
- Install it following the instruction on the README.md
- Run it
…and he’ll troll you until he stops running, or