Part 2

Lesson Progress
0% Complete

Autogenerated YouTube transcript

[00:00] training which completed it now I have asked in the previous phrases what is the radius of Saturn now it’s not a big deal if the user is going to type in the exact phrase this is that is the exact set of words you see here and if Dialogflow is able to do the mapping and I wouldn’t say it’s a big deal because you know it’s simply a question of like a string matching kind of a task [00:30]. However what Dialogflow is really good at is based on these three phrases which you defined here. And you know you can have more you can have a lot of training phrases Dialogflow recommends that you use about 10 to 15 for good results what can what it can do based on these training phrases is that it can take the patterns that it sees here and it can handle similar wording.

Even if it is not exactly the same now ⌛ [01:00]

In this case it’s kind of pretty simple to see that the radius of Saturn phrase is appearing in all the training phrases that we’ve provided what. That means is if we use radius of Saturn in the question that the user is going to ask you do expect that Dialogflow is able to map it to this particular content.

So let’s just think of a word which is a phrase which contains the radius of Saturn

But also has some little [01:30] difference to these existing training phrases I might be saying something like show me the radius of Saturn. And you can see that as we expected it came back with the response you asked for the radius of Saturn which is what we’ve defined here. And you know this is good because. It says that if the user were to lightly modify that query but include the main words that Dialogflow is ⌛ [02:00] expecting it is still able to respond with the correct intent now remember when we go back to this list of interns here and even based on the behaviors you saw before we declared this if I were to ask this question it would have gone to the fallback because we had no way to handle it before but now after declaring this intent.

There is a way for Dialogflow to handle this user says

So that’s the basic idea of what and [02:30] intent is and just to make it a bit more clear I’m going to ask I’m going to add one more say user asks for color of Saturn and let’s add these training faces or does the color of Saturn tell me anything color and so on and. Here the response will simply be you asked for the color of Saturn let’s save it and as ⌛ [03:00] usual. As soon as you do the save it is going to start the training. And you can see that the icon here starts spinning and we have to wait for a few seconds for the training to get completed and. As soon as the training gets completed it’s ready to handle the latest changes that you made that’s that’s basically what it makes the training here means that whatever change that you just recently did once it says once it this wheel [03:30] stops spinning and you see the message over here down at the bottom right that the training has been completed it means that all the most recent changes are.

Now in effect and you are now ready to test your chatbot out

So let’s let’s wait for a couple more seconds for it to complete its training all right so it now says that the training is completed and what I’m going to do now is we’re going to say show me the color of Saturn and as ⌛ [04:00] you know we haven’t actually used that specific phrase in this training phrase. And the other thing that you might. Also notice is that it’s quite similar to the user says we had used before which actually got mapped to the radius of Saturn in 10 so we have to see what happens when we type.

So you can see that it is able to map it [04:30] to the newly defined intent which is user asks for color of Saturn and which already shows you a couple of things first of all

Even though the phrase is very close to what the user had typed the last time where they said show me the radius of Saturn.

Transcript auto-formatted using ATF

ℹ️ All Courses | ✅ How to mark lessons as complete | ? How to unlock all lessons (free)

>