Alice AI and Adobe Flex (AS3)

  • 9 Replies
  • 5360 Views
*

mgthefourth

  • Roomba
  • *
  • 7
Alice AI and Adobe Flex (AS3)
« 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


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

*

mendicott

  • Bumblebee
  • **
  • 28
    • Meta-Guide.com
Re: Alice AI and Adobe Flex (AS3)
« Reply #1 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 .

*

mgthefourth

  • Roomba
  • *
  • 7
Re: Alice AI and Adobe Flex (AS3)
« Reply #2 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 :'(
« Last Edit: August 18, 2011, 07:06:54 pm by mgthefourth »

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 851
  • It's Hip to be Square
Re: Alice AI and Adobe Flex (AS3)
« Reply #3 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
Feeling Chatty?
www.mitsuku.com

*

mgthefourth

  • Roomba
  • *
  • 7
Re: Alice AI and Adobe Flex (AS3)
« Reply #4 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?

*

Bragi

  • Trusty Member
  • ********
  • Replicant
  • *
  • 564
    • Neural network design blog
Re: Alice AI and Adobe Flex (AS3)
« Reply #5 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?

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 851
  • It's Hip to be Square
Re: Alice AI and Adobe Flex (AS3)
« Reply #6 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.
Feeling Chatty?
www.mitsuku.com

*

mgthefourth

  • Roomba
  • *
  • 7
Re: Alice AI and Adobe Flex (AS3)
« Reply #7 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?

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 851
  • It's Hip to be Square
Re: Alice AI and Adobe Flex (AS3)
« Reply #8 on: August 23, 2011, 11:12:43 pm »
That's a free website tool from www.revolvermaps.com
Feeling Chatty?
www.mitsuku.com

*

mgthefourth

  • Roomba
  • *
  • 7
Re: Alice AI and Adobe Flex (AS3)
« Reply #9 on: August 28, 2011, 03:45:11 pm »
That's a free website tool from www.revolvermaps.com

Thanks, I'll check that out.