AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Weird Changing token + retry + smiley bug
 
 

Hi,

It´s hard to explain why this bug bothers me and what I really want to do, so I will just provide you a simple example how to reprocude my error.

In the beginning of my script, I have the following token:

$cs_token #DO_INTERJECTION_SPLITTING  | #DO_SUBSTITUTE_SYSTEM   | #DO_NUMBER_MERGE | #DO_DATE_MERGE  | #DO_PROPERNAME_MERGE  | #DO_SPELLCHECK  | #DO_PARSE 

Then I have the default control script which processes every sentence with the following topic:

topic: ~introductions []
t
first sentence
u
: (_*) Input_0 ^keep() ^repeat() 
  if($
$first == null
  
{
   
$$first=no
   $cs_token 
0
   
^retry(SENTENCE
  

If you now build and start the bot,
you have it first saying

first sentence

, just to prevent my only rule from executing (which is poor written to make it simple, the bug reproduce so only works once after a :reset)

Now if you type in e.g.

Hi there :)

it will first print out

emohello

which looks fine.

But after the retry it prints

hi there unknown-word :) .

which I would expect to be

hi there :)

again.

I don´t know where the red marked signs come from.

hi there unknown-word :) .

Please let me know if you need any more information, hope my description helps.

 

 

 
  [ # 1 ]

There is a bug. I will fix it.

 

 
  login or register to react