Appendix
Using Advanced Alter Response - the Details
The first two rows in the table contain information about the input sentence and
the matching category.
- Input
-
Shows the input text that the robot received (as well as the current <that> and <topic> contexts).
- Matched
-
Shows the components of the category that matched the input.
Each of these two rows is split into three columns representing the three
different components that consitute an AIML category.
The rest of the table (labeled New AIML Category) allows you to edit the
various components of the new AIML category being defined. Defaults are
provided based on the actual input on the Training page and you can
either accept or revise these. (Note. You must check the appropriate
check-box first before entering values for <that> and <topic>.)
Text in the first box is automatically surrounded by <pattern> and </pattern> - so you need not enter them. You
may also specify <topic> and <that> parts of the category. Again the text
is surrounded by the <that> and <topic> AIML tags automatically.
The template response Box lets you specify the actions for the category
being defined. The buttons <think>, <random>, etc save you from
typing in the AIML. Also, anything in this box is automatically
surrounded by <template> and </template>.
There are five buttons below the template box which provide shortcuts for
writing the template:
They provide a rudimentary mechanism for exploring the categories that exist in
a given knowledge web. You can use this feature to find already existing
categories that will be matched by input patterns. It effectively allows you to
traverse the knowledge web. When you reach a category, the AIML
extract defining the category is shown.