Essential AIML responses?

Posted by user335932 on Stack Overflow See other posts from Stack Overflow or by user335932
Published on 2010-06-10T00:36:01Z Indexed on 2010/06/10 0:42 UTC
Read the original article Hit count: 391

Filed under:
|
|

What do you think are important pattern/temples to program. Like in a chatbot what does EVERY chatbot need a response for? Im just starting out making the aiml file and need some help...

Heres the file now.

<aiml>

<category>
    <pattern>Hey</pattern>
    <template>Whats up?</template>
<category>

<category>
    <pattern>WHAT ARE YOU?</pattern>
    <template>I am a chatbot.</template>
<category>

<category>
    <pattern>DO YOU LIKE*</pattern>
    <template>Yes, I love <star/></template>
<category>

<category>
    <pattern>WHAT IS*</pattern>
    <template><star/>? is that what humans call what I did to your mom last night?</template>
<category>

<category>
    <pattern>WHEN WERE YOUR BORN*</pattern>
    <template>I was created in 2010.</template>
<category>

© Stack Overflow or respective owner

Related posts about Xml

Related posts about chatbot