tags:

views:

41

answers:

1

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>

+1  A: 

Well, I would sugest visiting these two websites:

http://aitools.org/Free_AIML_sets

AND

http://www.alicebot.org/aiml/aaa/

They have many .aiml files with TONS of categories that will definitely add knowledge to your bot.

ALSO, on your first line:

<pattern>Hey</pattern>. 

This is not correct. Remember, the pattern is always in CAPS! So do this:

<pattern>HEY</pattern>

This are also there are NO punctuations in AIML patterns.

Elijah W.