Ariyo Nugroho wrote:
> Hello Mr Steve
>
> Glad that there is someone who is doing the same thing there :)
>
> Your idea of 'cheating' ALICE was great. I just realized that actually
> ALICE is not conscious, right? She is not truly 'understanding' what
> she said. So it doesn't matter if the warning message sent while she
> doesn't notice it. The more important thing here is: the user received
> the warning message.
My system as a bunch of layers and services. Some requests wait for a response
(like chat input), but most are asynch notifications or commands (avoids
deadlock). My system has a bunch of different interfaces - web page based
"chat" style where each input from the user gets one response, and other
interfaces which are asynchronous (including voice synthesis through Microsoft
agents on Windows boxes as well as via text to speech on a Linux based PBX
system). Inputs to the system include natural language for chat as well as
canned queries in response to device events. For inputs which require actions
in my system or queries of real time data the Prolog engine handles the
response. For inputs for static information the AliceBot engine can provide the
answer. Another trick I use is to carry context in the Prolog engine - for
example if you ask for a light to be turned on I keep the location of that light
as the current context. So then if you ask to see a picture and don't specify a
location it assumes the location of the last action you took. For example:
"what's the forecast?"
<today's forecast>
"how about tomorrow?"
<tomorrow's forecast>
"Wednesday?"
<wednesdays forecast>
"is it raining?"
<response gathered from rain gauge on roof>
"show me"
<shows a picture from outside - where the weather is>
"turn off the living room lights"
<the living room lights are now off.>
"show me"
<shows a picture of the living room>
But when the front door is opened and the "brain" gets notification of that
event, it sends an asynch message to the living room computer to tell the MS
Agent character to say "front door open!"
Steve
_______________________________________________
alicebot-developer mailing list
alicebot-developer@...
http://list.alicebot.org/mailman/listinfo/alicebot-developer