« Return to Thread: AIML and finite state machines

Re: AIML and finite state machines

by drwallace :: Rate this Message:

Reply to Author | View in Thread

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-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/

 « Return to Thread: AIML and finite state machines