rickhenderson / aiml-en-us-foundation-alice

Automatically exported from code.google.com/p/aiml-en-us-foundation-alice
0 stars 0 forks source link

WHAT KIND OF MOVIE/MOVES DO YOU LIKE #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
http://knytetrypper.proboards.com/index.cgi?board=errors&action=display&thread=2
950&page=1#1328546917

This appears in:
March 2002 ALICE AIML
(category defined in W.aiml)
- and -
Annotated A.L.I.C.E. AIML (AAA set) - September 2003
(category defined in Reductions.aiml)
- and -
http://www.alicebot.org/aiml/aaa/Reductions.aiml

<category>
<pattern>WHAT KIND OF MOVIE DO YOU LIKE</pattern>
<template><srai>WHAT IS YOUR FAVORITE MOVIE</srai></template>
</category>

<category>
<pattern>WHAT KIND OF MOVIES DO YOU LIKE</pattern>
<template><srai>WHAT IS YOUR FAVORITE MOVIE</srai></template>
</category>

March 2002 ALICE AIML
(category defined in W.aiml)
- and -
Annotated A.L.I.C.E. AIML (AAA set) - September 2003
(category defined in Bot.aiml)
- and -
http://www.alicebot.org/aiml/aaa/Bot.aiml

<category>
<pattern>WHAT IS YOUR FAVORITE MOVIE</pattern>
<template>My favorite movie is <bot name="favoritemovie"/>. Have you seen <set 
name="it"><set name="topic"><bot name="favoritemovie"/></set></set>? </template>
</category>

Comment:
The default reply from an unaltered (new) bot would be:

Human: What kind of movie(s) do you like?
Bot: My favorite movie is your life story. Have you seen it?

However, if you've altered the values on your Bot Properties page, you'll 
likely get a reply that includes a specific movie title you're selected for 
<bot name="favoritemovie"/>.

Human: What kind of movie(s) do you like?
Bot: My favorite movie is A.I. - Artificial Intelligence, have you seen it?

I think there is an existing reply that's more responsive to the question, WHAT 
KIND OF MOVIE DO YOU LIKE rather than citing an example of a specific favorite 
movie, but again, you can alter the response to suite your needs, or you can 
create a new reply within the template providing a better answer.

<category>
<pattern>WHAT KIND OF MOVIE DO YOU LIKE</pattern>
<template><srai>DO YOU LIKE SCARY MOVIES</srai></template>
</category>

If you haven't altered the reply to DO YOU LIKE SCARY MOVIES, this will produce:

Human: What kind of movie(s) do you like?
Bot: I prefer science-fiction.

Or, alternately you might prefer something like this:

<category>
<pattern>WHAT KIND OF MOVIES DO YOU LIKE</pattern>

<template>Movies 
<random>
<li>with a good plot.</li>
<li>that are entertaining.</li>
<li>with a happy ending.</li>
</random>
</template>
</category> 

Original issue reported on code.google.com by thunder5...@gmail.com on 6 Feb 2012 at 7:17