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

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