Ai Dreams Forum

Member's Experiments & Projects => AI Programming => Topic started by: mgthefourth on August 18, 2011, 05:21:00 pm

Title: Alice AI and Adobe Flex (AS3)
Post by: mgthefourth on August 18, 2011, 05:21:00 pm
Sorry to double post but I posted this in the "General Project Discussion" before realising it was probably a better idea to post it here:


I've recently made an Alice ai interface with adobe flex (the free, open source version of flash) and the pandorabots api. I recently realised my programs potential to be used with other AI apis/libraries. What would the wise members of the AiDreams forum recommend?

A version utilising the Flex 3 ui components (very fast, a couple of bugs):

http://www.kongregate.com/games/mgthefourth/alice-ai-bot-chat-chat-with-an-artificial-intelligence (http://www.kongregate.com/games/mgthefourth/alice-ai-bot-chat-chat-with-an-artificial-intelligence)


A version made with pure as3 (few bugs but very slow):

http://www.kongregate.com/games/mgthefourth/alice-ai-bot-chat-v2-chat-with-another-artificial-intelligence (http://www.kongregate.com/games/mgthefourth/alice-ai-bot-chat-v2-chat-with-another-artificial-intelligence)
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: mendicott on August 18, 2011, 06:27:00 pm
I couldn't get your first example to respond, and couldn't access the second without registration.

Screencast videos are great for examples.

More and better UIs are definitely needed; however, the big issue with Flash is that it doesn't work on iPhone, etc.

What is really needed is plug and play XMPP-compatible lipsync avatars (optionally customizable), which can work with iOS (HTML5?).

FYI, Swiffy converts Flash SWF files to HTML5 http://swiffy.googlelabs.com (http://swiffy.googlelabs.com) .
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: mgthefourth on August 18, 2011, 07:01:14 pm
Wow, swiffy looks great. I cant imagine why you'd need registration to view falsh files on kongregate and the first one seems to work fine for me - the ui connects to the pandorabots server in the US, where are you viewing the swf file from?. Lipsyncing and text-to-speech is what I'm working on next.

Thanks for the quick reply.

[EDIT] It's a shame swiffy only works with actionscript 2, i'll have to rewrite all my code :'(
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: squarebear on August 18, 2011, 09:30:30 pm
The reply box needs to be bigger to see the whole message and you also need to interpret the line breaks rather than displaying them (say "sing" to your interface to see what I mean).

I use AS2 and Flash to create the interface to Mitsuku:
http://www.square-bear.co.uk/mitsuku/chat.htm (http://www.square-bear.co.uk/mitsuku/chat.htm)
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: mgthefourth on August 18, 2011, 10:11:04 pm
wow, that's amazing. How do you track your users locations/visits I didn't think you could use flash to determine ip addresses, is there some javascript/html5 function you're using to pass data to the swf via flashvars?
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: Bragi on August 19, 2011, 07:28:44 am
Quote
What is really needed is plug and play XMPP-compatible lipsync avatars (optionally customizable), which can work with iOS (HTML5?).
How many AI backends are there already for this?
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: squarebear on August 19, 2011, 09:07:56 pm
wow, that's amazing. How do you track your users locations/visits I didn't think you could use flash to determine ip addresses, is there some javascript/html5 function you're using to pass data to the swf via flashvars?
I don't track user's IP addresses. All the information Mistuku learns about you is gathered from your conversation. If you say, "bye" to her (or any variation of), she stores a flash cookie containg your info on your pc ready for your next visit.
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: mgthefourth on August 23, 2011, 12:50:47 am
wow, that's amazing. How do you track your users locations/visits I didn't think you could use flash to determine ip addresses, is there some javascript/html5 function you're using to pass data to the swf via flashvars?
I don't track user's IP addresses. All the information Mistuku learns about you is gathered from your conversation. If you say, "bye" to her (or any variation of), she stores a flash cookie containg your info on your pc ready for your next visit.

Then how do the graphics below the header Where people are talking to Mitsuku from work?
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: squarebear on August 23, 2011, 11:12:43 pm
That's a free website tool from www.revolvermaps.com (http://www.revolvermaps.com)
Title: Re: Alice AI and Adobe Flex (AS3)
Post by: mgthefourth on August 28, 2011, 03:45:11 pm
That's a free website tool from www.revolvermaps.com (http://www.revolvermaps.com)

Thanks, I'll check that out.