Alexa Skills Development Tutorial: Alexa Skills from Scratch – Start With the Script [Episode 3]

Alexa Skills Development Tutorial: Alexa Skills from Scratch – Start With the Script [Episode 3]


welcome back so in this video we’re gonna look at how to start a skill and the best way to start a skill is with the conversation so the conversation is not every possible edge case but the happy path what would be the ideal way that a user would use your skill what would be the best way and then once you have that once you have that model conversation then you can work backwards and think of okay what edge cases could there be and that’s when you get into the nonlinear form of prototyping but for now let’s just think about what is the best possible conversation that a user could have with this skill I’m using Amazon story writer Amazon story writer is a tool that is actually for creating movie scripts to send off to Amazon Studios but we’ll use it to model our ideal prototype you don’t have to use it you can use any text editor you know you can use pen and paper that’s also really good I’m just using this because I like the way that it formats things and hopefully it’ll be clearer as well so let’s get started so what we’re going to build today is a guitar tuner so I’m gonna call this guitar tuner and Andreev is my name in the next page we will have characters and dialogues so we will have the character user and when you press enter it’s gonna automatically create the dialogue and we will say for example Alexa open guitar tuner maybe one of the ways that the user will use our skill is to open it first another possibility is that a user says Alexa asked guitar tuner to for example play a low E or one of the ways that you could use the skill is Alexa play a low e using guitar tuner but let’s start with the with the first one which is Alexa open a guitar tuner in this case it would trigger the welcome message so the launch request if we write an upper case it will automatically format it as a character so we’ll call this Alexa even though it’s our skill that’s speaking so we will say something like welcome to guitar tuner you can ask me to play a note like a low E or a chord how can I help and the user will say usual say play a low E perfect because a guitar has two strings but has two e strings the high and low right but the user is specifying a low V so then Alexa will say something like here’s and it’s probably not a good effective guitar sound but it’s called dang dang and then it will probably repeat so that the user has time to really think of it and the best way to prototype is trying to speak out loud so I’m gonna say Alexa open guitar tuner and the skill will say welcome to guitar tuner you can ask me to play note like a low E or a chord how can I help play a low E here is Annie then then you would repeat it maybe four or five times until the user asks for a new one or maybe says stuff this is just the short form of saying this and this is just another way of this as well you can put the utterance first and the invocation later alright so this is our n VP of our guitar tuner skill I think this is good enough to start with so essentially Alexa will play back a sound that we asked for this will not only allow us to understand what our intense slots slot types and utterances but we will also understand how to use audio and how to use SML to make Alexa sound a little bit more human you

6 thoughts on “Alexa Skills Development Tutorial: Alexa Skills from Scratch – Start With the Script [Episode 3]

  1. what about if you are trying to upload a converted mp3 file to a bucket in S3 but it says access is denied?

Leave a Reply

Your email address will not be published. Required fields are marked *