4

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.

cmf
  • 435
  • 1
  • 9
  • 21

4 Answers4

2

If 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-complete 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

Community
  • 1
  • 1
Mark_Gibson
  • 922
  • 1
  • 12
  • 32
0

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

0

ChatterBean can help you to interpret the AIML files. From Alicebot.org,

ChatterBean is an AIML interpreter (also known as "Alicebot") written in pure Java.

For integration with Web, host a J2EE application with ChatterBean.

CᴴᴀZ
  • 521
  • 7
  • 20
0

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.