IBM Watson Solutions for Machine Learning: Achieving Successful Results Across Computer Vision, Natural Language Processing and AI Projects Using Watson Cognitive Tools by Arindam Ganguly
Author:Arindam Ganguly [Ganguly, Arindam]
Language: eng
Format: epub, pdf
Publisher: BPB Publications
Published: 2021-07-15T00:00:00+00:00
Figure 4.27: Adding Slot Label and Value
Click on Save and you have your slots ready.
You can optionally add a response type after If no slots are pre-filled; ask this first, if you want to ask before you prompt.
Leave everything else as it is. Watson automatically saves whatever changes you make to a dialog on runtime dynamically.
Later, we will add a jump statement to jump to step 3 to ask the user to choose which preparation of Chicken or Burger is required based on the choice the user made on the Slot here (as decided in our conversation model). But for that, first we need to create the dialog node corresponding to step 3.
So, either add a node above #order node or add a node below the Welcome node by clicking on the three dots of #order node or Welcome node.
We will not add any slot here, as the user has already chosen between Chicken and Burger in the #order node.
Add the condition in the condition field as decided #order and @food_type. Here, and is the operator. But remember that we have stored the @food_type value in the context variable $food_type. So add another or operator and another condition $food_type. But then why do we even need @food_type. It is because if the user directly asks for an order along with the @food_type, we will need to capture that here as well. Finally, add a Text response asking the user to choose the particular preparation as shown in figure 4.28:
Download
IBM Watson Solutions for Machine Learning: Achieving Successful Results Across Computer Vision, Natural Language Processing and AI Projects Using Watson Cognitive Tools by Arindam Ganguly.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(22493)
Hello! Python by Anthony Briggs(21674)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(20241)
Dependency Injection in .NET by Mark Seemann(19605)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(19359)
Kotlin in Action by Dmitry Jemerov(19295)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(18810)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(17619)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16967)
Grails in Action by Glen Smith Peter Ledbrook(16766)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(14248)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(12222)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(10935)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10598)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(10052)
Hit Refresh by Satya Nadella(9118)
The Kubernetes Operator Framework Book by Michael Dame(8539)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8365)
Robo-Advisor with Python by Aki Ranin(8307)