Join us on Discord!
You can help CodeWalrus stay online by donating here.

Virtual friend

Started by Ephraim Becker, November 11, 2015, 02:03:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

p4nix

Cool, I like the 'friends'-feature when you say that you share the same interests :) But if you ever get tired of hardcoding all 10^99999999999 possible dialogs, please keep real AI in mind. Anyway, I hope that this helps you, and maybe also others!
  • Calculators owned: fx9860GII (SH4)

Ephraim Becker

Virtual friend version 0.3.0 is getting closer! I just got fetching and displaying RSS feeds from the internet to work thanks to Google AJAX Feed API. Now all I need to do is modify the feed into a conversation about it.
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

alexgt

Awesome, if I have time I will try 0.3 out ;)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Ephraim Becker

Quote from: alexgt on November 15, 2015, 05:24:47 PM
Awesome, if I have time I will try 0.3 out ;)

0.3.0 is not released yet. It will still take some time.
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

alexgt

What will 0.3.0 add? I saw internet connectivity O.O
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Ephraim Becker

  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Dream of Omnimaga

Is it supposed to reply "Can you please repeat yourself?" to anything by the way?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

p4nix

I guess not to anything, it should at least repeat your name. But take a look at this for the solution:
http://ephraimb.github.io/Virtual-Friend/js/script.js
  • Calculators owned: fx9860GII (SH4)

Ephraim Becker

Virtual friend 0.3.0 is going to be ready very soon! It will fetch all the news feeds from http://www.npr.org, the only RSS feeds with CORS support. You can check out 0.3.0 beta at: http://ephraimb.github.io/Virtual-Friend
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Dream of Omnimaga

By the way, if you want help you really should indent your code. I understand that getting used to it would be hard as asperger (from experience) but No one wants to help because it's not intended and they can't read it x.x.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Ephraim Becker

Virtual friend version 0.3.0 is finally out. You can view it live on my website: http://ephraimb.github.io/Virtual-Friend


or


You can download it at this link: https://github.com/EphraimB/Virtual-Friend/releases/tag/0.3.0
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Dream of Omnimaga

You should make the submit button also work with Enter like when searching Google. Having to click it with the mouse when submitting text gets a bit tedious.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

DarkestEx

#27
I don't want to hurt you or be rude, but your Virtual Friend project is not ever getting anywhere near being useful as the current path that you are taking is not going to work. It does not look very visually appealing yet, but I guess that's subject to come later. Also I actually had to dissect the code just to know what I could ask him/her as this was not obvious at all when looking at the site itself.
With that I don't want to say that your project is bad or that you shouldn't keep working on it, as it is something that makes you have fun doing. But if you want this project not to be just for you, then you should really consider some drastic changes.
Also if you want to get some inspiration, check out CleverBot. You can actually somewhat talk to it and often get good responses. Keep the work up, but I'd really suggest, starting from scratch. An if based conversation that just comares the input to all phrases preprogrammed is not going to work. You need to come up with some algorithm to estimate what the user is actually saying.

Edit: I mean look, I just talked to CleverBot again and it makes all sense and he certainly understood me: http://www.cleverbot.com/conv/201511241850/VWO03928850_Hello
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, PlayStation 2

Dream of Omnimaga

It would probably help to suggest what in particular needs change, though. From what I could gather, some stuff is not proper AI but rather command-based stuff, so that is something that would need changes, but I didn't have much time to check the code for string of text and stuff besides the RSS feed stuff.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Ephraim Becker

Virtual friend version 0.4.0 is finally out. You can view it live on my website: http://ephraimb.github.io/Virtual-Friend

or

You can download it at this link: https://github.com/EphraimB/Virtual-Friend/releases/tag/0.4.0
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Powered by EzPortal