Have your own AI therapist on your phone!
[edit: I have changed this to properly using Libertine to install the program rather than incorrectly using APT]
This is how to install the classic AI program Eliza onto your phone.
First, I assume people here have installed a Libertine container on their phone. Doing this is pretty straight forward using the phone's System Settings (just look up Libertine there).
So, run the following commands in your terminal to install it:
phablet@ubuntu-phablet:~$ libertine-container-manager install-package -p libchatbot-eliza-perl
It should now be installed. Now, create a file called .bash_aliases, which will allow the program to be easily opened. Any text editor will do, as long as it is saved to your phone's home directory. Below is how to do it with the commandline text editor Nano:
phablet@ubuntu-phablet:~$ nano .bash_aliases
Now, you will be in the commandline text editor Nano. Type the following in it:
alias eliza='libertine-launch -i xenial /usr/share/doc/libchatbot-eliza-perl/examples/./simple'
Close Nano via pressing Ctrl-X, saving the file (if using the terminal on your phone, you'll see a menu thingy on the lower left with "Nano" as one of the choices -- select this then select Ctrl-X, and save the newly created file.) This allows the simple command of "eliza" (without quotes) to start the program.
And that's it. You can now be analyzed. For example:
phablet@ubuntu-phablet:~$ eliza Welcome to your therapy session. Your therapist's name is Liz. Liz: Hello, I am a computer program. you: Hello. Liz: Hi. What seems to be your problem? you: I wish more people would use Ubuntu Touch. Liz: Why do you say you wish more people would use Ubuntu Touch? you: Because it is a good OS for smartphones. Liz: Is that the real reason? you: Of course! Liz: Does talking about this bother you? you: No, but you are starting to bother me. Liz: Are you saying no just to be negative? you: Sorry. I don't mean to be negative. Liz: It did not bother me. Please continue. you: Thank you. Now I must go. Goodbye. Liz: I think you should talk to a REAL analyst. Ciao! phablet@ubuntu-phablet:~$
Some information on Libertine here: https://docs.ubports.com/en/latest/userguide/dailyuse/libertine.html
Where I obtained the information on creating the .bash_aliases file to make opening the program easier with a simple command: https://blog.arubislander.nl/2018/09/running-additional-command-line-tools.html And note, any text editor (rather than Nano) could create the file, as long as it's uploaded to your phone via adb or whatever.
Aury88 last edited by
that, associated with mycroft voice recognition, would be a must have app on my smartphone
@MarkG_108 Ha Ha, that's great! Put a smile on my face this morning .
CiberSheep last edited by CiberSheep
Ouh one of the first programs I copied from a magazine!
Look at this week episode of one of my favorite audiocasts:
I recall a scene from the movie, THX-1138, with a computerized device that was something between a therapist and a confessional. As I recall, it was fairly ineffective perhaps symbolizing the mental health care system.
What is the exact file that runs under your app ?
z5 but it can read nearly all z-machine ones, level 9, gluglx, magnetic scrolls, tads (improvable) and some Scott Adams... you can choose
@CiberSheep I must be tired because I can't get the game to work!
So it's this folder : http://mirror.ifarchive.org/if-archive/games/zcode/eliza.zip
So, i unzip this folder and after ? How what do I have to do to make the game work? I tried to run eliza.z5 but it doesn't work for me.
Sorry for the basic questions, it's the first time i try to use your app...
@domubpkm So, once uncompresed (Gelek Vanilla should do that but I think you found a bug :)):
- Open Gelek Vanilla: https://open-store.io/app/gelek-vanilla.cibersheep
- Tap on the plus and import eliza.z5 from File Manager. Eliza will ask if you want a transcript, answer No (not N as suggested) and you should have see the presentation
@CiberSheep ...so I didn't make a mistake in the procedure. At the launch, I get this :
The therapist is probably bugged under Gelek !!
@domubpkm Sorry. This is trully my fault but there are 2 Geleks:
- Gelek (strawberry) with all the info of Level 9 games and extra bits
- Gelek Vanilla (the yellow grey one) that is the one that supports more type of games / stories (but has no specific information about a company nor a game)
@CiberSheep With me, no one is guilty and ESPECIALLY in computing.
Miracle, it works!!!
After I realized that Gelek couldn't stand suru dark... because I couldn't see the first message from the beginning...
The ideal would be to merge the two Gelek (if it was possible !!).
Do you want me to make requests for that ? and suru dark ?
@domubpkm I'm happy it worked.
Suru dark (I forgot to add that :D)
I don't want to merge the two Geleks. That's why I have them separate in the first place
@CiberSheep I get stuck here, at the transcript question after selecting eliza.z5 from the file manager.
To digress just a bit, here's a short clip (3 minutes) from Adam Curtis' documentary HyperNormalisation. He speaks of how Weizenbaum's Eliza led to a change in AI development. Before Eliza, the focus had been on creating human thought and behaviour in a computer. After Eliza, the focus shifted to simply mirroring users of AI devices, reflecting their thoughts back to them (and ultimately gathering information about users). https://www.youtube.com/watch?v=84QouA9Sm4E
@CiberSheep Hey, it worked! I rebooted my phone, and tried it out. After using the keyboard to enter "N" to the question, I used the provided return button with your app (rather than the keyboard one), and it worked. Great stuff!
@CiberSheep Hey, it worked! I rebooted my phone, and tried it out. After using the keyboard to enter "N" to the question, I used the provided return button with your app (rather than the keyboard one), and it worked. Great stuff!!
Thanks for the workaround. This is related to the language spell checker as informed here
Have fun now