Like Richard says, there are a number of ways that you can alter the
response depending on the internal state of a person.
In earlier discussions (recommend searching the mailing list for this) we
have often talked about a mechanism to display emotion depending upon the
type of inputs a person would send to your bot. Often this system would
incorporate some kind of quadrant of different emotional states and use a
counter to keep track of the internal state.
There are of course more ways of doing this. You may even use a different
engine to determine the state and then feed its value into the AIML
interpretation engine to use in the response generation. This is up to you.
Kind regards,
Anne.
-----Oorspronkelijk bericht-----
Van:
alicebot-general-bounces@...
[mailto:
alicebot-general-bounces@...] Namens Dr. Rich Wallace
Verzonden: donderdag 26 februari 2009 9:20
Aan: Alicebot and AIML General Discussion
Onderwerp: Re: [alicebot-general] AIML and finite state machines
Hello, some people use the AIML <topic> tag to vary the responses
based on the state of the <topic> value.
You can also make the responses dependent on AIML predicates with
<get> and <set>:
<category>
<pattern>WHAT IS MY NAME</pattern>
<template>
<condition name="name">
<li value="*">Your name is <get name="name"/>.</li>
<li>You haven't told me your name yet.</li>
</condition>
</template>
</category>
On Wed, Feb 25, 2009 at 1:15 PM, lordsme <
lordsme@...> wrote:
>
> Hello everyone,
>
> I'm new to AIML, so please be patient if my question has a obvious answer
or
> so on.
>
> I'm doing a little research to discover if there's a way of incorporate
the
> concept of the finite state machines in AIML, in order to create a
> bot/character who answers in different ways depending on his internal
state.
>
> Is there a way to define this states directly with AIML, or another
language
> is needed to define the states along with a different/hybrid parser?
> Thank you!
> --
> View this message in context:
http://www.nabble.com/AIML-and-finite-state-machines-tp22163714p22163714.html
> Sent from the Alicebot General mailing list archive at Nabble.com.
>
> _______________________________________________
> This is the alicebot-general mailing list
> Reply to
alicebot-general@...
> Unsubscribe and change preferences at
http://list.alicebot.org/mailman/listinfo/alicebot-general> Learn netiquette at
http://www.dtcc.edu/cs/rfc1855.html> Learn to read at
http://www.literacy.org/>
_______________________________________________
This is the alicebot-general mailing list
Reply to
alicebot-general@...
Unsubscribe and change preferences at
http://list.alicebot.org/mailman/listinfo/alicebot-generalLearn netiquette at
http://www.dtcc.edu/cs/rfc1855.htmlLearn to read at
http://www.literacy.org/_______________________________________________
This is the alicebot-general mailing list
Reply to
alicebot-general@...
Unsubscribe and change preferences at
http://list.alicebot.org/mailman/listinfo/alicebot-generalLearn netiquette at
http://www.dtcc.edu/cs/rfc1855.htmlLearn to read at
http://www.literacy.org/