I have a web page where I just play with HTML, CSS and Javascript. I have decided to create a Chat Bot there.
AIML seems like the way to go, and I already know how to write it.
Question is: After I have my bot.aiml file, what do I do with it? I assume I need some sort of javascript function to interact with it.
I have a web page where I just play with HTML, CSS and Javascript. I have decided to create a Chat Bot there.
AIML seems like the way to go, and I already know how to write it.
Question is: After I have my bot.aiml file, what do I do with it? I assume I need some sort of javascript function to interact with it.
Share Improve this question asked Jan 28, 2013 at 17:58 user1994997user19949974 Answers
Reset to default 3If you only have access to HTML, CSS and JavaScript and not to some server-side technology, then you will need a JavaScript AIML interpreter.
A quick search turns up the following:
AIML Interpreter written in node.js
AIMLInterpreter is a module that allows you to parse AIML files and to find the correct answer to a given message.
aiml-high written in node.js. Built on aimlinterpreter.
aiml-high is a module that allows you to parse AIML files and to find the correct answer to a given message.
Surly2
a half-plete node.js AIML interpreter with a bad attitude.
Surly2 is a remake from the ground up of Surly using Node 5 and using as much asynchronicity as possible.
burly
Burly is a fork of Surly2
I too searched for the same but sadly i was not successful of creating my own bot..instead i found a website which will do exactly the same instead of we reinventing the cycle...
- Create your account over here
http://www.pandorabots./botmaster/en/new-account - After signing in you have option of uploading your own AIML file and use the deafult AIML files and also Custom HTML and much more....
ChatterBean can help you to interpret the AIML files. From Alicebot,
ChatterBean is an AIML interpreter (also known as "Alicebot") written in pure Java.
For integration with Web, host a J2EE application with ChatterBean.
Since you already have understanding of chatbot, you can integrate it to your webpage by using php or j2ee (jsp being the easiest) which would send a request to the bot methods and return response.