[alicebot-archcomm] [proposal] <get pattern=
Noel Bush
alicebot-archcomm@list.alicebot.org
Mon, 5 Nov 2001 10:20:33 +0300
> > <category>
> > <pattern>WHAT DO I LIKE</pattern>
> > <template>
> > You told me you like <get pattern="I LIKE *"><star/></get>.
> > </template>
> > </category>
> >
>
> I don't really get how this would be different than <srai>I LIKE
> <star/></srai>.
That's funny. Where would the <star/> come from in <srai>I LIKE
<star/></srai>, using the above example?
How it would be different is quite a bit. The notion is to be able to
retrieve pieces of a previously activated category, and to identify that
category by its path.
You could think of this as a better sort of <input index=""/>, <that
index=""/>. Whereas <input> or <that> with an index attribute just give
you access to a *numerically* identified *part* of a previous category,
this gives you access to a previous category that is identified by its
"meaning", in as close a way as AIML gets to describing "meaning".
> It looks like to me that you are trying to maybe use AIML as
> a database
I think that the concept of "database" is totally incongruent with AIML.
A database may exist in some implementation, but it ought to be
invisible from the point of view of the person using AIML. This has
nothing to do with a database.