Chat Bot
ASM Self Service has a virtual analyst/chatbot capability that allows customers to interact with the bot before deciding the next course of action.
Last updated
ASM Self Service has a virtual analyst/chatbot capability that allows customers to interact with the bot before deciding the next course of action.
Last updated
i.e. Did the bot resolve their issue or do they need to seek further advice from an analyst through a chat session or direct through a ticket form? Any transcripts through the bot or through analyst chat sessions are fully written to incident records.
In order to set up the Chat Bot Service, first you will need to connect to the Microsoft Azure Portal and then publish the Knowledge Base.
Available in HERMES (ASM version 10.6) and higher.
You’re going to see 2 parts for the configuration process: ASM Configuration and Azure Language Studio Configuration.
Using the Azure Portal, create a new Language Service resource and a Search Service Resource
When creating the new Language resource, from the Custom feature list, select the Custom question answering.
![Graphical user interface, application
Description automatically generated](<../../../../.gitbook/assets/3 (3)>)
Add details related to your Azure Tenant subscription, resource group, resource name, location and pricing tier.
![Graphical user interface, text
Description automatically generated](<../../../../.gitbook/assets/4 (5)>)
Create the TextAnalystics by selecting the Project Details, the Instance details and the pricing tier.
You will need to follow the same steps when creating the Search Service Resource by selecting the Subscription, the Resource group and completing the Instance details like the Service Name, Location and Pricing tier.
Using the Azure Portal, log in to Language Studio and select the configured Language Service and Azure search resource.
![Graphical user interface, text, application, email
Description automatically generated](<../../../../.gitbook/assets/9 (2)>)
Enter the basic information for your custom question answering knowledge base such as name and description, default answer when no answer is returned:
Go to Manage sources and add a Chitchat source or any other files from the list:
![Graphical user interface, text, application, email
Description automatically generated](<../../../../.gitbook/assets/12 (2)>)
After the knowledge base has been deployed, gather connection information for integration with ASM. Click on Get prediction URL and get the following values that will need to be added to ASM:
Host URL
Ocp-Apim-Subscription-Key
Project Name
Deployment name
Enable Chatbots in ASM via the Preview Features section in System Administration so that Chatbot settings will appear in the Admin Explorer Menu
Check the Knowledge Bank to make sure the Entry Status, Status and that all the fields contain the information needed for any article that is flagged with a status that is available to the portal.
See also:
For the ASM configuration, start by customizing:
The Setting Name
The Bot Name
The Welcome Message
Choose options from the list for the Call template, Closure reason for the chatbot call, Question and Answer fields (where the question/answer is stored on the Knowledge Article)
Also, make sure to configure the Chatbot Inactivity limit: if the chatbot session will be inactive for a X amount of time (min), it will close the session and will submit a Call linked to that session and it will also append the chat history to that Call with this information.
Connect ASM to the Azure Language Studio Service by filling the fields on the Chatbot Settings page. All fields are required.
The Language Studio values retrieved in a previous step from the prediction URL need to be entered on this page.
Click Save.
ASM will be connected to Language Studio after are the fields are filled and the configuration is saved in ASM. Once saved you can then export the knowledge articles to Language Studio by pressing the Export button.
Details regarding the export will be provided in a list below.
Review the list for any errors and take appropriate action when required. Once the errors are resolved, you can retry the export by clicking on the "Retry all failed” button.
Before you do the knowledge export, check the Knowledge Bank to make sure the Entry Status, Status and that all the fields contain the information needed. Make sure that all the knowledge you want to export is “Published” and active.
Knowledge articles are imported into Language Studio where they will get updated automatically from ASM. Once the connector is set up, changes and updates in knowledge in ASM will be pushed through Language Studio.
A “Chatbot Status Widget” has also be added to the knowledge info panel via the screen designer to track the synchronization status.
The knowledge synchronization can also be tracked via the knowledge article. An explorer option “Chatbot Sync” is present.
Knowledge articles are imported into Language Studio where they will get updated automatically from ASM. Once the connector is set up, changes and updates in knowledge in ASM will be pushed through Language Studio.
You can add Chat Bot Sync information to the information panel of your knowledge articles in Screen Designer:
The knowledge synchronization can also be tracked via the knowledge article.