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

resetting gambits for a topic
 
 

Is there a way to detect and reset all the gambits for a topic? I’ve been wondering about this for a while. Thanks

 

 
  [ # 1 ]

yes, in various ways, depending on what you are trying to do.
You can reset ALL rules in a topic via ^reset(TOPIC ~topic)
You can reset individual rules via ^enable(RULE ruleid)  - ruleid can be a rule label or a full rule identifier.
You can get data on a rule using ^getrule, so you could walk the topic rule by rule with slightly clever code.
This includes detecting if the rule is USABLE or not.

 

 
  [ # 2 ]

Great, thank you!

 

 
  login or register to react