[pandorabots-general] conditional based on a predicate

Brian Hoecht brian_hoecht at msn.com
Sat Aug 12 11:28:08 PDT 2006


Ron,

I believe there is a different way to achieve the effect you are
looking for.

I remember reading somewhere that some AIML Interpreters can
respond differently if their bot predicate value is still set to
its initial value ("Unknown") was specifically referenced.

However, I have never encountered an AIML code sample where this
was put in to practice.

I remember talking with Dr. Wallace about bot best practices and
we agreed that for most bots, getting the user's name was a top
priority early in the chat so it could be interspersed with the
responses (of all predicates, that one + gender seem to be needed
most for the illusion of conversation)... but I never got around
to experimenting with means to effectively implement the
strategy.

Perhaps you could experiment and share with all of us what you
find.

-----Original Message-----
From:
pandorabots-general-bounces+brian_hoecht=msn.com at list.pandorabots
com
[mailto:pandorabots-general-bounces+brian_hoecht=msn.com at list.pan
dorabots.com] On Behalf Of Ron Ingram
Sent: Saturday, August 12, 2006 1:28 PM
To: pandorabots-general at list.pandorabots.com
Subject: [pandorabots-general] conditional based on a predicate

I find with long conversations my bot often asks a few
questions that it should already "know" the answer
too, for example asking "how old are you" when the
client indicated their age only a few questions prior.

Does anybody have an example of a conditional
statement in aiml to turn a response on or off based
on whether a client predicate has a value or not?  

For example if the bot already has a client age
predicate with a value of 38, the bot would respond
with "when is your birthday" instead of "how old are
you", unless it already had a client predicate value
for "birthday" in which case it would respond with,
"what is new with you". But if the value for either
age or birthday was empty then the bot would go ahead
and ask "how old are you" or "when is your birthday".

I think this would greatly enrich bot "intelligence",
any help very much appreciated.

thx,

Ron
_______________________________________________
This is the pandorabots-general mailing list
To Post, reply to pandorabots-general at list.pandorabots.com
Unsubscribe and change preferences at
http://list.pandorabots.com/mailman/listinfo/pandorabots-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/



More information about the pandorabots-general mailing list