July 21, 2019, 09:44:27 pm

News:

what is this news thing for anyway



Alternatively, join us on Discord.

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!

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.
I have Aspergers Syndrome

alexgt

Awesome, if I have time I will try 0.3 out ;)

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.
I have Aspergers Syndrome

alexgt

What will 0.3.0 add? I saw internet connectivity O.O

Ephraim Becker

I have Aspergers Syndrome

DJ Omnimaga

Is it supposed to reply "Can you please repeat yourself?" to anything by the way?

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

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
I have Aspergers Syndrome

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

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
I have Aspergers Syndrome

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

DarkestEx

November 24, 2015, 06:50:55 pm #27 Last Edit: November 24, 2015, 06:59:37 pm by DarkestEx
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

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

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
I have Aspergers Syndrome

Powered by EzPortal