The training tag reloads the specified AIML files. For example, if a developer changes some AIML files while chatterbot is running, the developer may say that chatterbot is reloading. Files will be reloaded only if you have this line:
<category> <pattern>RELOAD AIML FILES</pattern> <template> Okay. <think> <learn>./aiml/*.aiml</learn> </think> </template> </category>
A bot can be created to reload specific AIML files, all files, or a set of AIML files. A training tag is usually placed inside thought tags.
user1744127
source share