[pandorabots-general] conditional based on a predicate
Ron Ingram
fra_nsn at yahoo.com
Sat Aug 12 10:28:15 PDT 2006
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
More information about the pandorabots-general
mailing list