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.

+3


source to share


4 answers


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 ...



0


source


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.

0


source


Since you already have an understanding of chatbot, you can integrate it into your web page using php or j2ee (jsp is the simplest) that sends a request to the bot's methods and returns a response.

0


source


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.

Surly2

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

Burly is a Surly2 fork

0


source







All Articles