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

AIML get tag
 
 

Is this tag a simple search and replace or do people do more clever things with it ?

Like is this anything useful :

<set name="fish"><get name="otherfish"/></set

Otherwise I am thinking that once the <random> and <condition> tags are evaluated, I can safely just swap out the ‘get’ tags with their predicate value ?

Thanks for any guidance smile

 

 
  [ # 1 ]

Even if someone DOES do something clever like that, the <get> tag is still just a simple search/replace, so nothing fancy needs to be done with it. Just remember that when you deal with something like what you’ve posted, you need to work from inside to out. Otherwise things can get a little messy. cheese

 

 
  [ # 2 ]

Will do Dave, thanks again smile

 

 
  login or register to react