{"id":911,"date":"2021-09-21T20:52:06","date_gmt":"2021-09-21T20:52:06","guid":{"rendered":"https:\/\/salarydistribution.com\/machine-learning\/2021\/09\/21\/enhance-customer-helpdesks-with-smart-document-understanding-using-the-watson-assistant-search-skill\/"},"modified":"2021-09-21T20:52:06","modified_gmt":"2021-09-21T20:52:06","slug":"enhance-customer-helpdesks-with-smart-document-understanding-using-the-watson-assistant-search-skill","status":"publish","type":"post","link":"https:\/\/salarydistribution.com\/machine-learning\/2021\/09\/21\/enhance-customer-helpdesks-with-smart-document-understanding-using-the-watson-assistant-search-skill\/","title":{"rendered":"Enhance customer helpdesks with Smart Document Understanding using the Watson Assistant search skill"},"content":{"rendered":"<div id=\"\">\n            <!-- begin main body content --><\/p>\n<h2 id=\"summary\">Summary<\/h2>\n<p>In this developer code pattern, we use the typical customer care chatbot experience, but instead of relying on predefined responses the dialog provides a hook that can call out to other IBM\u00ae Watson\u2122 services for additional sources of information. In this case, it\u2019s an owners manual that has been uploaded to Watson Discovery.<\/p>\n<blockquote>\n<p>NOTE: This code pattern includes instructions for accessing Watson services running on both <a href=\"https:\/\/www.ibm.com\/cloud\" target=\"_blank\" rel=\"noopener noreferrer\">IBM Cloud<\/a> and on <a href=\"https:\/\/www.ibm.com\/products\/cloud-pak-for-data\" target=\"_blank\" rel=\"noopener noreferrer\">IBM Cloud Pak for Data<\/a>.<\/p>\n<\/blockquote>\n<h2 id=\"description\">Description<\/h2>\n<p>The typical customer care chatbot can answer simple questions, such as store locations, hours, and directions, and maybe even make appointments. When a question falls outside of the scope of the pre-determined question set, the option is typically to tell the customer that the question isn\u2019t valid or offer to speak to a real person.<\/p>\n<p>In this code pattern, we provide another option. If the customer question is about the operation of a device, we use the search skill feature of Watson Assistant to pass the question on to the Watson Discovery service, which has been pre-loaded with the device\u2019s owners manual. So now, instead of \u201cWould you like to speak to a customer representative?,\u201d we can return relevant sections of the owners manual to help solve the customers\u2019 problems.<\/p>\n<p>To take it a step further, we use the Smart Document Understanding feature of Watson Discovery to train it on what text in the owners manual is important and what is not. This improves the answers returned from the queries.<\/p>\n<p>In summary, this code pattern will:<\/p>\n<ul>\n<li>Create a customer care dialog skill in Watson Assistant<\/li>\n<li>Use Smart Document Understanding to build an enhanced Watson Discovery collection<\/li>\n<li>Create a Watson Assistant search skill that allows the Assistant dialog to post queries to Watson Discovery<\/li>\n<\/ul>\n<h2 id=\"flow\">Flow<\/h2>\n<p><img class=\"lazycontent\" data-src=\"https:\/\/developer.ibm.com\/developer\/default\/patterns\/enhance-customer-helpdesk-with-smart-document-understanding-using-search-skill\/images\/enhance-customer-helpdesks-smart-document-understanding-assistant-search-skill.png\" alt=\"SDU with Search Skill flow\"><\/p>\n<ol>\n<li>The document is annotated by using Watson Discovery SDU.<\/li>\n<li>The user interacts with the back-end server through the app UI. The front-end app UI is a chatbot that engages the user in a conversation.<\/li>\n<li>Dialog between the user and back-end server is coordinated using a Watson Assistant dialog skill.<\/li>\n<li>If the user asks a product operation question, a search query is issued to the Watson Discovery service through a Watson Assistant search skill.<\/li>\n<\/ol>\n<h2 id=\"instructions\">Instructions<\/h2>\n<p>Find the detailed instructions in the <a href=\"https:\/\/github.com\/IBM\/watson-assistant-with-search-skill\/blob\/master\/README.md\" target=\"_blank\" rel=\"noopener noreferrer\">Readme<\/a> file. These steps will explain how to:<\/p>\n<ol>\n<li>Clone the repository.<\/li>\n<li>Create Watson services.<\/li>\n<li>Configure Watson Discovery.<\/li>\n<li>Configure the Watson Assistant service.<\/li>\n<li>Add Watson service credentials to the environment file.<\/li>\n<li>Run the application.<\/li>\n<\/ol><\/div>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/developer.ibm.com\/patterns\/enhance-customer-helpdesk-with-smart-document-understanding-using-search-skill\/<\/p>\n","protected":false},"author":0,"featured_media":912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/911"}],"collection":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/comments?post=911"}],"version-history":[{"count":0,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/911\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media\/912"}],"wp:attachment":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media?parent=911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/categories?post=911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/tags?post=911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}