Makzan / I share what I learned

Build Your Own Chatbot

(This post is archived and may be outdated)

Last time I talked about IKEA chatter bot. In this post I will talk about how to make your own chatterbot and include it into your blog or website.

There is a big list of chatterbot available on internet now. There are also some websites which provides chatterbot services such as MyCyberTwin. There are some open source chatterbot created with javascript or some server side script available too. Alkali Javascript Chatterbot is one example.

  1. MyCyberTwin

Once you create a free account there, you will get a embed code that provides an interface for other people to chat with your chatterbot. You can input your personal info and personality in the setting panel so that your bot know how to respond like you. You can also "teach" the chatterbot to respond certain keywords. For example, if people say "hello", you can set three sentences that response it. There is a good things is that you can view the conversation history that the bot chat with others. Than you can know how well your bot respond and what keywords make your bot answer like a stupid. Then you can optimize the bot.

  1. Javascript Chatterbot

Alkali Software provides an open source javascript based chatterbot program. I put this chatterbot on the right-hand side of the blog. Compare to the MyCyberTwin. The Javascript chatterbot come with a plain interface that you may work on an hour to decorate it. It provides similar teaching function but you have to edit your respond inside the code. It may be a little bit painful compare to MyCyberTwin if you are not familiar with javascript. However, the style of this javascript bot is free to edit so that you can make it fit anywhere on your website.

Compare:

  • Both chatterbot can edit responds text
  • MyCyberTwin provides a nice interface on both the conversation and the setting panels
  • MyCyberTwin let you input your own personality to act much like yourself.
  • MyCyberTwin is easy to embed into blog Alkali Chatterbot is free distribution with source so can change style and even the program to make it suitable in - anywhere
  • Alkali Chatterbot require blogger to know a little bit javascript and html to put it on website
  • Alkali Chatterbot responds faster then MyCyberTwin. (Alkali run in client side only and MyCyberTwin is client-server model)

Published on 2008-05-05 by Makzan. More articles like this:

Previous ← Ikea Chatbot
Next → How to Make an Online Assistance by Using JavaScript Chatterbot