Learn more >
Get the code
Watch the demo
by Rich Hagarty | Updated July 8, 2019 - Published June 27, 2019
This code pattern is part of the Watson Discovery learning path.
In this developer code pattern, we use the typical customer care chatbot experience but instead of relying on predefined responses, our dialog will provide a hook that can call out to other IBM Watson® services for additional sources of information. In our case, it will be an owners manual that has been uploaded into Watson Discovery.
The typical customer care chatbot can answer simple questions, such as store locations and hours, directions, and maybe even making appointments. When a question falls outside of the scope of the pre-determined question set, the option is typically to tell the customer the question isn’t valid or offer to speak to a real person.
In our code pattern, we will provide another option. If the customer question is about the operation of a device, we will use the webhook feature of Watson Assistant to pass the question onto our Watson Discovery Service, which has been pre-loaded with the device’s owners manual. So now, instead of “Would you like to speak to a customer representative?” we can return relevant sections of the owners manual to help solve our customers’ problems.
To take it a step further, we will 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 will improve the answers returned from the queries.
In summary, this code pattern will:
Ready to put this code pattern to use? Complete details on how to get started running and using this application are in the README.
This code pattern explained how to use the Smart Document Understanding feature of Watson Discovery to train your dialog to call out to other IBM Watson services for additional sources of information. The code pattern is the final part of the Learning Path: Getting started with Watson Discovery series. Congratulations! You should now have a fundamental understanding of Watson Discovery and some of its advanced features. But, if you want to learn more, take a look at the Watson Discovery features page.
October 10, 2019
The IBM Developer podcast is the place where developers hear all about open topics and technologies.
May 28, 2019
Back to top