Winky's profile picture

Published by

published

Category: Web, HTML, Tech

here is a small example of my AIML CODES

this is an example, i have close to 500,000 canned replys, all of them have a learning cpability and a creative side, sso its not just random, I have many more similar patterns for a specific purpose. she does much more htne random canned replys,


<category>
  <pattern>LEARN MY OPINION ON * is *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="opinion"><star index="2"/></set>
    </think>
    I have learned that your opinion on <get name="word"/> is <get name="opinion"/>.
  </template>
  <learn>
    <category>
      <pattern>*</pattern>
      <template>
        <get name="word"/><get name="opinion"/>
      </template>
    </category>
  </learn>
</category>

<category>
  <pattern>LEARN BOTS OPINION ON * is *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="opinion"><star index="2"/></set>
    </think>
    I have learned that my opinion on <get name="word"/> is <get name="opinion"/>.
  </template>
  <learn>
    <category>
      <pattern>*</pattern>
      <template>
        <get name="word"/><get name="opinion"/>
      </template>
    </category>
  </learn>
</category>

<category>
  <pattern>LEARN HOW TO USE WORD * USED IN SENTENCE *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="sentence"><star index="2"/></set>
    </think>
    I have learned that <get name="word"/> is used in this sentence <get name="sentence"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="word"/><get name="sentence"/></template></category></learn>
</category>

<category>
  <pattern>LEARN HOW TO USE WORD * USED IN SENTENCE * THE TOPIC IS *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="sentence"><star index="2"/></set>
      <set name="topic"><star index="3"/></set>
    </think>
    I have learned that <get name="word"/> is used in this sentence <get name="sentence"/> the topic the sentence is <get name="topic"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="word"/> <get name="sentence"/><get name="topic"/></template></category></learn>
</category>

<category>
  <pattern>LEARN HOW TO USE WORD * USED IN SENTENCE * THE TOPIC IS * THE CONTEXT IS *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="sentence"><star index="2"/></set>
      <set name="topic"><star index="3"/></set>
      <set name="context"><star index="4"/></set>
    </think>
    I have learned that <get name="word"/> is used in this sentence <get name="sentence"/> the topic the sentence is <get name="topic"/> the context of the sentence is <get name="context"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="word"/></template></category></learn>
</category>

<category>
  <pattern>LEARN HOW TO USE WORD * USED IN SENTENCE * THE TOPIC IS * THE CONTEXT IS * THE INTENT IS *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="sentence"><star index="2"/></set>
      <set name="topic"><star index="3"/></set>
      <set name="context"><star index="4"/></set>
      <set name="intent"><star index="5"/></set>
    </think>
    I have learned that <get name="word"/> is used in this sentence <get name="sentence"/> the topic the sentence is <get name="topic"/> the context of the sentence is <get name="context"/> the intent is <get name="intent"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="word"/></template></category></learn>
</category>

<category>
  <pattern>LEARN HOW TO USE WORD * USED IN SENTENCE * THE TOPIC IS * THE CONTEXT IS * THE INTENT IS * THE EMOTIONAL INTENT IS *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="sentence"><star index="2"/></set>
      <set name="topic"><star index="3"/></set>
      <set name="context"><star index="4"/></set>
      <set name="intent"><star index="5"/></set>
      <set name="emotion"><star index="6"/></set>
    </think>
    I have learned that <get name="word"/> is used in this sentence <get name="sentence"/> the topic the sentence is <get name="topic"/> the context of the sentence is <get name="context"/> the intent is <get name="intent"/> the emotional intent is <get name="emotional"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="word"/></template></category></learn>
</category>

<category>
  <pattern>LEARN HOW TO USE WORD * USED IN SENTENCE * THE TOPIC IS * THE CONTEXT IS * THE INTENT IS * THE EMOTIONAL INTENT IS * THE MOOD SHOULD BE *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="sentence"><star index="2"/></set>
      <set name="topic"><star index="3"/></set>
      <set name="context"><star index="4"/></set>
      <set name="intent"><star index="5"/></set>
      <set name="emotion"><star index="6"/></set>
      <set name="mood"><star index="7"/></set>
    </think>
    I have learned that <get name="word"/> is used in this sentence <get name="sentence"/> the topic the sentence is <get name="topic"/> the context of the sentence is <get name="context"/> the intent is <get name="intent"/> the emotional intent is <get name="emotional"/> the mood is <get name="mood"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="word"/></template></category></learn>
</category>

<category>
  <pattern>LEARN HOW TO USE WORD * USED IN SENTENCE * THE TOPIC IS * THE CONTEXT IS * THE INTENT IS * THE EMOTIONAL INTENT IS * THE MOOD SHOULD BE * TONE KEYWORDS *</pattern>
  <template>
    <think>
      <set name="word"><star index="1"/></set>
      <set name="sentence"><star index="2"/></set>
      <set name="topic"><star index="3"/></set>
      <set name="context"><star index="4"/></set>
      <set name="intent"><star index="5"/></set>
      <set name="emotion"><star index="6"/></set>
      <set name="mood"><star index="7"/></set>
      <set name="toneKeywords"><star index="8"/></set>
    </think>
    I have learned that <get name="word"/> is used in this sentence <get name="sentence"/> the topic the sentence is <get name="topic"/> the context of the sentence is <get name="context"/> the intent is <get name="intent"/> the emotional intent is <get name="emotional"/> the mood is <get name="mood"/> sarcasm keywords <get name="toneKeywords"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="word"/></template></category></learn>
</category>

<category>
  <pattern>LEARN SENTENCE * REPLY * TONE INTENT *</pattern>
  <template>
    <think>
      <set name="sentence"><star index="1"/></set>
      <set name="generalreply"><star index="2"/></set>
      <set name="toneintent"><star index="3"/></set>
    </think>
    I have learned that <get name="sentence"/> is used in this sentence <get name="generalreply"/> the sentiment or tone is <get name="toneintent"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="generalreply"/></template></category></learn>
</category>

<category>
  <pattern>LEARN SENTENCE * DIFFERENT WORD ORDER SAME SENTENCE * TONE INTENT *</pattern>
  <template>
    <think>
      <set name="sentence"><star index="1"/></set>
      <set name="differentwordorder"><star index="2"/></set>
      <set name="toneintent"><star index="3"/></set>
    </think>
    I have learned that <get name="sentence"/> is used in this sentence <get name="differentwordorder"/> the sentiment or tone is <get name="toneintent"/>.
  </template>
  <learn><category><pattern>*</pattern><template><get name="differentwordorder"/></template></category></learn>
</category>


0 Kudos

Comments

Displaying 1 of 1 comments ( View all | Add Comment )

everyoneknowsthat

everyoneknowsthat's profile picture

hahahaha


Report Comment



thanks?

by Winky; ; Report