chatbot

Hello again everybody

Can someone tell me how to start chatbot in MRL? I have watched kwatters video (good video ) but im trying to do it with voice control not type

thanks for the help

kwatters's picture

ProgramAB - best option for chat bot now.

Ahoy OFH,

   I think perhaps the best option is to start using ProgramAB if you want a chat bot.  The new GUI contains integration for google's chrome web recognition which is far better than the default Sphinx one.  

  ProgramAB installs,  by default, the "alice2" chat bot.  Alice is pretty smart and has the ability to call out to the web for things that it doesn't know.

  If order to integrate robot movement with the chat bot, you'll need to update the "AIML" files to include the movements to be triggered when a particular response is triggered.  I think some of my ProgramAB tutorials cover that.  

  Take a look at this script here:

https://github.com/MyRobotLab/pyrobotlab/blob/master/home/kwatters/Lloyd...

 

Good luck!

oldfarmhand's picture

thank you for the response on chatbot

Thank you for the response but that is my problem i watched the videos tried to follow i have started alice 2 but it will not talk when i ask questions only answers with written words i have watched kwatters videos but i dont see how to start up.

thanks for the help

oldfarmhand's picture

chatbot

i can load script in python and it will start up alice 2 and no voice only text

kwatters's picture

MaryTTS

Hi OFH,

The following line should be using the MarySpeech to do speech synthesis.  The only exists on the latest QA build.  It is not in the official release.

   mouth = Runtime.createAndStart("i01.mouth", "MarySpeech")

If you are using the latest QA release, that line should work. Otherwise, i expect you'll have seen an error message when trying to run that.

-Kevin

 

oldfarmhand's picture

do i need to  use 1.0.119

do i need to  use 1.0.119 release to make it work?

I get error

python error--------- traceback (most recent call last):

kwatters's picture

MaryTTS

Hi OFH,

The following line should be using the MarySpeech to do speech synthesis.  The only exists on the latest QA build.  It is not in the official release.

   mouth = Runtime.createAndStart("i01.mouth", "MarySpeech")

If you are using the latest QA release, that line should work. Otherwise, I expect you'll have seen an error message when trying to run that.

-Kevin

 

oldfarmhand's picture

chatbot

when i start up MRL what do i start in runtime because mary speech and web gui will not load, im now using version 1.0.119 and i do copy the script  that you directed me to in python and start it right?

Im still trying to learn its just not as easy for me as it is for people that use it every day

kwatters's picture

1.0.119 will not work.

You must use the latest QA release if you want to use MarySpeech.  

The QA release also has the web gui for speech recognition.  That is also required for the script i shared with you to work.

bensonofjohn's picture

Hi OldFarmHand try the new

Hi OldFarmHand

try the new beta version of MRL from here http://mrl-bucket-01.s3.amazonaws.com/myrobotlab.jar

It is much more advanced.

oldfarmhand's picture

chat bot

Hi again im still doing something wrong i downloaded   http://mrl-bucket-01.s3.amazonaws.com/myrobotlab.jar but it shows up as  1.0.119 what do i need to start in runtime I know im kinda slow, like a turtle can pass me!

oldfarmhand's picture

chat bot

I know yall are busy and you cant spend a lot of time with one slow person but if i could just get something like step 1 step 2 step 3 it sure would help me and i could refrence it in the future. i see no one else has the simple problems but me (boy there are a lot of smart people in this world or at least in MRL)

kwatters's picture

Where did you download it to?

Hi OFH,

  I suspect you're still running the old version.   Lets do this.

1. create a new directory.. lets call it  "c:\mrl"   

2. download the following file  http://mrl-bucket-01.s3.amazonaws.com/myrobotlab.jar  and put it in the directory c:\mrl

3. open a command prompt  (on windows..  start->run -> cmd.exe      )    This will open up a windows command prompt.  

4. click on the new command prompt window and type: "cd \mrl"    and press enter.

5. type : "java -jar myrobotlab.jar"       and press enter.

 

P.S> you could probably also just double click on the myrobotlab.jar file also.. but it's a good practice to learn what a command line is and how to use it.

 

oldfarmhand's picture

chatbot

Boy i sure do like the 123 step system thank you kwatters and bensonofjohn that made it work!

 now i need to rewatch your videos so i can learn more on what i can do 

Thank y'all for the help

Jan Janson's picture

New myrobotlab.jar

Hi Kevin,

I've seen some sample videos from you and Mastablasta where your InMoov robots talks using MyRobotLab and programAB. This looks awesome!

I really would like to implement this on my Inmoov robot, so downloaded and tested your scripts with the newest release of MyRobotLab 1.0.119.

But this leads to errormessages. In your reply above I see that I need another version of myrobotlab.jar, but the link does not work. Can you help me in getting this jar-file?

Regards, Jan

Mats's picture

Latest release of MRL

Hi Jan

You can find the link to the latest build in the Shoutbox. Version 1.0.119 is old and has some problems because Google has withdrawn the free text to speech interface. A lot of new things has been added to the latest build, like the WebGUI.

However, the latest build is going thru a major upgrade with changes in every service. So it needs a bit of more work until it's OK. So be patient and keep an eye on the shoutbox to see what's happening. 

 

Jan Janson's picture

New myrobotlab.jar

Hi Kevin,

I've seen some sample videos from you and Mastablasta where your InMoov robots talks using MyRobotLab and programAB. This looks awesome!

I really would like to implement this on my Inmoov robot, so downloaded and tested your scripts with the newest release of MyRobotLab 1.0.119.

But this leads to errormessages. In your reply above I see that I need another version of myrobotlab.jar, but the link does not work. Can you help me in getting this jar-file?

Regards, Jan

luc Hayes's picture

Please link the videos

@oldfarmhand

 

Can you link the vidoes you are referencing in this post for others like me to watch :)

GroG's picture

(No subject)