AIML issues

  • 2 Replies
  • 2278 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
  • *
  • 869
  • 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

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
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

Users Online

426 Guests, 0 Users

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

Articles