Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Example: an AIML template with customized tags
The following script is an excerpt from an out-of-box AIML configuration template, which consists of customized tags that are specific for Service Manager:
<SMJS> <JSCALL> lib.EndUserChatBotIDOLSearch.IDOLSearch </JSCALL> <JSPARAMS> <JSPARAM name="smLoginUser"><get name="smLoginUser"/></JSPARAM> <JSPARAM name="smBotId"><get name="smBotId"/></JSPARAM> <JSPARAM name="problemDesc"><get name="problemDesc"/></JSPARAM> </JSPARAMS> </SMJS>
Refer to the following table for detailed descriptions about the tags:
Tag | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
<SMJS> | Indicates that the system invokes a Service Manager JavaScript and returns the executed value of this Javascript to a end user as the real response. | ||||||||
<JSCALL> |
Indicates the Service Manager JavaScript to be invoked. The format is The sample JavaScript is function IDOLSearch(){ //Get parameters //by using arguments[0][parameter name specified in <JSPARAM>] var endUserLoginName=arguments[0]['smLoginUser']; var botId=arguments[0]['smBotId']; var content=arguments[0]['problemDesc']; ... ... return {\"predicates\": {\"BOTCUSTPREDICATE_SMIDOLSEARCH1\":\"BOTCUSTPREDICATE1: Install Lync Mobile\", \"BOTCUSTPREDICATE_SMIDOLSEARCH2\":\"BOTCUSTPREDICATE2: New Employee Bundle\", \"BOTCUSTPREDICATE_SMIDOLSEARCH3\":\"BOTCUSTPREDICATE3: Email Configuration\" } }; } In the
|
||||||||
<JSPARAMS> | Indicates the parameters that the JavaScript required. | ||||||||
<JSPARAM> | Specifies the parameter name and value. |