AIML and finite state machines

View: New views
6 Messages — Rating Filter:   Alert me  

AIML and finite state machines

by lordsme :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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!

Re: AIML and finite state machines

by drwallace :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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/

Re: AIML and finite state machines

by Kootstra :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.htm
l
> 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/

_______________________________________________
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/

Re: AIML and finite state machines

by Chris Lofting :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Original Message-----
> From: alicebot-general-bounces@...
> [mailto:alicebot-general-bounces@...] On Behalf Of Anne
> Sent: Monday, 2 March 2009 8:21 AM
> To: 'Alicebot and AIML General Discussion'
> Subject: Re: [alicebot-general] AIML and finite state machines
>
> 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.
>

The Emotional I Ching is currently on line
(http://members.iimetro.com.au/~lofting/Emotional/homep.html ). It allows
for accessing emotional assessments of a situation and conversion to some
other form of assessment - all through the use of questions. It is an
example of a "Language of the Vague". How it works is covered in the FAQ on
the site, more formal perspective is covered in the Abstract Domain Model
page http://members.iimetro.com.au/~lofting/myweb/AbstractDomain.html with a
focus on an upper ontology. The EIC book will be out soon.

I am converting the EIC format into an AIML model as a set of tags to be
plugged-in - the issue is in refinements differentiating primary from
secondary emotions. The IDM abstract domain focus in on differentiating the
neural hierarchy where BENEATH the layer of symbol creation and so multiple
context identifications is a level of meaning that is label-free in that it
covers a SINGLE context. Since the labels levels are dependent upon this
base level for their operation so we can translate a set of labels from one
specialist domain to those of another by exploiting the sameness present in
the pre-labels layer.

The IDM abstract domain model identifies the classes of meaning derived in
this single context realm where all labels will point to these classes. Thus
we take specialist labels, convert them to the sameness level classes and
the back up into a different set of specialist labels. In the EIC we use
fight/flight derived classes to translate into yang/yin derived classes.

At this level of no labels, and so single context, it is the HIERARCHY that
elicits meaning where this is in the form of applying a class of dichotomy
recursively and so moving from general to particular and creating classes of
possible meanings. Selection of elements of the dichotomy, through
questions, then maps out a path of actuals through the set of potentials to
give us the specific current meaning.

There are three classes of dichotomy - symmetric (Equivalence focus),
anti-symmetric (traditional Aristotle XOR focus), and asymmetric (Part/whole
processing, also IMP focus). What is of interest is that the initial
recursive process is mechanistic but given some depth (at least 6 levels) we
see emerge the organic in the form of literal categories suddenly being able
to be used figuratively (efficiently so, less levels lack such) and so as
sources of analogy that is 'hard coded' into the methodology of recursion.
At this level we can get each class to have its properties and methods
described by analogy to all of the other classes - as such we have here the
beginnings of languages.

Chris
http://members.iimetro.com.au/~lofting/myweb/introIDM.html


_______________________________________________
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/

Parent Message unknown Re: AIML and finite state machines

by Square Bear :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My last message was blocked, so I'll post it again:

 The way I do this is to use conditions. For example, I get many visitors who
 swear at my bot (as do we all I imagine) and so I use <think><set
 name="personality">abusive</set></think> in each of my categories where the
 user says, "F** off", "I hate you" and so on to set how the bot feels about
 them.
 Then if the user says, "I love you", "Do you like me" or similar, I check
 for their personality property and reply accordingly. eg:
 
 <category>
 <pattern>DO YOU LIKE ME</pattern>
 <template>
 <condition name="personality">
  <li value="abusive">No not really<get name="name"/>. You are a mean and
 rude person.</li>
  <li>Sure,<get name="name"/>. I like you very much.</li>
 </condition>
 </template>
 </category>
 
 <category>
 <pattern>I LOVE YOU</pattern>
 <template>
 <condition name="personality">
    <li value="abusive">No you don't otherwise you wouldn't keep saying mean
 things to me.</li>
    <li>Thanks I like you a lot too<get name="name"/>.</li>
 </condition>
 </template>
 </category>
 
 Regards
 - Steve Worswick (Square Bear)
 http://www.mitsuku.com
 
 

>
> 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/

Basic meaning generation

by Chris Lofting :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 Hi all,

In the context of giving a sense of meaning to AI systems and as an example
of the dynamics of generic meaning generation I have written a book covering
the manifestation of our basic categories formation capabilities and the
specialist symbolisation of such.

As such I cover the capability of our brains, through oscillations, to
translate emotional, fight/flight, assessments of a context (intuitive,
parallel processing) into a corresponding yang/yin assessment (reasoned,
serial processing) and elicit associated imagery and finer details of that
situation. The book, the Emotional I Ching, covers the theory behind it all
(IDM is summarised in the appendix) and presents a practical example of the
application of that theory.

The ISBN distribution is not complete yet and so, as I understand it, one
can only get the book from Lulu (link below) but the distribution once done
will have it available from Amazon etc etc and so on to local bookshops if
they see it and decide to market it.

The link below has a review capability focused on the first 20+ pages and
hexagram 01 details - the ground of it all being in Jung's concept of the
Collective Unconscious that equates with the AI focus on an "upper ontology"
(aka meta-ontology, the is-ness of is-ness).

Chris
http://www.lulu.com/content/paperback-book/the-emotional-i-ching/6393965


_______________________________________________
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/