Therapist Bot tutorial following

I am trying to work on the Therapist bot tutorial. http://ai2.appinventor.mit.edu/?locale=en&repo=http://appinventor.mit.edu/yrtoolkit/yr/aiaFiles/therapistBOT/TherapistBOT_Starter.asc

I am not able to figure out the replace blocks and then on. Does anyone have the full blocks for the above. I need it urgently. Kindly help

This is a link to the Therapist Bot tutorial

This code might help. Set the control properties using the advice in the tutorial.

I don't know where the replace mappings of the dictionary go?

This is my file. It has a problem


This is the file
TherapistBOT_GV.aia (63.0 KB)
Kindly point out the mistake please.....

This is what you had for generating a response:

This is the corrected version, where the "in" is replaced by "\n", the newline character.

Does that help?

1 Like