Thumbnail

Bot Libre

Powerful AIML2 chatbot client for ARC using the Bot Libre opensource cloud service

+ How To Add This Control To Your Project (Click to Expand)
  1. Make sure you have the latest version of ARC installed.
  2. Select the Get button in this page to download the archive file.
  3. Double click the downloaded archive file to execute installer.
  4. The installer will add this control to ARC.
  5. Load ARC and press the Project -> Add Control button from the menu.
  6. Choose the Artificial Intelligence category tab.
  7. Press the Bot Libre icon to add the control to your project.

Manual

AIML2 chatbot client for ARC using the Bot Libre free open source cloud service. Bot Libre lets anyone create a chatbot for their robot with unique and customizable personalities.

User-inserted image



Get Started


1) Visit https://botlibre.com

2) Press Sign Up (don't worry it's free)
User-inserted image


3) Verify the email that Bot Libre will send to you. This email verification must be done in order for the API calls to work, otherwise you will receive an error when using this robot skill.
User-inserted image


4) Activate the API by obtaining an "Application ID" in Bot Libre's "User Settings". Click User Settings from the top menu of the website under your username. Then press the "Obtain" next to Application ID. This step is also required for the API calls of the robot skill to work.
User-inserted image


5) Press the BOTS icon and New Bot
User-inserted image


6) Give your bot a name and select it to be built off an existing bot. It's best to make your bot private as well using the checkbox for Private.
User-inserted image



Using in ARC


In arc, you will enter the username and password of the botlibre.com website in the config window. Then, press the Refresh Bot List button and select the bot you wish to use. Your bot will only display in Private if it is marked as private when it was created on bot libre's website. Otherwise, you can revisit botlibre.com and edit the bot to set it as private.
User-inserted image



TO DO


- add option to play the audio generated from the bot
- parse response for [ scripts ] to display embedded scripts

#18  
That is so cool! Thanks again DJ! You are the best!!! :D:D:D

I will have some time on Saturday to try it. I have spent a whole lot of time customizing the original 1.x AIML in AimlBot for my Simone robot. There are literally THOUSANDS of changes needed to change ALICE (the chatbot) into SImOne (the robot). 

And ALICE is a blank slate. She knows almost nothing. I suppose I will spend the next year adding content to her so she can have a real conversation. 

Thomas Messerschmidt
PRO MEMBER
Synthiam
#19  
Haha ya I hear ya. There’s so much potential with this bot. 

@perry, I’ve been in contact with bot libre about querying the private filter not returning more than 1 bot. They’re a bit slow to respond but I’m sure they’ll have a fix or solution soon
PRO MEMBER
Canada
#20  
This looks fun do I need to be a Pro member to try this out with Synthiam software?
PRO MEMBER
USA
#21  
@thomasfromla - looking at some of the documentation on the site it looks like you can start with an ALICE template. From there you have the ability to import AIML files so perhaps it might be as easy as importing your current AIML files. I haven't figured out how to do that yet.

@robo rad - Not sure but I think you can use this as your one allowed plug-in. Give it a try and let us know.
PRO MEMBER
Canada
#22  
Will try thanks Perry!
PRO MEMBER
USA
#23  
What bots are you guys using as a template. I've tried 3 and each one is typical only answers questions. Is there a way to have conversation, where the bot asks you questions?
PRO MEMBER
USA
#24  
Hi Will,
I have been playing around with this a bit. It is important to understand how the bot is setup on their website. There are many options and the tutorials are not all that great. Where you want to start depends on what you want to do. Also, until the bug is fixed you can only have one bot at a time on their website to import. I have made and deleted a few of each. I have had the most entertaining time with the AI Template. Base your bot off that if you want a learning based robot. It can remember responses. You can import information to talk about and I am still learning about that.

The tutorial above will get you through most of the process, just use the AI template and at some point in the future import chat logs and AIML scripts.

We'll be working through this together
PRO MEMBER
Synthiam
#25  
Sounds like perry will be teaching us how to use it, will:)
PRO MEMBER
USA
#26  
Yes! I will be interested in building out an AI Template. I’m going to look deeper into this one.
PRO MEMBER
USA
#27  
If you would like to speak to your bot instead of typing to it you can easily use the Bing Speech recognition. Here is the basic setup I have.
User-inserted image


In the Bing configuration where it says 'All recognized script' put in this line of code.

Code:

controlCommand("Bot Libre", "Send", $BingSpeech)
Now you can just talk to it with no typing.
PRO MEMBER
Synthiam
#28  
Nice! That's a good idea
#29  
Thanks Perry for all your great work in getting this working !!!! 
:)*cool*:)

Thomas
PRO MEMBER
Synthiam
#30  
No prob! Like perry said, there’s A LOT to it so be prepared to learn their options and settings. I have to read more of what aiml2 is and how to program it
PRO MEMBER
USA
#31   — Edited
Mine is working again, who knows lol

User-inserted image


EzAng your tester

followed Perry's advice
PRO MEMBER
USA
#32  
Hi DJ, Any news on accessing multiple bots through the drop down list?
PRO MEMBER
Synthiam
#33  
No word from the developers yet. I figure they’re working on it. With a project of their size, I imagine it’ll be a bit. Not everyone works as fast as us:)
PRO MEMBER
Synthiam
#34  
Perry - the latest update has a fix for listing all personal bots
PRO MEMBER
USA
#35  
Thanks DJ, I was wondering if that was on your side or theirs but I noticed it last night.
PRO MEMBER
Synthiam
#36  
It was a combination of both sides, ugh.:) 

Their documentation for the API is outdated and doesn't mention any parameter to "filter by personal bots". The only option they documented was "filter private". But even the filtering of private didn't work because our private bots would only list 1 of the many. Their email responses when i raised the issue told me it was because my bots weren't configured correctly. Anyway, this went on for a while where i believe they actually checked and realized "oh man, this guy is right its is broken"

So they got back to me this morning with an email that said to use a different api call, which is not documented anywhere... with a parameter, that is also not documented anywhere:) 

Needless to say, it magically works now haha
PRO MEMBER
USA
#37   — Edited
works well again

thanks