Hello guys, welcome to the fourth session of the eBay da da tutorial for the beginner. In this session we will see what is the intent and create the intent. intent we present a mapping between the what will user say and what actions should be taken by the or software. Let's switch to the browser. Click on the plus sign near the intent. From here we can create the intent.
It has the several section let's collapse the all of the section. Here we can specify the name for the intent. I'm going to use the Hello as the intent name. By clicking these blue dots, we can change the priority of his intent. default is the normal I am going to remain the same. We will learn about the context you want and the accent in the later sessions.
Now, we will See the user says and the response, expand the user says section. In this section we need to specify the LA stop sentence that user may use to perform the action. For example, if you are for example, if you are about handling the code related functionality, then user may say, call john may call to john or dial phone to the john etc. Here I'm going to add the SM sentence that the user may use to say hello to the airboat. I am writing the hello and hi for that. And now let's find the response section.
Here we can write do what will user will see when user will write these in the user says, For that I'm going to write the head had Hi that you can add the one line for this resource, but multiple lines as suggested. When you are specifying the multiple lines, APA will pick up the any line randomly from this line. user may feel like the human communicates and if they got the different message every time. This is the only logic behind it and click on the sale button. From here, we can perform the chat with the our bot for the testing purpose. Let's write a high and press enter.
Here we got the Hi there. And let's write hello and I press enter. Here we got the header. Again, I'm going to send Hi this time GOT THE Hi there and now what the hell Here is the name from which the responses come. It was a Hello, that is the intent our What if user right the is something else like this. Here we got the Sorry, what was that.
And the intent name is the default fallback intent that we have not created. API dot A by default create the air to intent by default. This is the one of them. Let's see what we learned in this lesson. In the intent is a mapping between the what user say and rejections would be taken. It has the five section context uses a u and x and the response.
End user says x and we will write a what will user will say and in the response section, we need to specify the attack that will Be Used to response the user. Thanks for watching. Have a nice day. If you have any doubt, feel free to contact me