This documentation supports the 25.1 version of BMC Helix Virtual Agent.To view an earlier version, select the version from the Product version menu.

Defining a knowledge search provider for chatbot


As an administrator you can specify a knowledge provider for a chatbot. If you have multiple chatbots, you can define a different provider for each chatbot. 

To learn about the support search providers and their benefits, see Search-providers.

Before you begin

Product

Action

(To use cognitive search in chatbot)

BMC Helix Innovation Suite

IBM Watson Discovery

(To use BMC Helix Knowledge Management search in chatbot)

BMC Helix Innovation Studio

If you do not want to include articles from BMC Helix ITSM: Knowledge Management

To add BMC Helix Digital Workplace Advanced client application credentials

If you want to include articles from BMC Helix ITSM: Knowledge Management

Configuring BMC Helix Knowledge Management by ComAround as a knowledge provider

To define BMC Helix Knowledge Management search

  1. Log in to BMC Helix Innovation Studio. 
  2. On the Workspace tab, select the BMC Helix Virtual Agent application or custom application for which you set up the chatbot instances. 
  3. Click the Chatbots tab and select the chatbot instance for which you want to configure the BMC Helix Knowledge Management search.
  4. On the Chatbot Configuration page, click the Search Settings tab. 
  5. From the list of locales, click the locale of the chatbot application in which you want to configure BMC Helix Knowledge Management search; for example, English.
  6. From the Provider list, select ComAround Knowledge.
  7. (Optional) From the Search filter list, select the relevant search filter. For more information, see Creating search filters for BMC applications.

  8. Click Save.

The following image shows how to define BMC Helix Knowledge Management search: 

22.1.06_search filter.png


You have defined BMC Helix Knowledge Management by ComAround as the default search provider for the chatbot.

End users can view the knowledge articles as shown in the following image: 

enduser search source.png

To define cognitive search

  1. Log in to BMC Helix Innovation Studio. 
  2. On the Workspace tab, select the BMC Helix Virtual Agent application or custom application for which you set up the chatbot instances. 
  3. Click the Chatbots tab and select the chatbot instance for which you want to configure the cognitive search.
  4. On the Chatbot Configuration page, click the Search Settings tab. 
  5. From the list of locales, click the locale of the chatbot application in which you want to configure cognitive search; for example, English.
  6. On the Edit Bot Locale Search Settings page, set the following fields:
    1. In the Provider list, select Cognitive.
    2. In the Data Set field, select the external or BMC Helix Innovation Suite data sets or both that you want to include in the cognitive search.
    1. In the Passages Fields field, specify the passage text that you want to include in the cognitive search. You need to first configure the passage text in IBM Watson Discovery settings and add it to the chatbot. 
    2. Click Save.
  1. From the list of locales, select the locale for which you want to apply the display templates.

    upload_template.png

    The Display Template by Channel section displays two entries for each data set—one for the web channel and the other for the non-web channels.
  1. From the Display Template by Channel section, do the following:
    1. Select an entry in the Data Set column.
      In this example, Template for Internal DS_Calbro.
    2. Click Upload Template, and browse to the location where you saved the out-of-the-box templates. 
    3. Select the HTML template that you want to apply for displaying knowledge articles of the selected channel, and click Open.
    4. Repeat the preceding steps for the remaining channels in the Display Template by Channel section to complete the configuration for cognitive search.

Note

The Download Template option is not for downloading the original, out-of-the-box templates. This option only enables you to download and view the template already applied to a channel. If required, you can use this option to download an applied template, edit it, and then upload it.

You have defined cognitive search provider for the chatbot. The end users can view the knowledge articles as shown in the following image: 

articles displayed in cognitive search.png

To highlight keywords while searching for knowledge articles

As an administrator, you can configure BMC Helix Virtual Agent to highlight keywords when users are searching for knowledge articles. 

  1. Log in to BMC Helix Innovation Studio and navigate to the Administration tab.
  2. Select Cognitive and chatbot > Chatbots
  3. Select the chatbot instance for which you want to configure the cognitive search.
  4. On the Chatbot Configuration page, click the General Settings tab. 
  5. Turn on the Highlight Articles toggle key to highlight keywords in knowledge articles.

    22.1.05_Highlight articles.png
  1. Click Save.

Troubleshooting

After configuring cognitive search, if search results are not displayed as expected, use the following checklist to troubleshoot the issues:

Unable to view the search results or irrelevant search results are displayed

  • Check if the API key and the IBM Watson Assistant Skill ID is correct. 
  • Check if the IBM Watson Discovery service credentials are correct.
  • Check if the IBM Watson Discovery Collection IDs are correct.
  • Check if you have selected Cognitive as the Provider in the Bot Locale Search Settings.
  • Check if you have selected data sets in the Bot Locale Search Settings.
  • On the Chatbot Configuration page > Search Settings tab, check if you have uploaded the correct templates. 
  • If irrelevant search results are displayed, in IBM Watson Discovery, improve the search result relevance

 

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