This documentation supports the 20.08 version of Live Chat. To view an earlier version, select the version from the Product version menu.

Sample AIML file


The following Artificial Intelligence Markup Language (AIML) code shows the required AIML header elements, followed by a category section. In the first category, the pattern or question relates to archiving in Microsoft Outlook and the template or answer includes a link to a Microsoft tutorial on Outlook. The second category uses wildcard characters in the pattern element to help match a user's question. An underscore (_) represents a single character, and an asterisk (*) represents more than one character.


<?xml version="1.0" encoding="iso-8859-1"?>
<aiml>
<category>
 <pattern>how do i use the archiving feature in Outlook</pattern>
 <template>Please click on this link to launch the online tutorial for Outlook Archiving.
  <a target='_blank' href='http://office.microsoft.com/training/training.aspx?AssetID=RC102388191033'>Archiving Tutorial</a>
 </template>
</category>
</category>
<category>
 <pattern>_ recycle bin appear _ desktop</pattern>
 <template>Please click on this link to make recycle bin appear on your desktop.
   <a target='_blank' href='http://go.microsoft.com/?linkid=9643543'>Recycle Bin Appear </a>   </template>
</category>
</aiml>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*