[pandorabots-general] Recursion trouble (Tony)

Tony coramo_r at yahoo.com
Mon Nov 13 11:55:25 PST 2006


Thank you, that worked. I had tried to use <star1/> and <star2/> but they
did not work. I guess they are for an AIML version later then 1.0. I had
another question I hope someone might be able to answer.

I was wondering if anyone knows what conversion takes place between
submitting the custID to the bot, and what is displayed on the logs page?
Something must happen because I submit a rather long key (like:
798164f6-aea8-4e8e-a8e9-80ec0c51f272) and this key is returned in the
response, so it seems persistent. However the logs page show something like:
40216779. It's not a direct Hex conversion. Nor a hex truncate conversion.
What even more strange is if I submit chats with the custID as 40216779, it
makes a different entry with a different number. I looked on several pages,
but did not find any info that seemed to relate to this problem.

Thanks for any help.

 

Tony

-----Original Message-----
From: pandorabots-general-bounces+coramo_r=yahoo.com at list.pandorabots.com
[mailto:pandorabots-general-bounces+coramo_r=yahoo.com at list.pandorabots.com]
On Behalf Of pandorabots-general-request at list.pandorabots.com
Sent: Sunday, November 12, 2006 12:00 PM
To: pandorabots-general at list.pandorabots.com
Subject: pandorabots-general Digest, Vol 33, Issue 3

Send pandorabots-general mailing list submissions to
	pandorabots-general at list.pandorabots.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://list.pandorabots.com/mailman/listinfo/pandorabots-general
or, via email, send a message with subject or body 'help' to
	pandorabots-general-request at list.pandorabots.com

You can reach the person managing the list at
	pandorabots-general-owner at list.pandorabots.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pandorabots-general digest..."


Today's Topics:

   1. Re: Recursion trouble (Square Bear)


----------------------------------------------------------------------

Message: 1
Date: Sun, 12 Nov 2006 05:46:53 -0000
From: "Square Bear" <steve at square-bear.co.uk>
Subject: Re: [pandorabots-general] Recursion trouble
To: <pandorabots-general at list.pandorabots.com>
Message-ID: <00b801c7061d$f561e400$b9362ad9 at t4g1f4>
Content-Type: text/plain;	charset="iso-8859-1"

Try this instead of the category you had:

<category>
<pattern>_ TELL ME *</pattern>
<template><srai><star index="2"/></srai></template>
</category>

You need to tell it to pick up the second star rather than the underline,
otherwise your query "empty, tell me are you seeing anyone else" will try to
srai to "empty" instead of your query. Hence the "I have no answer" reply.

Regards
- Steve Worswick
http://www.mitsuku.com

> Message: 1
> Date: Fri, 10 Nov 2006 09:25:29 -0800 (PST)
> From: Tony Bundy <coramo_r at yahoo.com>
> Subject: [pandorabots-general] Recursion trouble
> To: pandorabots-general at list.pandorabots.com
> Message-ID: <20061110172529.71275.qmail at web53701.mail.yahoo.com>
> Content-Type: text/plain; charset=ascii
>
> I am trying learning how to effectively use all the methods available with
AIML. I have been going through the tutorial examples at
http://www.pandorabots.com/pandora/pics/aimless/tutorial.htm
> The problem I have is with one of the last examples. It mentions being
able to do some recursive catches, but one of the catches doesn't seem to
occur. I am using an empty bot profile and only the following AIML
>
> <?xml version="1.0" encoding="UTF-8"?>
> <aiml version="1.0">
>
>
> <category>
> <pattern>ARE YOU SEEING ANYONE ELSE</pattern>
> <template>Everyone I run into is either someone I've already seen or
someone I am going to see in the future</template>
> </category>
>
> <category>
> <pattern>YOU ARE SEEING ANYONE ELSE</pattern>
> <template>Everyone I run into is either someone I've already seen or
someone I am going to see in the future</template>
> </category>
> <category>
> <pattern>Empty *</pattern>
> <template>
> <srai><star/></srai>
> </template>
> </category>
>
> <category>
> <pattern>_ TELL ME *</pattern>
> <template><sr/></template>
> </category>
> <category>
> <pattern>_ TELL ME IF*</pattern>
> <template>
> <srai><star/></srai>
> </template>
> </category>
>
> </aiml>
>
> When I enter "empty, tell me are you seeing anyone else" it does get
caught by the _ TELL ME * pattern, but the recursive search fails to pick up
on "are you seeing anyone else"
>
> I have tested that "Empy, are you seeing anyone else" and "are you seeing
anyone else" both return properly.
> Am I doing something wrong?
>
> || Training interface gives me.
> \/
>
> Human: empty, tell me are you seeing anyone else
> Matched: _ tell me *   (category defined in update.aiml)
>
> Dufus: I have no answer for that.
>
>
> ------------------------------
>
> _______________________________________________
> pandorabots-general mailing list
> pandorabots-general at list.pandorabots.com
> http://list.pandorabots.com/mailman/listinfo/pandorabots-general
>
>
> End of pandorabots-general Digest, Vol 33, Issue 2
> **************************************************
>



------------------------------

_______________________________________________
pandorabots-general mailing list
pandorabots-general at list.pandorabots.com
http://list.pandorabots.com/mailman/listinfo/pandorabots-general


End of pandorabots-general Digest, Vol 33, Issue 3
**************************************************




More information about the pandorabots-general mailing list