Therefore, you need to think about how to create nodes and intents. It’s also possible that a client wants to know the cake menu after she/he chooses the pudding menu. Go back to the Dialog > create a new child node on the menu node, called “pudding menu” > condition: #menu> Assistant responds: We have chocolate puddings, vanilla puddings, and milk puddings > Add child node on the pudding menu, called “pudding finish” > condition is #alldesserts > Assistant responds: No problem! > Again, create a new child node on the menu node, called “cake menu” > you turn, it’s the same way to create conditions! Note Click Intents tab > Create Intent called “#alldesserts” > list more desserts as possible, including cakes and puddings. ![]() > Add new response type > Text changes to Option > Title: Which dessert/ menu you like? > List labels are Pudding and Cake, Value is pudding menu and cake menu. ![]() > Back to Dialog > Create a new child node on the Dessert node, called “menu” > condition is #menu > Assistant responds: Ok, here is our menu. Make a menu: Create a new intent, called “#menu” > user examples: On the Dessert node > add the other response type > Text: Do you need a menu? Or I can provide some specials? Click on node options on the Name node > Add child node, called “Dessert” > create condition: #name, add or, select add or, select > there are node options on the right of Assistant responds > Select “Open context editor” > Variable is username > Value is “” > Assistant responds: What desserts would you like, $username? Image of Step 3.11(1) Image of Step 3.11(2) Click on Dialog > click on the icon of dessert folder > select “Name” node > create condition (If assistant recognizes): #intents > select “#order”. Click Intents tab > Create intent > named #order > user example: hi, I’d like to order cakes. Back to Entities > Select System entities > tick all boxes. Create on an entity, click on Entities > My entities > Create entities > Entity name is > value is name_syntax, type is Patterns, pattern is + > Add value. The first alphabet should be lowercase, if it’s capital, the assistant cannot recognize user’s name.* Image of Step 3.6 Click on Intents > Create Intent > create a #name > add example: Click on Node options on the Dessert folder > add node to folder, called “Name” > Assistant responds: OK, how can I call you? / what’s your name? > Response variations are set to random again. What can I do for you? > Response variations are set to random. Go back to Dialog > Click on Welcome node > Condition (If assistant recognizes) is #welcome > Customize the Welcome node prompt with (Assistant responds): Click on Intents > Create Intent, called “#welcome” > Create > user example is Hi/hi, there Hello/hello, there. Select Dialog > Click on the Node options on the Welcome node > Add folder > named “Dessert”. ![]() But in this tutorial, we are not going to use it) Image of Step 3.1 Click on Content Catalog > General can be added to skill (it includes lots of basic contents of conversation, like good morning. Entities: it shows information in the user input that is relevant to the user’s purpose.The Watson assistant can select the correct dialogue flow by recognizing the intents. Intents: the purpose of a user’s input.Step 3.1- 3.10 introduces how to create the No.1-4 of the table Step 3.11- 3.15 shows No.5 No.6-7 is on the Step 3.17-3.19. The seller gives some recommendations (specials) What desserts do you like? do you need a menu? Today, we have specials.Ī user needs to make a choice. Welcome to XXX shop, what can I do for you? If you call a dessert shop, what a seller will ask you questions? You may say hi, I’d like to order a chocolate cake, and the seller needs to know your name and phone number. ![]() In this tutorial, we will create a simple Chatbot that can be used in your 3D character model in Unity 3D.īefore that, let’s take example. Create Speech to Text & Text to Speech: Go back to the Dashboard > Add services > Catalog > Services > Select “AI” > Click on Speech to Text & Text to Speech > Create. Launch Watson Assistant > Create assistant, called “AI training” (or something else you like) > Create assistant > Add dialog skill > Select Create skill > Dessert > Create dialog skill > click on “Dessert”. Click on the Create resource button on the dashboard > Watson Assistant (if you can’t find it, Catalog > AI > Watson Assistant) > Click Create tab, and check the region. If you already have a Watson Assistant service running in your IBM Cloud account, and you can jump to the next part. Step 1.1: Register an account > create an IBM Cloud account > you’ll be asked to verify your email > complete personal information > login your account and accept the privacy notices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |