| Artifical Intelligence |
|
|
|
|
Several months ago I actually had some free time, so I made an artificially intelligent bot. In layman's terms, it's a computer program that talks to you. You can try it out by clicking here.Since it's not completely finished, it occasionally gives odd answers, or it just ends up speechless. Let me know what you think of it. This was only made for Firefox and not Internet Explorer. Explorer seems to work, but it's pretty glitchy as far as typing in responses goes. Your mileage may vary.
Warning: Geek Speek Below Try out the AJAX version. (It's not better; just more interesting from a programming standpoint) This bot is driven by a combination of PHP, SQL, AJAX, and AIML. AIML stands for Artifical Intelligence Markup Language. It's basically a set of structured text (XML to be exact) which contains wildcard responses to natural human language. This specific set was developed by Noam Chomsky, a professor at MIT. I chose it because his set was by far the most developed though the original A.L.I.C.E. set was fairly comprehensive. The A.L.I.C.E. set just doesn't sound quite as human. The AIML set is then loaded into a MySQL database. I'm not sure how many basic responses are loaded, but I think it's over 100,000. Next, I loaded a PHP program called "Program E" onto my server and created an AJAX user interface to communicate with it. My interface calls Program E, an AIML interpreter, in real time. Program E then queries the SQL database for matching templates and returns the result to my interface. If you've made it this far, I'm pretty impressed. :) I'm kind of a geek when it comes to computer AI. |