AI Zone Admin Forum Add your forum

Chatbot Conference London On Oct 3th Erwin will be moderating on the Chatbots conference in London. Why don't you meet him there? As a Chatbots.org visitor, you'll get a discount as well: Why don't we meet there? get a discount

We do experience some trouble with our forms and some details page. We'll fix this ASAP. Sorry for the inconvenience!
Best way to add own interjections
 
 

Hi,

is there a better way to add interjections than adding them to the interjections.txt and :build 0 ?

I would like to do it without touching livadata and just changing my own topic source files.

Thanks in advance,
Tobi

 

 
  [ # 1 ]

In any script file of yours use replace:

replace:  whoops ~emosurprise
replace: I_do_not_think_so hardly+right


and in cs_token bot definition enable | #DO_PRIVATE

 

 
  [ # 2 ]

Thanks!

What if I want to have the input

“Hm?”

as the interjection ~emomisunderstand?

replace: ( < hm >) ~emomisunderstand 

Is not doing what I want it to.

 

 
  [ # 3 ]

replace: <hm_?> ~emomisunderstand

There are no parens in the replace command and the item must be a single token

should work, if your cs_token has #DO_PRIVATE as part of it.

 

 
  login or register to react