Extended AIML
From Jason Shankel's Wiki
Line 11: | Line 11: | ||
</category> | </category> | ||
− | #pattern is a pattern for a human input. For example "I LIKE *" would be a pattern corresponding to human sentences such as "I LIKE BEANS" and "I LIKE MUSIC." | + | '#pattern' is a pattern for a human input. For example "I LIKE *" would be a pattern corresponding to human sentences such as "I LIKE BEANS" and "I LIKE MUSIC." |
#template is a set of instructions for producing a response. The most basic template form is just literal text like "ME TOO" or "NOT ON YOUR LIFE." There are also a number of subtags that can be used in <template> to generate text programmatically. You can find a complete specification for the standard [http://www.alicebot.org/documentation/ here.] | #template is a set of instructions for producing a response. The most basic template form is just literal text like "ME TOO" or "NOT ON YOUR LIFE." There are also a number of subtags that can be used in <template> to generate text programmatically. You can find a complete specification for the standard [http://www.alicebot.org/documentation/ here.] |