AIML issues

  • 2 Replies
  • 2028 Views
*

Niko

  • Roomba
  • *
  • 1
AIML issues
« on: September 07, 2017, 08:22:55 am »
I recently started a project working with AIML and have gotten into some issues. My bot is supposed to ask a few questions that would give a yes/no reply. However, it's not functioning the way I want it to.
This is the section I'm having issues with:


<category>
   <pattern>SURPRISE ME</pattern>
   <template>Think of a number between 1 and 100. Got it?</template>
</category>
<category>
   <pattern>*</pattern><that>Think of a number between 1 and 100. Got it?</that>
   <template> <think> <set name="Decision"><star/></set> </think> <condition name="Decision"> <li value="YES"> 1   3   5   7   9  11  13  15  17  19
           21  23  25  27  29  31  33  35  37  39
           41  43  45  47  49  51  53  55  57  59
           61  63  65  67  69  71  73  75  77  79
           81  83  85  87  89  91  93  95  97  99: Is your number within this set?</li> <li value="No">Nevermind then</li> </condition> </template>
</category>
<category>
   <pattern>*</pattern> <that> 1   3   5   7   9  11  13  15  17  19
           21  23  25  27  29  31  33  35  37  39
           41  43  45  47  49  51  53  55  57  59
           61  63  65  67  69  71  73  75  77  79
           81  83  85  87  89  91  93  95  97  99: Is your number within this set?</that>
   <template> <think><set name="Decision"><star/></set></think> <condition name="Decision"> <li value="YES"> 2   3   6   7  10  11  14  15  18  19
           22  23  26  27  30  31  34  35  38  39
           42  43  46  47  50  51  54  55  58  59
           62  63  66  67  70  71  74  75  78  79
           82  83  86  87  90  91  94  95  98  99: Is your number within this set?</li> <li value="NO"> 2   3   6   7  10  11  14  15  18  19
           22  23  26  27  30  31  34  35  38  39
           42  43  46  47  50  51  54  55  58  59
           62  63  66  67  70  71  74  75  78  79
           82  83  86  87  90  91  94  95  98  99: Is your number within this set?</li> </condition> </template>
</category>


I was using GaitoBot to test the bots responses and on the last category I don't seem to get a response. Any help would be greatly appreciated :)

Also, if anyone knows a better program to test the bot I would love to hear that as well. GaitoBot has been quite frustrating, as it shows errors even when the code is fine.

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: AIML issues
« Reply #1 on: September 07, 2017, 12:39:15 pm »
Welcome Niko!

Not sure why you're experiencing issues with this but hopefully some others will chime in.

BTW, for those interested in Gaitobot, here is a link: https://www.gaitobot.de/gaitobot/Default.aspx
In the world of AI, it's the thought that counts!

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 867
  • It's Hip to be Square
Re: AIML issues
« Reply #2 on: September 07, 2017, 09:45:55 pm »
It's because you have punctuation in your <that> tags. No punctuation allowed.
If you can't solve it, let me get the Loebner Prize out of the way on 16th September and I'll help further.
Feeling Chatty?
www.mitsuku.com

 


OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am
Nvidia Hype
by 8pla.net (AI News )
December 06, 2023, 10:04:52 pm
How will the OpenAI CEO being Fired affect ChatGPT?
by 8pla.net (AI News )
December 06, 2023, 09:54:25 pm
Independent AI sovereignties
by WriterOfMinds (AI News )
November 08, 2023, 04:51:21 am
LLaMA2 Meta's chatbot released
by 8pla.net (AI News )
October 18, 2023, 11:41:21 pm

Users Online

184 Guests, 0 Users

Most Online Today: 236. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles