A while back I posted here with screenshots of a bot hosting service I was working on, as a RiveScript version of Pandorabots. I then proceeded to procrastinate a lot, but now I’ve got the code ready for a little beta period.
You’ll have to make an account on RiveScript.com (I had programmed in Facebook Login to my site a long time ago, but they’ve changed things since then so Facebook logins will be coming back shortly), and then go to http://www.rivescript.com/chatterbots to create a bot.
This service is a bit like Pandorabots, but is powered by RiveScript. I have an example Alice bot you can chat with here: http://www.rivescript.com/chatterbots/chat/X2JQfUlh
Unlike Pandorabots, when you make a new bot based on Alice (for example), it doesn’t create a full clone of Alice for you to work with. Instead, the service behaves more like RunABot - you write your own responses, and your replies have priority over the base brain (Alice or Eliza). Only if none of your replies match the user’s message is the base brain consulted.
You can add and edit responses using a convenient web based interface, and you can download your bot’s whole brain as a zip file. You can also upload individual RiveScript documents, or a zip file or tarball containing multiple documents.
Using Perl objects in your code isn’t allowed for security purposes. JavaScript objects probably won’t be supported either. If you want to take advantage of those features you’ll have to run your own bot the old fashioned way.
The service has an API for developers to use. It’s not documented anywhere yet, but basically, if you want API access to a page you’re looking at, just add “?ajax=1” (or any true value) to get a JSON version of the page. Here’s a specific example for the page that most people will want API access to—the bot chatting page!
http://www.rivescript.com/chatterbots/chat/X2JQfUlh?action=msg&username=soandso&message=who+is+dr+wallace&ajax=1
Where the relevant fields are the username and message. The “X2JQfUlh” is the bot’s unique ID—every bot gets their own unique code, so you’d wanna replace that with your own bot’s as well.
Anyway—this service is in beta, so let me know if you run into any problems with it or if you find any imaginative ways to break it.