• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Have your own AI therapist on your phone!

Scheduled Pinned Locked Moved General
18 Posts 6 Posters 1.6k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MarkG_108
      last edited by MarkG_108 8 Dec 2019, 05:17

      [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:~$ 
      
      

      For reference:

      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.

      ? 1 Reply Last reply 8 Dec 2019, 08:51 Reply Quote 3
      • A Offline
        Aury88
        last edited by 8 Dec 2019, 07:35

        😂
        that, associated with mycroft voice recognition, would be a must have app on my smartphone 😅

        1 Reply Last reply Reply Quote 1
        • ? Offline
          A Former User @MarkG_108
          last edited by 8 Dec 2019, 08:51

          @MarkG_108 Ha Ha, that's great! Put a smile on my face this morning .😂

          1 Reply Last reply Reply Quote 1
          • C Offline
            CiberSheep
            last edited by CiberSheep 12 Aug 2019, 15:48 8 Dec 2019, 15:47

            Ouh one of the first programs I copied from a magazine!

            There's an Eliza written in javascript and one ported to z5 you could use with Gelek Vanilla

            Another planet, another time, another universe!

            C D 2 Replies Last reply 14 Dec 2019, 19:38 Reply Quote 1
            • C Offline
              CiberSheep @CiberSheep
              last edited by 14 Dec 2019, 19:38

              Look at this week episode of one of my favorite audiocasts:
              https://99percentinvisible.org/episode/the-eliza-effect/

              Another planet, another time, another universe!

              A 1 Reply Last reply 16 Dec 2019, 15:39 Reply Quote 1
              • A Offline
                apollos @CiberSheep
                last edited by apollos 1 Sept 2020, 13:38 16 Dec 2019, 15:39

                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.

                TweakBox word counter Tutuapp

                1 Reply Last reply Reply Quote 0
                • D Offline
                  domubpkm @CiberSheep
                  last edited by 19 Dec 2019, 12:30

                  @CiberSheep Hello.
                  What is the exact file that runs under your app ?
                  Thank you

                  C 1 Reply Last reply 19 Dec 2019, 12:38 Reply Quote 0
                  • C Offline
                    CiberSheep @domubpkm
                    last edited by 19 Dec 2019, 12:38

                    @domubpkm https://ifdb.tads.org/viewgame?id=fh8iwavcu4ldm98i

                    z5 but it can read nearly all z-machine ones, level 9, gluglx, magnetic scrolls, tads (improvable) and some Scott Adams... you can choose

                    Another planet, another time, another universe!

                    D 1 Reply Last reply 19 Dec 2019, 15:15 Reply Quote 0
                    • D Offline
                      domubpkm @CiberSheep
                      last edited by 19 Dec 2019, 15:15

                      @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...

                      C 1 Reply Last reply 19 Dec 2019, 23:39 Reply Quote 0
                      • C Offline
                        CiberSheep @domubpkm
                        last edited by 19 Dec 2019, 23:39

                        @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

                        Another planet, another time, another universe!

                        D 1 Reply Last reply 20 Dec 2019, 00:58 Reply Quote 0
                        • D Offline
                          domubpkm @CiberSheep
                          last edited by 20 Dec 2019, 00:58

                          @CiberSheep ...so I didn't make a mistake in the procedure. At the launch, I get this :
                          eliza.z5.png
                          The therapist is probably bugged under Gelek !!

                          C 1 Reply Last reply 20 Dec 2019, 10:55 Reply Quote 0
                          • C Offline
                            CiberSheep @domubpkm
                            last edited by 20 Dec 2019, 10:55

                            @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)

                            95cee008-b232-4925-80d6-5856bff3c5e0-imatge.png

                            f7266255-fbb6-4a64-98e9-34a220613094-imatge.png

                            Another planet, another time, another universe!

                            D 1 Reply Last reply 20 Dec 2019, 12:57 Reply Quote 0
                            • D Offline
                              domubpkm @CiberSheep
                              last edited by 20 Dec 2019, 12:57

                              @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 ?

                              C 1 Reply Last reply 21 Dec 2019, 16:20 Reply Quote 0
                              • C Offline
                                CiberSheep @domubpkm
                                last edited by 21 Dec 2019, 16:20

                                @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 🙂

                                Another planet, another time, another universe!

                                M 2 Replies Last reply 27 Dec 2019, 20:28 Reply Quote 0
                                • M Offline
                                  MarkG_108 @CiberSheep
                                  last edited by MarkG_108 27 Dec 2019, 20:28

                                  @CiberSheep I get stuck here, at the transcript question after selecting eliza.z5 from the file manager. screenshot20191227_152744374.png

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MarkG_108
                                    last edited by 27 Dec 2019, 21:20

                                    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

                                    1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      MarkG_108 @CiberSheep
                                      last edited by 27 Dec 2019, 21:26

                                      @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!screenshot20191227_162449779.png

                                      C 1 Reply Last reply 28 Dec 2019, 00:41 Reply Quote 1
                                      • C Offline
                                        CiberSheep @MarkG_108
                                        last edited by 28 Dec 2019, 00:41

                                        @MarkG_108 said in Have your own AI therapist on your phone!:

                                        @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

                                        Another planet, another time, another universe!

                                        1 Reply Last reply Reply Quote 1
                                        2 out of 18
                                        • First post
                                          2/18
                                          Last post