AimlBot is a localized chatbot client that uses AIML (Artificial Intelligence Markup Language).
+ How To Add This Control To Your Project (Click to Expand)
- Make sure you have the latest version of ARC installed.
- Select the Get button in this page to download the archive file.
- Double click the downloaded archive file to execute installer.
- The installer will add this control to ARC.
- Load ARC and press the Project -> Add Control button from the menu.
- Choose the Artificial Intelligence category tab.
- Press the Aimlbot icon to add the control to your project.
AimlBot is a localized chatbot client that uses AIML (Artificial Intelligence Markup Language). This operates the same as the PandoraBot client, except it doesn't require an internet connection. The AIML configuration files are stored locally and can be edited by hand or with an AIML editing tool.
1. Text Entry Field
This is where you write your text entry.
2. Send button
Click the Send button, or hit enter, when you are ready to send your text entry to the AimlBot.
3. Response Display
This is where the AimlBot will respond with its text-based response.
1. Response Variable and Script
AIML responses can embed ez-script with square brackets [ and ]. For example, if you load the AIML file t.aiml, you will find this example under the category "test". Search the document for the word "test" and you will see the following response...
Code:This is just a test $Direction.[say("Testing")]
As you can see in the above example, when the word "test" is entered as a phrase into the artificial intelligence engine, the response includes a variable and a script to run.
2. Open Config Folder
You can specify the configuration folder to have multiple personalities per project. To do so, the new config folder must contain the CONFIG and AIML folders from the plugin root folder. Simply look in the current config folder of this plugin, and copy the AIML and CONFIG folders into the new folder. Specify the new folder by pressing the change configuration folder button. This value is saved per project.
*Note: make a copy of the AIML files if you will be making modifications to them. The files may be overwritten during robot skill updates. Here's a video explaining how to make a copy of the default files into a new folder so you can edit them.
3. Open AIML Editor
Please note, the AIML editor requires .Net 3.5 to be installed. The config menu of this plugin has a button to open the AIML config folder or search for a phrase among all AIML files. The file search ability makes it easy to find a response to edit with your own editor, such as with notepad. There's also a built-in editor that I've included, more info below.
There is a built-in editor included called GaitoBotEditor that was created by Springwald Software with no relation to Synthiam. Synthiam cannot support or assist with using this AIML editor, but their online manual is pretty clear. The AIML files will have to be loaded one-by-one into the editor as a new workspace. We don't have much experience with the editor, but it seems to do the trick! The GaitoBotEditor requires .Net 3.5 to be installed.
In the settings menu, you may open the AIML editor directly with the Open AIML Editor button. Otherwise, if you're looking for files related to specific key words, the SEARCH option will be useful. If you're wanting to modify all responses to the word " Banana", type the word "Banana" and press SEARCH. The interface will prompt a menu asking if you wish to open all the files corresponding to that word.
How to Use AimlBot Skill
1) Add the AimlBot Skill to your ARC project (Project -> Add Skill -> Artificial Intelligence -> AimlBot).
2) In the main window enter your text into the text field.
3) Click the Send button.
4) Read the response in the response display.
The AilmBot skill accepts control commands to get data from other skills. This means if you use the a speech recognition skill like Bing Speech Recognition you can send a speech-to-text entry directly to the AimlBot text field with:
Code:ControlCommand("AimlBot", "SetPhrase", $BingSpeech)
This skill also has the ability to execute a script when the chat result is returned. AimlBot can speak the result with:
Another feature of this skill is moving a robot based on the code entered in the update.aiml file. An example phrase to activate this is: Move Forward
ARC 2020.01.24.00 or greater
The source code for this skill can be downloaded here: https://github.com/synthiam/Behavior_Control_AimlBot