Hello. Welcome to the first session of create custom Alexa skill using AWS lambda function tutorials for beginners. In this session we will see what is intent and utterance. an intent represents an action that fulfills a user's spoken request. intent are used to identify groups of questions or commands that have the same intention. For example, if you're creating a scale for online food ordering, then show them no order food, make them and will be intend for this scale.
The Alexa skills he provides a library of building intents. You can use this intense to add functionality to your skills without providing any sample utterances. Currently, it provides building intents for book calendar, music, video, weather, etc. The sample utterances a set of lightly spoken phrases Matt To the intense intent must include one or more sample utterances to build the model. For example, in food ordering scheme, the user may say, order one large Mexican green wave pizza, reorder, delivered faster with the source, etc. You can add all possible ways that use mec.
Let me switch to the browser. here under intense section, it includes building intents. By default, it contains those three building intents. Let me click on Add. From here, we can create our own custom intent as well as add from built in intents. I am going to create a new custom intent with the name Hello intent.
Like invocation name, the intent name also has some conventions that we must need to follow. Click on Create button Did our intent is currently does not have any sample utterances. To add new trends. In this example, we need to write it here and press Enter or this add button. Let us add Hi, hey, and Hello, those all are added to the table. Click on it to edit it and you can also delete it if not required.
Next is slots within those utterances. We'll learn more about the slot in next session. Next is confirmation for intent. We will state in upcoming sessions. Click on Save model to just save your interaction model and click on build model to save an update interaction model. building model process will take two to three minutes.
Now just click on intense to see all of this intense. By clicking Add button we can create an Your brain. Using this search box, we can filter it. This table displays some information about intent such as a number of transit slots type of intent, etc. We can also delete intent. It provides interface for creating those and build Jason for skills interaction model provisioning, we need to write JSON data for creating or modifying intent, not utterances, procedures and data that users can click on Jason editor.
Here you can see that it includes in dance that we have created, along with sample utterances we have added, we can modify this Jason as well as upload new JSON file for importing existing skills. Now let us see what we have learned in this session. We saw an intent represents an action that fulfills a user's spoken request Sample utterances represent spoken phrases and it may include slots. Thanks for watching this video. If you have any doubts, please feel free to contact me. Have a nice day.