How to integrate AIML chat bot into a webpage
I have a web page where I just play with HTML, CSS and Javascript. I decided to create a chat bot there.
It seems like AIML is the way to go and I already know how to write it.
Question: After I have my bot.aiml file, what should I do with it? I am guessing I need some kind of javascript function to interact with it.
source to share
I was looking for the same thing too, but unfortunately I was unable to create my own bot. Instead, I found a website that will do the same and not reinvent the loop ...
- Create your account here
http://www.pandorabots.com/botmaster/en/new-account - Once logged in, you have the option to upload your own AIML file and use the AIML deafult files as well as custom HTML and more ....
source to share
ChatterBean can help you interpret AIML files. From Alicebot.org ,
ChatterBean is an AIML interpreter (also known as "Alicebot") written in pure Java.
For web integration, you have a J2EE application with ChatterBean.
source to share
If you only have access to HTML, CSS, and JavaScript and not any server-side technology, you will need the AIML JavaScript interpreter.
A quick search includes the following:
AIML Interpreter written in node.js
AIMLInterpreter is a module that allows you to parse AIML files and find the correct answer for 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 find the correct answer for a given message.
semi-complete node.js AIML interpreter with bad attitude.
Surly2 is a remake of Surly from scratch using Node 5 and asynchronously as much as possible.
Burly is a Surly2 fork
source to share