Wednesday, November 20, 2013

Bot Yourself! How to create your own Avatar

BOT libre allows anyone, or any business to create their own personal bot avatar, and embed it on their website or blog.

This blog post will discuss how to edit your bot's avatar images. To start you must first create a bot, for information on creating a bot see, How to create your own chat bot in 10 clicks.

When you create a new bot, it will start out with the default image, which is a simple robot. You can change this image to a picture to one of the many shared images available on BOT libre, or you can upload your own images. Another option is to choose a template when creating your bot, or clone your bot from another public bot using fork.

Shared Images

BOT libre provides a repository of shared images. The images come from many different sources, and are available under many different licenses. When you select a shared image, its name and license will be shown. Many of the images are public domain, so can be used freely, anywhere. Some of the images are copyright by third parties and have been licensed only for usage on the BOT libre website. If the image lists a copyright, you can use the image, but if you want to embed your bot on your own website, you will need to license the image.

You can also upload and share your own images. Only share images that are not copyright, or that you own the copyright to, and are releasing your copyright to the website.

Templates and Forking

BOT libre provides several different templates when creating a bot. You can also use another bot as a template by browsing it and clicking its 'Fork' button (only some bots allow forking).

Creating a bot using a template is useful as it preloads the bot's database with existing responses, and defines a set of avatar images. Avatars allow multiple images to express different emotions, so using a template saves you from having to configure an avatar yourself.

Contains images copyright Iko @ Fotolia

Uploading Images

If you are creating your own personal avatar, you may upload a picture of yourself, so you can train your bot to be your virtual clone. If you are creating an avatar for your business, you may use your business logo, or create your own avatar image to represent your agent. Ensure the images you upload are not copyright, or that you own the copyright.

Your bot avatar allows different images for different emotions. So you can upload multiple images. If you are creating your own person avatar, you can take several photos of yourself expressing different emotions.

If you are creating a bot for your business, you may wish to use a model for your bots avatar. There are many photo websites such as Fotolia that make it easy to license royalty free images. Many contain different models expressing different emotions.

How to edit your bots Avatar

To begin editing your bots avatar, first sign in, and browse to your bots page. Every bot has its own URL, yours will be "http://www.botlibre.com/BrowseServlet?browse=bot-name", i.e. "http://www.botlibre.com/BrowseServlet?browse=Jessy". When you browse to your bot, you can select its URL from your browser and use it as a link to share your bot with other people.

On your bot's main page, there is an 'Admin' button. Click this and you will go to your bot's Admin page.
From your bot's Admin page select 'Avatar Configuration' or 'Avatar' from the menu bar. This will open your bot's Avatar page.

The Avatar page allows you to pick, upload, and tag your bot's images.

Tagging images

Your avatar can have multiple images, an each image can be associated with different emotions. Your bot learns to associate emotions with different words and phrases. When you chat with your bot you can use the 'Emote' drop down to associate an emotion with your response. Your bot will then associate that emotion with that word or phrase.

To tag an image with an emotion, select the image, then click the emotions to associate it with and click 'Tag'.

You can also set the default image for your avatar by clicking 'Use as default image' and clicking the 'Tag' button. The default image will be the image shown on your bot's main page, and while browsing.

Contains images copyright Iko @ Fotolia

Picking a shared image

You can add images to your avatar from the shared image repository. To add a shared image click on the 'Pick Shared Image' button at the bottom. This will bring you to the shared image page where you can select the image and click 'Pick'.

Uploading an image

There are two upload options, 'Upload Image' and 'Upload and Resize'.

'Upload Image' allow images to be uploaded as is, without any resizing or compression. This is useful when uploading png images that use transparency, or other image types such as gif.

Caution should be used when not resizing, as you do not want to upload images that are too big. BOT libre currently imposes a 1 megabyte size limit on uploaded images. Ideally your images would be less than 50k. BOT libre currently only displays the images as 200px by 200px, so there is no reason to upload images bigger than that. It is recommend that you first resize your images to be less than 300px by 300px.

'Upload and Resize' will first resize the images locally before uploading. This will make it much faster to upload the images, and have them display faster as well. The image resizing requires browser support, so may not work with all web browsers (Firefox may be required).

Both image uploads allow you to select multiple files at once, just use multi-select in the file dialog your browser opens. Before uploading images you must click that you certify the images do not contain offensive or adult content, and that you own the copyright, or the images are licensed in the public domain, or through creative commons. Also ensure the images do not infringe on anyone's personality rights.

When uploading images you can choose to share them. You can specify the license and name to shared the images under.

So that's it. You should now be able to create your own personalized bot.

You can also connect to BOT libre from your Android phone or device. The BOT libre! app also allow you to edit your bot's avatar. Creating your avatar from your phone can be easier, as you can use your phone's camera to take your own picture.

Thursday, November 7, 2013

Bot Libre! Now on Android

You can now chat with Bot Libre bots from your Android phone or device.

Bot Libre for Android provides the following features:

  • Create your own chat bot, or connect to other peoples public bots
  • Chat with real voice and voice recognition
  • Choose your bot's avatar image, or upload your bot's avatar image from your phone's camera

The Bot Libre! app can be downloaded from Google Play, here, or search for botlibre on Google Play from your Android phone or device.


Sign In

Sign In, or browse bots anonymously. Your sign in is remembered until you sign out, so you only need to sign in once.

Browse

Browse public bots, or your own personal bots. Browse allows filtering and sorting of bots, and remembers the last bot you accessed.

Chat

Chat with your bot with real voice and voice recognition, or through the keypad.

Avatars

Choose your bots avatar image, or upload an image from your phone's camera.

You can also access any bot your create from the Android app from the web interface. The web interface allows additional administrative features for monitoring, and training your bot.

Saturday, November 2, 2013

How to create your own chat bot in 10 clicks

Bot Libre allows anyone to create their own chat bot, or virtual agent for free, including free hosting, even for commercial bots.

You can create your own bot, and embed it on your own website, or mobile app. You can create bots for fun, for business, for customer support, or for someone to talk to. Bot Libre bots require no programming, and can be trained using several methods. Bots can be trained by importing FAQ's, scripts, and chat logs, reviewing and editing responses in our chat logs interface, through conversations with you and other people, or from listening in on live chat. Bot Libre bots support advanced artificial intelligence to learn and comprehend language. They start out fairly dumb, but the more your train them, the smarter they become. Bots can also be scripted and programmed using AIML, and the Self scripting language.

To create your own bot follow the following 10 steps:

Click 1 - Bot Libre!

First go to the Bot Libre website.

Click 2 - Sign Up

You can browse and chat with public bots anonymously, but to create your own bot you must create an account by clicking Sign Up. Creating an account is free and easy. To create an account you only need to enter a unique user ID and a password. Your name and email are optional, if you wish to remain anonymous, you may do so.

Click 3 - Create Account

Click 'Create' to create your account.

Click 4 - Create Bot

To create a new bot click Create from the top banner. You can give your bot a name and description. The name must be unique and can contain spaces, special characters, and is case sensitive.

The bots you create on Bot Libre belong to you. When you create a bot you can specify the license you wish to share it under. If you allow other users to 'fork' your bot, you release your bots content to them under your bot's license. Also, if your bot learns from the users it interacts with, they must understand they are releasing their interactions under your bot's license.

You can create a bot from the default template, or select one of the other predefined templates. Your bot will start as a clone of the template bot, and replicate its entire memory (brain). You can also allow your bot to be 'forked' and used as a template to other bots, or you can browse other public bots and choose to fork your bot from them.

You can add tags to your bot, to help classify it, and help other users find it. Some relevant tags include 'fun', 'business', 'help', and 'avatar'. The tags are entered as a comma separated list.

You can create either a public bot that will be accessible by other users, or a private bot that will be accessible only by you. You can control the users that can access and administer your bot.

You can choose if you want your bot to learn as it interacts with other users. If you disable learning, then your bot will only learn from its administrator when you 'correct' it, from chat logs you upload from the 'Chat Logs' page under 'Admin', or from AIML and Self scripts you add from the 'Scripts' page. Caution should be used in allowing learning, as other users may teach your bot offensive responses. Bot Libre provides a profanity filter, but it cannot catch everything. If you are creating a bot for business, such as for customer service, then you should disable learning.

You can choose if you want your bot to attempt to comprehend language. Comprehension is very advanced, and when enabled allows your bot to program itself base in the conversations it has. You can view the code it creates for itself from the 'Scripts' page under 'Admin'. Your bot will only use comprehension when learning.


Click 5 - Create

Click 'Create' to create your bot.

That's it, your done, and we still have 5 clicks left.

You can now chat with you bot by clicking 'Chat'. To find your bot again click 'Search' and search for it in 'my bots' (be sure to sign in first).

When you select your bot, you can 'Edit' it to change any of its information. You can change your bot's picture or choose an animated avatar from the 'Avatars' page under 'Admin'. You can also connect your bot to Twitter, Facebook, or email, or have it join an IRC chat room. You can import chat logs, or words from Wiktionary, or data from Freebase. You can browse the internal structure of your bots memory. If your are an advanced user, you can program or script your bot using AIML or the Self scripting language. You can view your bot's log.

To link to your bot you can select it and copy its URL from your browser, this is its unique URL. You can also embed your bot on your website or blog, you can learn how from the embed page under Admin.

That's it, have fun creating your bots. If you have any questions you can contact support@botlibre.com, or chat with the Help Bot