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..

Nullify the Semicolon
 
 

When a visitor makes a statement or asks a question that includes two thoughts separated by a semicolon, the bot will respond with two distinct replies as though the semicolon had been a period.

Human:  My uncle came to visit us today; he brought lots of presents.

Bot:  What about your uncle came to visit us today
Bot:  Who are we talking about?

I know punctuation is coded at the server, but I’m looking for a “trick” to ignore the semicolon the way Steve taught me to ignore unnecessary words.

<category>
_ JUST *</pattern>

<template><srai><star> <star index=“2”></srai></template>
</category>

Any ideas?

 

 
  [ # 1 ]

The only real way to do that is by altering the startup.xml to remove the semicolon substitute (It’s the same place that converts “favourite” to “favorite” and so on).

Unfortunately, this option is not available on the Pandorabots free server. I can’t think of a way you could do that without pre-processing the input first and then passing it to Pandorabots.

 

 
  [ # 2 ]

Thanks, Steve.  I thought it might be worth the try, I’ve seen you and some others work magic before.  Maybe I’ll try the direct negation method.

It might not be a good idea to always change it, but it would be nice to have the option.

 

 
  login or register to react
‹‹ Why It Matters      What Does \r\n\r\n Mean? ››