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

question about multiple inputs using same output
 
 

Is there a way to change these multiple patterns to call a single output?

u: (I have a drug problem) I understand.  You struggle with drug addiction.
u: (I am {hooked} on drugs) I understand.  You struggle with drug addiction.
u: (I have a problem with drugs) I understand.  You struggle with drug addiction.
u: (I am a drug addict) I understand.  You struggle with drug addiction.

thanks in advance to bruce for answering so many questions.

 

 
  [ # 1 ]

two ways…


u: ADDICT (I have a drug problem) I understand.  You struggle with drug addiction.
u: (I am {hooked} on drugs) ^reuse(ADDICT)

the above is std.

u: ( [ (I have a drug problem)  (I am {hooked} on drugs) ...]) I understand.

 

 
  login or register to react