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

how do I delete a predicate?
 
 

How do I delete a predicate (versus setting it blank?)

I tried the following

<set><name>my_predicate</name></set

This only resulted in it being blank.

 

 
  [ # 1 ]

I would guess the <name> tag is a readonly since its calling from the bots personal data.

Does <set_name name=“my_predicate”></set_name> work?

 

 
  [ # 2 ]

You can only blank it out and not delete it. Your code should check for blank values.
This code will blank it out.


<set name=“variable”></set>

If you insist on deleting them, the only other way is to wait 40 minutes, as the server will do this for you after a period of inactivity.

 

 
  [ # 3 ]

Hi and welcome, Joshua! smile

To answer your question, that depends on which chatbot engine you’re using. I don’t know if Pandorabots still supports the older AIML tags, but Program O does not, so <set_name> does not work. As for other AIML interpreters, I haven’t the foggiest of notions. downer

 

 
  [ # 4 ]

I don’t think <set_name> works on Pandorabots any more either. It’s just “set” now.

 

 
  login or register to react