ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

#41  

The chatbot is now in EZ-AI (the version I have anyway:) ). ARC launches EZ-AI now with a /C switch which starts the chat. I would recommend pausing ARCs Speech Recognition module. EZ-AI then recognizes speech and passes it off to the chatbot (which is running locally on your network or computer). The resulting text from the chatbot is passed back into ARC via the $RobotAnswers variable which can be monitored for changes and use Louis' script for chatting and moving a servo. EZ-AI uses the OS's grammer library. This will be the public version of the application and what I will continue to work on until there is enough frustration in the Microsoft implementation of speech recognition and others want something far more polished. The chatbot is communicated with via JSON which makes it far more reliable and a lot less junk returned in the response from the chatbot.

There is an EZ-AI window that will popup and show you the confidence level and what it thinks you said. You will see the information that comes back from the chatbot in the window also. The chatbot will end when you tell it goodbye.

As this would be your own chatbot(s) you would be able to add new responses in the form of AIML. There are some AIML editors out there that are about as simple as Excel to use. Because this chatbot would reside on your network or even on the machine that your robot is running on, there are no issues with network latency or with someone elses site being unavailable due to low wifi signal in an area or any other network connectivity issues.

I will polish it up a bit tonight and post a video of it working.

The current AIML files for robot responses that are loaded are AI.aiml Biography.aiml Blackjack.aiml Bot.aiml Botmaster.aiml Computers.aiml Date.aiml Default.aiml Emotion.aiml Food.aiml History.aiml Inquiry.aiml Integer.aiml Interjection.aiml IU.aiml Knowledge.aiml Literature.aiml Luckyslots.aiml Money.aiml Movies.aiml Multiple.aiml Music.aiml Parts.aiml Philosophy.aiml Predicates.aiml Reduce.aiml Reductions.aiml Religion.aiml Salutations.aiml Science.aiml Spam.aiml Sports.aiml Stack.aiml Stories.aiml That.aiml update.aiml Wordplay.aiml

Yours can be very different and can also have information added as you see fit through the UI that comes with the chatbot.

Until then...

United Kingdom
#42  

This is fantastic. I've been looking for something exactly like this, and especially using AIML, as I have 2 years worth of files I have edited and created using Pandorabots that I have saved as backups. As good as Pandorabots is, I have been looking for something that resides on my machine to avoid service dropouts like you mentioned. Thanks so much for doing this. Great work.:D

Steve.

#43  

Install video has changed. visit cochranrobotics.com for the install video.

#44  

EZ-AI 1.0.0.3 has been posted on CochranRobotics.com. It includes the chatbot feature. I am trying to write a document explaining the install process for this piece of the install.

The chatbot piece of this install is a pain to write an install document for. I am going to go through it and install it on a non dev machine before I would recommend you downloading it. Just so you can see what I am looking at... This isnt complete but gives you an idea of what you're in for.

Steps to install the chatbot To use the chatbot you will need Program-o which requires that you have a MySQL Instance installed. MySQL can be downloaded from MySQL. It is advisable that you get PHPAdmin for MySQL from phpMyAdmin but it isn't essential. Follow these instructions for enabling IIS (the webserver that is in windows) http://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/ You will come back to configure IIS for PHP and for your website after the program-o install. For now, just have it installed and running. Install MySQL using the options left in this document below. I have removed the ones you do not want to choose. Screen shots of each step of the install can be found at http://dev.mysql.com/doc/refman/5.6/en/mysql-installer-gui.html

Upload the files to your server, to the directory of your choice.

step 2 - Create the Database

This step will vary, depending on whether you're installing locally or remotely, and also on where you host your remote installation.

For local installation, access your local MySQL database server through the tool of your choice (e.g. the MySQL Toolkit, phpMyAdmin, etc.), create an empty database and note the name; then create a user/password for that database with full permissions.

For remote database creation, it's highly recommended to contact your hosting provider for details. Often times you will need to log on to a "Dashboard" or "Control Panel" page in order to create the remote database, and there are literally dozens of different versions, each with their own way of doing things, so trying to outline remote database creation here would be near impossible.

Please note that we STRONGLY suggest the use of phpMyAdmin for monitoring, maintaining and working with your database IN ADDITION to the admin pages. The vast majority of hosting providers offer phpMyAdmin as a part of your database package, so contact them if you're unsure about whether you have it. For local installations of phpMyAdmin, visit http://www.phpmyadmin.net for detailed information on installing and usint this very powerful and easy to use database management tool.

MySQL Installer simplifies the installation and updating process for your MySQL products on Microsoft Windows. From this central application, you can view, remove, update, and reconfigure the existing MySQL products on your system. MySQL Installer can also install plugins, documentation, tutorials, and example databases. The MySQL Installer is only available for Microsoft Windows, and includes both GUI and command-line interfaces. The supported products include: MySQL server (one or multiple versions) MySQL Workbench MySQL Connectors (.Net / Python / ODBC / Java / C / C++) MySQL Notifier MySQL for Excel MySQL for Visual Studio MySQL Utilities and MySQL Fabric MySQL Samples and Examples MySQL Documentation MySQL Installer is also installed and remains on the system as its own application Installer package types Full: Bundles all of the MySQL products (including the MySQL server). The file' size is over 200MB, and its name has the form mysql-installer-community-VERSION.N.msi where VERSION is the MySQL Server version number such as 5.6 and N is the package number, which begins at 0. Installer editions Community edition: Downloadable at http://dev.mysql.com/downloads/installer/. It installs the community edition of all MySQL products. MySQL Installer is compatible with pre-existing installations, and adds them to its list of installed components. While the standard MySQL Installer is bundled with a specific version of MySQL Server, a single MySQL Installer instance can install and manage multiple MySQL Server versions. For example, a single MySQL Installer instance can install (and update) versions 5.5, 5.6, and 5.7 on the host. Note A single host can not have both community and commercial editions of MySQL Server installed. For example, if you want both MySQL Server 5.5 and 5.6 installed on a single host, then both must be the same edition. MySQL Installer handles the initial configuration and set up of the applications. For example:

  1. It creates initial MySQL Server connections in MySQL Workbench.
  2. It creates the configuration file (my.ini) that is used to configure the MySQL Server. The values written to this file are influenced by choices you make during the installation process.
  3. It can optionally import example databases.
  4. It can optionally create MySQL Server user accounts with configurable permissions based on general roles, such as DB Administrator, DB Designer, and Backup Admin. It optionally creates a Windows user named MysqlSyswith limited privileges, which would then run the MySQL Server. User accounts may also be added and configured in MySQL Workbench.
  5. If the "Advanced Configuration" option is checked, then the Logging Options are also configured. This includes defining file paths for the error log, general log, slow query log (including the configuration of seconds it requires to execute a query), and the binary log. MySQL Installer can optionally check for updated components and download them for you.

Add instructions for configuring IIS to allow PHP

step 3 - Run the installer

All that's required is that you point any major web browser to your newly created Program O directory (e.g. http://www.example.com/ProgramO/) and the install script will do the rest. Just follow the prompts, and supply the necessary information in the forms provided.

step 4 - Upload the AIML files

To perform this action when the installation is complete, go to the admin page (e.g. http://www.example.com/ProgramO/admin/) and log in with the admin credentials you provided during the installation process. Then select "Upload AIML" from the left nav menu and follow the prompts.

#45  

I decided to also include the module that allows you to ask questions to Wikipedia basically. I'm wrapping that up now and will have a video of it tonight.

PRO
United Kingdom
#47  

David, good to see you using START, as I said earlier in this thread we have been using this for years with our Ai to great success.

You are doing some really great work here, your EZ-AI is getting more powerful every day!

Tony

#48  

@David... I have been following this thread here and there... So my apologies if you have already done a complete install guide... I would be starting from zero, so a complete step by step guide to get this up and running would be seriously appreciated....

Cheers Richard