A template response is one that contains code in addition to text. The code is defined in the Bot Libre Self scripting language.
You can add a template response from the "Training & Chat Logs" page. You can even use a template response in a correction or learning response.
User: Whom do you love?
Bot:Template("I love {#self.love}")
or,
User: What is the hour?
Bot:Template("The current hour is {Date.time().hour}")
You can also program more sophisticated responses from the Scripts page.
You can also import AIML from either the Chat Logs page, or the Scripts page.
|