Dealing With Compound User Intents In IBM Watson Assistant

Your Assistant Must Be Able To Respond to Multiple Intents In User Utterances

Introduction

Image for post
Image for post
More Complex Entity Detection with Linked Entities

A Simple Approach Using IBM Watson Assistant

Image for post
Image for post
Always Wait for Watson To Complete Training Prior To Testing
Image for post
Image for post
IBM Watson Assistant: Defining Intents & User Examples

Our Approach

Image for post
Image for post
Confidence Rating With Decimal Percentages

Dialog Configuration For Multiple Intents

The Dialog Structure

Image for post
Image for post
Complete Dialog Structure

Setting The Threshold

Image for post
Image for post
Setting the Confidence Threshold

Getting The Intent Values

“<? intents.filter(‘intent’, ‘intent.confidence >= $confidence_threshold’) ?>”
“<? intents.get(0).intent ?>”
“<? intents.get(1).intent ?>”
Image for post
Image for post
Three Context Variables Are Defined And Values Set

Dialog Decision

Image for post
Image for post
If The Assistant Recognizes These Two Intents The Dialog Is Visited

Testing Our Prototype

Image for post
Image for post
Testing Our Prototype In The Test Pane

Conclusion

Written by

NLP/NLU, Chatbots, Voice, Conversational UI/UX, CX Designer, Developer, Ubiquitous User Interfaces. www.cobusgreyling.me

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store