Dialogflow CX Beginner Tutorial – 11/14: Assignment 1

Course outline

[m0] so just using what you have already learned it should be possible for you to do a few more things.

And just based on the state machine idea.

And the concept of page transitions that we have already learned you should be able to first of all ask the Vendee bot what you can get with your current balance.

And based on the balance the bot should be able to give you different answers.

And you should be able to ask for specific candy or specific – you know – product.

And it should be able to provide it provided the balance is available.

And finally you should be able to ask it to return the balance whatever you have added into the vending machine.

And you should be able to return the correct balance.

So the first assignment is to find out what you can buy with the current balance that you have

What I’m going to do is I’m going to say add a quarter [m1].

And you can see that it says you have entered state 25.

And I’m going to say what can I get with my balance you can see that it says your current balance is 25 cents you can get a Snickers spot which is the only thing you can get with 25 cents right.

Now I’m going to say add quarter.

And it says you have entered state 50.

And now I can ask what can I get with my current balance you can see that it says your current balance is 50 cents.

And you can get a Snickers bar which is 25 cents or a Twix which is 50 cents let’s go ahead.

And add one more quarter.

And now it’s in state 75.

And now I can ask what can I get with my balance.

And you can see that it says your current balance is 75 cents.

And you can [m2] get a Snickers bar a Twix or a Kitkat.

And this is your first assignment using just the concept of page transitions you should figure out how you can build the bot so that it comes back with the responses that you have seen in this in the simulator demo that I’ve just shown you