Configuring AIML options
BMC Virtual Chat uses Program D to assist with artificial intelligence processing. Program D allows for additional optional parameters to be specified in the Artificial Intelligence Markup Language (AIML) file.
Program D AIML files can contain the following options:
- Auto Open URL: Use this option around an anchor tag to tell the virtual agent to open the specified URL. For example:
<span class='autoopenurl'> Anchor Tag </span> Knowledge Base Path: Use the anchor tag to create a link to a knowledge base article. For example:
<a href=<bot name="kbpath">/rkm?doc=555>KB Doc</a>- Users Screen Name: You can insert the user's screen name (as defined in the User Preference Form) anywhere within an AIML response. Add the [FIELD:SCREENNAME] parameter into the Program D AIML response wherever you want the user name to appear. The brackets are required and the screen name parameter is case sensitive. For example:
<category>
<pattern>BYE</pattern>
<template>Goodbye [FIELD:SCREENNAME]. I hope I was able to help you. Please click "Close Out Question" at the bottom right of this window or click "Exit" to exit completely.
</template>
</category>
<pattern>BYE</pattern>
<template>Goodbye [FIELD:SCREENNAME]. I hope I was able to help you. Please click "Close Out Question" at the bottom right of this window or click "Exit" to exit completely.
</template>
</category>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*