![]() You need change the following line of the code files. But you may watch the below video to see the demonstration of the chat bot and the explanation of the PHP code in better way to understand. Once we finish the design of the conversation in Watson Assistant tool, it is time to write our code using a server side programming language which has the capability of calling or consuming REST API. This feature helped me to capture the reservation date, time, city, number of person and name of the person at one go. Slot is a nice way to capture user input and identify all the entities either in one single sentence or one by one. When you expand the #Make_Reservation dialog node, you see that I have used Slot features of Assistant tool. You have to use the intents to identify user input and take action appropriately by identifying the data from entities. The dialog flow is the key part of the design. We will be usingįinally you design the dialog using the entities and intents. For example is used to identify a date and is used to identify a time entered by the user. one is system defined which means it is defined by Watson Assistant tool to identify certain values entered by the user. So the bot should be able to recognize the value of entity as 'Kolkata' when the user has entered as 'Calcutta'. For example, many people call Calcutta which is the former name of city Kolkata. Each value will have multiple synonym to identify the value as entered by the user. So we will define an entity which will have three values as Kolkata, Delhi and Mumbai. In our restaurant example, lets assume that the restaurant is located in three cities Kolkata, Delhi and Mumbai. The entities are the noun or object of class which represents the data. Also you can use the features like Slot and Event handlers. Watch the video to understand how you design the intents, entities and dialog quickly. In our example of restaurant reservation, the main three intents are identified as:Ī detailed discussion on design the chatbot in Watson Assistant tool is done in the below video. The intents are the verb part to represent the intention of the user. Within Watson Assistant tool, you need to take care of three things. Now lets start with the design of the actual conversation flow. Step 2 - Design the Watson Assistant Tool: The video describes the basics of IBM cloud on how to login, how to subscribe to Watson Assistant service and the basics knowledge require to design and build the chatbot. This video will guide you on how to signup and use the tool. To use the IBM Watson assistant tool, you must sign up first at IBM Cloud or Bluemix platform. ![]() Step 1 - Signup for IBM Watson Assistant Tool:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |