Alexa...
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Formal Metadata
Title |
| |
Subtitle |
| |
Title of Series | ||
Part Number | 6 | |
Number of Parts | 48 | |
Author | ||
Contributors | ||
License | CC Attribution - ShareAlike 3.0 Unported: You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this | |
Identifiers | 10.5446/33184 (DOI) | |
Publisher | ||
Release Date | ||
Language |
Content Metadata
Subject Area | ||
Genre | ||
Abstract |
|
DjangoCon US 20176 / 48
2
5
6
14
16
23
26
30
31
32
34
39
43
48
00:00
Dean numberIntrusion detection systemWeb serviceElectronic program guideInformationCommon Intermediate LanguageAdelic algebraic groupMUDScalable Coherent InterfaceCodeMereologyLine (geometry)Software developerConnectivity (graph theory)CountingLattice (order)Product (business)Goodness of fitError messageBuildingFeedbackGenderSoftware development kitMultiplication signSpacetimeSoftware testingProcess (computing)Graph coloringWeb servicePoint cloudSoftware engineeringComplex (psychology)System administratorUniverse (mathematics)Right angleMoment <Mathematik>QuicksortWordFamilyContent (media)DebuggerData centerAreaLoginElectronic program guidePosition operatorBitLambda calculus
07:47
MaizeIsing-ModellEmailMemory managementLarge eddy simulationCellular automatonCodeVideo gameRandom numberContext awarenessEvent horizonComputing platformFeedbackElectronic program guideFunctional (mathematics)FreewareScaling (geometry)Letterpress printingSinePresentation of a groupWeb serviceSpacetimeMultitier architectureComputer configurationOpen setCodeProduct (business)Reading (process)CASE <Informatik>RandomizationSet (mathematics)Sheaf (mathematics)Internet forumGraph coloringProcess (computing)Office suiteMultiplication signReal numberElectronic mailing listRepository (publishing)Line (geometry)Control flowIntegrated development environmentSoftware testingNatural numberHigh availabilityDependent and independent variablesRoboticsPoint (geometry)Row (database)Computer fileLambda calculusSoftware development kitLoginTwitterUniform resource locatorMereologyJava appletSystem callPoint cloudPi
15:18
Event horizonContext awarenessLetterpress printingAttribute grammarRandom numberSign (mathematics)Function (mathematics)PlastikkarteRevision controlDependent and independent variablesBuildingLine (geometry)CodeSampling (statistics)Lambda calculusDemo (music)Software development kitElectronic program guidePlastikkarteCASE <Informatik>DampingInformationTouchscreenRandom number generationDependent and independent variablesNatural numberMereologySheaf (mathematics)Online helpSpeech synthesis2 (number)Poisson-KlammerBlock (periodic table)Electronic mailing listLogicFunction (mathematics)Formal languageMultiplication signPoint (geometry)Personal area networkMathematicsEvent horizonCuboidShared memoryData dictionarySystem callOpen setHeat transferIntegerMachine codeMatching (graph theory)Set (mathematics)Video gameCodecWordContext awarenessBit rateSummierbarkeitVisualization (computer graphics)Scaling (geometry)FreewarePhysical systemComputer animation
22:50
Menu (computing)Web serviceLambda calculusVirtual machineSimultaneous localization and mappingGame theoryVideo game consoleCheat <Computerspiel>Data storage deviceStapeldateiCapability Maturity Model IntegrationRun time (program lifecycle phase)Function (mathematics)Demo (music)WhiteboardSample (statistics)Configuration spaceVertex (graph theory)BootingColor managementElectric generatorSign (mathematics)Maxima and minimaArtificial neural networkTerm (mathematics)SummierbarkeitInformationConvex hulloutputAreaBlogFormal languageField (computer science)WindowData typeData modelFlash memoryBuildingLoginMereologyRight angleFunctional (mathematics)Incidence algebraComputer fileGame theoryError messageSound effectWriting1 (number)Software development kitPower (physics)Software testingOpen setShared memoryFreewareSheaf (mathematics)Musical ensembleVideoconferencingCodeMultiplication signPlanningGraph coloringPoint (geometry)Web serviceSelectivity (electronic)Demo (music)WindowSampling (statistics)DampingRun time (program lifecycle phase)MathematicsLine (geometry)Formal languageNatural numberElectronic program guideLambda calculusGodPoint cloudExistenceSpacetimeComputer animation
30:21
Execution unitLink (knot theory)Gamma functionField (computer science)ArmDemo (music)BlogData typeLambda calculusMaxima and minimaComputer iconComputer-generated imagerySoftware developerCodeDean numberFeedbackComa BerenicesOnline helpPresentation of a groupMultiplication signSampling (statistics)View (database)Software developerScaling (geometry)Web serviceEmailSheaf (mathematics)FeedbackType theoryNatural numberDependent and independent variablesBinary codeConstraint (mathematics)Data storage deviceRow (database)Cuboid10 (number)SoftwarePoint (geometry)Software testingWeb pageComputer simulationLine (geometry)Open setCodeForm (programming)Software development kit
36:21
Point cloudNatural numberCodeMobile appLine (geometry)Graph coloringWritingPresentation of a groupPhase transitionSoftware testingMereologyWordCellular automatonQuantumProjective planeAuthorizationMeeting/Interview
37:58
BlogForm (programming)Metric systemDew pointLocal ringPlastikkarteSigma-algebraComputer-generated imageryField (computer science)Maxima and minimaIntelTotal S.A.Formal languageLevel (video gaming)AverageUniqueness quantificationPoint (geometry)Data storage deviceProcess (computing)Structural loadCartesian coordinate systemGoodness of fitSlide ruleWeb pageState of matterWaveFigurate numberLeast squaresWorld Wide Web ConsortiumNumberLoginVideoconferencingMetropolitan area networkMultiplication signMetric systemCellular automatonAnalytic setCodeLine (geometry)Web serviceLambda calculusPoint cloudHookingTrailSoftware development kitComputer animation
42:11
XML
Transcript: English(auto-generated)
00:01
most people don't even ask that's a really long story so my talk today is
00:26
about Alexa development has anybody developed an Alexa skill before in the audience looking at you be nice I just want to know who's like a first
00:42
time developer just beginning with development no judgment because I'm in the same boat cool so you'll enjoy this and what I and if you don't the doors there so basically I work for pen even though I just moved to Seattle they were
01:05
nice enough to let me keep my job so there is this initiative for 2020 to move completely into the cloud as most if there I know there are people here that work for universities it's slow moving but this is my complex thought
01:23
process is like I see our data centers and I see clouds and I'm just like what am I going to do how am I going to prepare myself for this and the thought came into mind start Alexa development the reason that came into mind is because it's not just Alexa development at least not what I did so it kind of
01:46
dives into AWS a little bit which I'll talk about heavily using lambda for the skill that I created I got some experience with cloud watch which is basically how you can find out your errors it's a it's a good debugging
02:03
tool so I'm going to show you a role involved with cloud watch so there are other things that I was getting into and of course the Alexa skills kit which gets married to lambda so the two can talk together so one thing I wanted to talk about is a lot for me has changed since the last DjangoCon
02:24
we had DjangoCon in Philadelphia last year and when Tim approached me about Django I was like what's a Django so after the first conference I gone into the conference thinking I could never do this I'm not that smart and then we have an incredible team of volunteers and stuff and I thought I
02:45
would give it a shot one thing I like about this community and the people sitting in front of me is that we are probably one of the awesome communities in code Python Django is supportive no one has ever looked at me like hey you're stupid everyone's always got suggestions on how to make
03:03
things better so that's why I decided to write this skill in Python there's also not a lot of Python Alexa skills out there I'm hoping that that's going to change you'll see throughout my talk I do give my github account I encourage
03:21
you to look at that because I have actually included the whole happy days skill and the components of that skill in my github feel free to use it as you wish it's out there so that hopefully you can use parts of it I'm not a developer at least I didn't think I was I'm a systems administrator
03:42
working in to the developer space after this I think I'm aspiring now so building a skill helped me in a lot of things like I said I was touching lambda cloud watch was looking at billing alerts which by the way if
04:02
you're setting out to use for the first time I highly suggest doing that I set up my billing alert to tell me if I went over one dollar which has happened so it's only two dollars and seventeen cents for me to run happy days but when I was doing this I didn't want to go back to my husband and be like so this happened and we owe AWS ten grand or one billion dollars I
04:24
didn't know what was going to happen when I went down this road so in building this skill I was noticing a lot of things I was able to troubleshoot my own code a little better cloud watch logs are really good in showing you exactly where you failed I was seeing a lot of red though I'm not
04:42
going to complain the code that you're about to see is only 200 lines 200 lines took me a little to an it a little over two and a half months to do and get through the Alexa skill process but that's just because I'm a noob and it took me a while so if you don't know what Alexa is she's the
05:09
echo show the echo echo look the dot anytime you call Alexa I think she's muted right now which is great I learned that in other talks that I've
05:21
given to mute her because I say the name more than once it provides for custom-developed skills Amazon doesn't call them apps their skills so you can use an API through the Alexa skills kit to build your own skill you can be about whatever you want whatever you want you can also leave things in
05:44
development or you can choose to publish them if you're publishing them Amazon developers go through and they pick apart your skill which is not a bad thing at first when I submitted this skill and I got feedback I was like got into it right the first time but then someone pointed out to me like
06:02
this is a professional code review you can learn from it and I was like okay that's pretty cool so what I've done so far is I published happy days I did I started that directly after the last DjangoCon conference because there were just so many positive things being slung around and I was like I'm gonna
06:20
do a positive quote generator and it's gonna be awesome and it was and then I've also developed a Wharton guide that was for a quarterly that we did that remains in development if you decide to leave your skill and development you can still access it because it links directly back to your Amazon account so if you're not comfortable or you don't want to go
06:42
through the publishing process with Amazon you can leave it in development there was a senior software engineer that decided to go home and make skill for his family so that would be an example of what you might want to leave in development or if you didn't want to publish the Wharton guide because
07:01
then you would have to get the okay from all the people at Penn yeah what will I make that was I knew I wanted to do this but it took me a while to figure out what I wanted to make because that's a creative thing and that's up to you do you want to make something that helps people I know I do which is why I made it or like I said do you want to leave it in
07:22
development do a family thing that works too the only thing you have to keep in mind in this process is that the content that you're making is going to be consumed by users of the product so you want to be thinking through voice design is the voice design that I'm making easy for the user to get through chances are if you're fumbling with the voice design your
07:44
users gonna fumble too so as most people know customer service is my biggest biggest biggest thing for me so I was very careful with that as I made this skill what did I need to make this happen it wasn't hard you
08:02
need an Amazon developer account that's free you need an Amazon Web Services account that's also free and for those of you who don't know Amazon offers a free tier Amazon Web Services you can use their services most of them for free for a whole year so if you're looking to get into the Amazon Web
08:24
Services space this is the perfect way to do it if you haven't done it already it used to be that you needed a device to test you don't need that anymore you can use echo sim IO and by the way I will be uploading these in the speaker deck there's a lot of URLs embedded in this presentation that
08:42
will be helpful so I'll make sure I get them up on speaker deck tweet about it yeah so you just it the login for the echo sim ties into your Amazon account so it kind of works the same it's just a little clunkier because you have to push the button say Alexa open blah and it's not it's not
09:03
as quick but that's another option you have if you don't feel like getting an Alexa device but they're cool so get one I'd also like to point out that in no way I have no ties with Amazon my husband works for Amazon that's basically it so this is just me being excited about a product and kind of
09:23
running with it billing alarms like I said make sure you set those up before you get started especially if you're going to be using some resource intensive things if you decided to use s3 buckets with a high availability that may not fall under the free tier in fact I'm pretty sure it wouldn't once
09:43
you start consuming services that have a lot of stuff I think RDS might also be one of those things that are not included but bailing alarm so you don't have to be like this guy let's get it done I mean this is what I this is
10:00
what I used I mean Python 3.6 is available now in case you didn't know for lambda it had previously not been available and we were all waiting with bated breath and then it happened we were like whoo it's here but if you're not a Python person you can do it in node JS C sharp or you can do it in Java we're using lambda and cloud watch again there's tutorials on this
10:26
the way I got started was the color skills tutorial and there's actually a blueprint for that in lambda functions which all I'll click over to real quickly to show you before we go in and make a skill my my goal today is to get
10:43
a skill up and running that doesn't exist yet so we'll just use the code from happy days and do happy days test and we'll call it that way it shouldn't take too long probably 10 minutes if you can believe it there's other stuff the Amazon developer forums are amazing they have their own
11:02
section if you're struggling with a part in your Alexa code you can ask them and there's also office hours where you can talk to real Alexa developers at Amazon so that's 4 p.m. 1 to 4 p.m. and then 4 p.m. on the East Coast time
11:22
it works out for me a little better now that I'm a West Coaster so the anatomy of happy days like I said there's my github there so there's a repository for the skill happy days that pie is actually going to be the lambda code that I am dropping into lambda the intents they're just they're
11:44
just JSON and that's what the user wants to do what is the intent here what are we trying to solve for the user the utterances are the actual phrases that you would give to Alexa so if I said Alexa open happy days that's
12:00
an example of an utterance now you'll see when I get into my utterances which I'm going to show you this list is very short the work and guide utterances there were over a hundred so the goal for utterances it just is to think about your user how many ways could they ask for my skill to do something and the list can grow extensive depending on what you're doing
12:23
and then the more quotes that pie that's in there I had received some feedback that somebody had heard these quotes a lot and they were a little bored so I was like okay I can do something about that so I think I added another 50 quotes and in adding stuff to lambda it's actually really
12:42
easy I don't suggest adding your code live possibly setting up test environment make sure that it works if you're doing it live it means you're doing it live if you change it it's going to change it on the platform for this I thought I knew what I was doing and I did because it didn't break
13:02
but probably not best practice if you're just getting started putting it all together I'm going to actually run through very quickly the code behind happy days and it's only 200 lines so I promise it's not going to be painful
13:21
that's the hope so here's what I got going on I'm doing from future import print function because when I did this it was in Python 2.7 and I wanted to pull the functionality of Python 3 over you'll see when we get down into the
13:41
code a little more that I'm using this print function a lot it's needed because this is kind of how Alexa deals with their responses and things of that nature so you'll see that when we move down further I'm doing import random does anyone have a guess why I'm doing import random no okay I'll tell
14:02
you yes you know when I was when I was doing this I didn't want her to spit out the same stuff every time so I did import random so I could randomize the quotes there's a lot of them there's a lot what do you notice about what do
14:23
you notice about these quotes that they're basically in plain text Alexa reads text as if you would write it as if you were writing a book if you put a comma she's gonna pause before she goes on to the next thing she say if you put an exclamation point you get a little extra excitement out of
14:40
her so so you can really mess with her voice now I've gotten some feedback that Lex's voice is so robot or and things of that nature and it's like I'm sorry I didn't make her but there's some some cool things that people have done in regards to recording something so you would record
15:05
something like an intro a lot of people do this with podcasting you would store that file in an s3 bucket and then you would work with the audio player in the Alexa skills kit so that you're recording actually talks and Alexa doesn't that could ensue some costs so I'm gonna scroll down here I
15:28
hope this is big enough for everyone to see and giving these talks I've realized that code can be small so I went ahead and zoomed in anyway so basically what we have here is we're defining our lambda handlers these are
15:44
really important because this is how this is basically how Alexa handles code this is how she handles sessions launches and things of that nature so let me just get here so if I were you right now and you were basically in
16:06
my github I would definitely just basically copy and paste lines 78 through 91 and you can add to that if you don't have the event handlers it's
16:21
not going to work this is this is really needed so you can see launch requests that's basically oh well let me say that the one above that is on session started on session started is when I say Alexa when I say Alexa that session starts the launch part is when I say open happy days so then
16:44
she's going to launch my skill the intense is how she's going to handle what we need to do and the session ended only happens at the end if a user says stop cancel that's when your session ended happens and that's when
17:02
the session just ends you're no longer in it so yes so on intent and things of that nature now here I'm defining my intense you're gonna see these come up when I go into the Alexa skills kit portal and this is
17:22
where they get matched so I have the happy days intent which is linked to the welcome response the Amazon no intent you can use you can choose to not define the no intent but it's built in so if you don't define anything for it that's fine you don't need to because it's built in same with the yes
17:46
the no the help I have another quote intent because I thought well what if someone's not happy enough and they want a second one then they have another quote intent the cancel and stop intents are the same they're built in
18:01
you don't have to define them I believe that I do so this is where I'm defining my get welcome response notice I'm leaving my section session attributes dictionary open the reason that I'm doing that is because throughout this skill it needs to pull down the information from one block to the next if I were to put stuff in there she she would just not she
18:24
would just stop working so you'll see that I keep these brackets open well the curly braces I guess I would keep these open until the end when I'm saying session ended is when you'll see this actually have more than just
18:41
nothing in between them so the random number this is where I'm using the integers and grabbing the random quotes you'll notice here in my speech output which is what she's actually saying she can speak the logic which is really pretty cool she knows now that she needs to go up into my list of quotes
19:03
and she needs she can pull whatever she wants it has to be one she knows she can do that and then she knows how to say it and then she goes into would you like to hear another quote you can see I have should end session is false because she needs to stay in session if I had this is true Alexa
19:24
would stop and if somebody wanted to hear another quote well too bad for them but for user experience she's staying false this is also something that if you do decide to do your skill you would want to use with a help intent because if a user is asking for help on your skill they're going to
19:43
need to session to stay open so they can continue to interact so I also had handling another quote request and she's doing the same thing there handling the help request this is all pretty pretty basic stuff all that's changing here is her speech output and her reprompt text the reprompt text is if your
20:04
user doesn't answer within a certain amount of time I don't know what that amount of time is but if she's waiting for a while she can reprompt and say do you still need help whatever you want to have her say she can do that and here's the handle finish session request so as you can see I still do
20:25
have my actually my I do still have my dictionary open so that was my bad but the should end session is true because at this point we're done we're done the build speechlet response something I wanted to talk about is
20:41
ssml the language ssml you can fine-tune Alexa if you're using that for this skill I was just getting started so I decided to use plain text if you wanted to look into ssml if you know more about ssml over me feel free you'll just have to change this output speech and the reprompt to ssml this
21:05
is where you would make that change building speechlet response without the hard I'm not using cards for this because I made this skill before the echo showed came out so anybody know what the echo show is social pans a lot
21:20
of people don't know what it is so Amazon just came out with echo show which is a visual box you can use it for conference calling but you can also use it for skills so the cool thing about skills and cards is that you can use cards to relay pictures text if someone's hard of hearing this is a good thing to think about accessibility wise someone's hard of hearing you can
21:44
read the text on the screen so I'm actually really excited about the echo show I think that the next skill I make will probably have cards and then at the end I have my build response this is important and the reason this is important is because this takes my session and it transfers it back to the
22:04
Alexa skills kit if I didn't have this it would just stop and Alexa skills wouldn't be able to pick up all the information that we just got throughout the 200 lines of code and then she couldn't talk say what we did so there's that piece that's actual anatomy of the code Oh 205 lines cool I
22:26
think the Wharton guide I made was probably 600 or so so I'm getting better these are the intents for happy days these go into the Alexa
22:40
skills kit and I'll show you that later what we're going to do is we're going to build a skill from scratch it is a live demo so bear with me in case things don't go very well I thought I had sample utterances up I do they're just in this so so as you can see these intents are really short I
23:01
don't have a lot if I showed you Wharton guide you'd be like whoa but that's pretty much it for the code part now is the demo part and the demo part is pretty cool if it works fingers crossed so this is the part where I think I need to switch this on but I don't know where the power button is
23:23
where's the power button cool yes not that she's not loud enough but she is test yes so if I said happy days or Alexa open happy days testing I couldn't
23:43
find any enabled video skills go to the music TV and books section of the Alexa Alexa stop no patience for her lately so we don't have a skill yet right so we're just gonna build one real quick because I think it's
24:02
important that when I'm talking about this that I can show you the steps needed to take it so we're going to start off with a lambda function so this is basically if you haven't been in I feel like I should go to the dashboard for AWS for those of you who haven't who haven't had any experience with AWS this is all the services that AWS has I believe that
24:24
lamb does under compute it is so I'm going to go in and these are the functions I have already this is in the works be ready for that set skills going to be amazing once I have time and what's time who has free time
24:41
anymore I'm going to select the blueprint what I wanted to show you off of this and hopefully I can just make this a little smaller so I can fit more stuff the color skills tutorial that I talked about oh it's not finding
25:02
it that's perfect so lambda has blueprints those are basically already set up and ready to go you can manipulate them there is a color skills tutorial in here somewhere I hope unless they got rid of it oh
25:21
yes who said that you're smart thank you I see it worked I love a helpful audience thank you so if you wanted to try out the blueprint that goes with the tutorial this is where you would find it there's no JS sorry no JS I
25:43
haven't gone into your language yet and I don't plan on it anytime soon I like to stick in the Python world this blueprints still in 2.7 I don't know when they're updating it but to just get your feet wet go through the tutorial and set it up you'll understand a lot more about how you can interact with Alexa so I'm not going to do that you can do your own
26:05
ones from scratch which is what I'm going to do because I actually have my code in another window so the first part of this is that you have to basically marry lambda and the skills kit you don't marry the two they don't know how to talk to each other so this is I'm setting up a trigger so I'm gonna
26:25
select Alexa skills kit I'm triggering it for lambda and I'm gonna go on to next and I'm gonna name my function I'm gonna say happy days testing because that's all I use doesn't like spaces that's okay and fingers crossed that
26:46
this live demo thing goes well cuz if it doesn't we're just gonna move on my runtime is 2.7 the reason I'm doing this for the tutorial is that that I know the happy days code works with 2.7 if anyone hasn't used lambda
27:03
the way that it works is you basically just drop your line you drop your code in line the cool thing about this is you can kind of change code on the fly things of that nature so I'm gonna do is delete all of that I'm gonna go back into my happy days code and I'm just gonna grab it I'm
27:25
gonna paste it and then I'm gonna come down here the lambda function and the lambda handler are the things that handle your code there's lambda function dot PI that's actually what's in your lambda code I got really
27:42
confused when I was getting errors and trust me this being my first lambda skill I was seeing red there's only ten minutes left oh my god I better hurry up high-fives by when you're having fun right I'm going to choose an existing role I'm choosing lambda basic execution and the reason that I'm
28:03
choosing that is because all I need is to be able to write cloud watch logs so that I can debug I'm going to go to the next one I'm going to look at what's going on here yeah that looks good enough and I'm going to create the function yay it has an is okay that's great we recommend testing the
28:22
function this is new okay this might not work we'll see I'm going to test it I'm sure it's fine bear with me haven't been in here in a while this is what I need to choose so it should be green yeah I knew that was going to
28:41
I mean of course it's fine I've done this like a million times so I think this is fine now I am a little okay the ARN is very important here the ARN that lambda gives you you need to put into the skills kit so when you're doing this save your ARN to a notepad file don't think about stealing this
29:01
errand because in 20 minutes I'm going to delete this whole thing that's it that's all I have to do on the land aside I did that in what five minutes not a big deal so now I'm going to go over to the developer portal and this is where the Alexa skills kit lives oh of course it wants me to sign
29:25
it again cool you go into Alexa nevermind I'm gonna get started as you can see this is where all my other skills live it's the land of misfit toys
29:43
so I'm going to add a new skill I'm going to name it happy days testing my apologies if I'm going too fast if you have any like in-depth questions I'm always open to answering them Heather at Luna dot pH is where I can
30:01
be reached so that looks good so I'm going to save and I'm going to go on so this is where you enter your intense which I hope are up and they're just the ones that you saw in my code so it's like a game of matching if you think
30:22
about it so that just goes there those are slot types I did not use them and I'm not going to explain since we're running out of time the sample utterances are going to go in that's cool cool
30:41
I'm gonna go next no cool everything's gravy great so where do you think my air and goes I'll tell you it goes right there that's where that comes in I'm selecting North America unfortunately the Alexa skills kit right
31:03
now is only available in North America and Europe I know that they are working on that account linking if you somehow wanted to charge people for your skill this is what you would do you would link to your Amazon account Amazon store and that's how you would do it and that's basically it I'm not going
31:28
to go through the service the voice simulator this is how you could test what's going on what I will show you hopefully on the next page if you decided to publish this is what you would do you would give testing
31:42
instructions for the Alexa crew and all that stuff at this point she should be ready to go so fingers crossed Alexa open happy days testing here's a dose of happiness the purpose of our lives is to be happy Dalai Lama would
32:02
you like to hear another quote no I would not here's a dose of happiness so she doesn't understand no I would not because I would I did not make
32:20
that as a sample utterance which is why she's being silly so because I'm running short on do I have 10 did I have 10 minutes left to talk and then I can ask questions yes I still have time to get to the really good stuff not that that wasn't good stuff come on so like I said I'm gonna get back
32:40
into the presentation now yeah you have to do code reviews so I was like I finished and I was like great this works it sounds great this is amazing and I submitted to Amazon and they're like no no they're like you forgot a help section you forgot this you forgot that I was like oh this stinks so I did theirs and I got another stuff that I got another email response back from
33:04
the Alexa team and they were like oh and this this this too and I was like is this ever going to happen oh okay this is actually when you know they were like yeah it's great we're publishing it and I was like that is
33:21
really cool stuff when you're publishing just remember you're putting it out there you're putting it out for the haters have some it's fine but there's some constructive feedback there the feedback about adding more quotes that weren't so popular I took that and I implemented it into my skill because I'm like huge on customer service and everybody gets kind of like
33:44
a happy face even though I might be like just like thank you for your feedback nice thing about Amazon that they're doing right now is if you decide to publish a skill this is not with development if you decide to publish a
34:02
skill you get swag if you fill out a form so I actually took a peek at this month's swag and it's for those of you that like socks I mean it's publish a skill but is that up is that not coming up that's interesting I'm not
34:27
sure what's going on it's not bringing up the webpage I can't show you these cool socks that stinks but if you publish a skill you don't give you an echo dot and dev swag and the dev swag is binary socks from Amazon
34:44
Alexa so that's pretty cool all you have to do is publish promotional credits is something that was recently that was recently let out if you have a skill and it's published you are you can get up to $100 a month for your
35:01
skill if you're using heavy resources and things of that nature Alexa the Amazon team's main thing is they want people to build skills and they want to give you the tools to enable you to do those things I have a giveaway today I have no affiliation with Amazon none this is just we use
35:22
Amazon at work and I said hey I give these talks can I have some AWS promotional credits they give me like 50 over last year so I have nine $25 AWS credits to give away there are pens and papers in a box next to mr. Jeff
35:41
triplet there in the front row if you are interested in joining the best way to get ahold of you I'll be pulling the winners later today and I will inform you yep Jeff Vanna whiting the box and the paper and the pens so that's my giveaway and that was really rushed okay so now I'm gonna
36:03
open it up for questions yeah I guess you're gonna need this here yeah I hope I can get it still on it is still on you know what first yes more clapping
36:21
fantastic presentation it looks like you're writing pretty much directly to lambda and your your code here is there potential here to write the Django of Alexa skills there is a flask ask skill and this was more that the example that I saw for Django flask ask which I think was from John Wheeler was more of
36:40
a trivia based tutorial and what I'm doing wasn't trivia so the color skills tutorial that I did was more in line with what I had seen for this project but if you want to do a trivia skill and you want to use a Django tool flask ask is probably the best bet for that I was wondering how long she can talk for some of your quotes I'm guessing are like a one line I didn't
37:03
know if it cuts off after a certain amount and just how to deal with pronouncing weird names or whatever so yeah so that's part of the testing phase that I did is listening to how she says stuff sometimes it doesn't it doesn't come off like I want it to and then I kind of have to tweak like
37:21
if you were if you saw pronunciations and how things go like in the dictionary like if you type that out she would do it for sure there's an inspire me skill I almost just called it an app sorry Amazon but that goes on for a while those are actually like live talks from people and things of
37:44
that nature and podcasts can go on for a while too basically she's not going to stop until you tell her to so it could go on forever just be just be ready for that bill from AWS can you expand on the cloud front again I don't
38:00
know if you showed us if there's any trail that how do you hook up cloud front to the lambda and then so it's just watch or cloud cloud watch so when you're doing the basic execution role that I showed it's it's just going to do that anyway I'm hoping I can just get out of my slideshow now so I
38:20
can go into oh yes here see socks and an echo so if I wanted to go into cloud watch I would go into the dashboard it's already hooked up I'm just gonna go to services monitor resources and application like Alexa hopefully this
38:44
doesn't take too long to load oh look I went over my estimated charges that stinks so oh so I don't have anything set up right now but this is a dashboard for cloud watch so if she were to have messed up that you would see
39:12
cloud watch logs and they would point you to the line of code where there was an issue I guess what I'm trying to get at is is there a way to do almost
39:21
like web analytics on this where you can see how many people are using it and when are they using it so there's actually a metrics in the Alexa skills kit that you can go into it tells you how many unique customers what they're calling my numbers are down right now because the skill has been out for a while but I'll show you if I still have the Alexa skills kit open which I
39:46
do I'm just going to go back in so this is where you would go for that the metrics so as you can see it can tell you how many unique customers the sessions the number of utterances and you can do your time here if you wanted
40:05
to know how many people had done it in the last 30 days you could do that there's a lot of flexibility in here that wasn't in here when I first started making it so I'm really glad to see that Amazon has changed their stuff and made it more user friendly so this is where you would go for the
40:21
information like that this is how I found out by the way I noticed in my metrics not long after I did this that I had spiked up to like maybe 30,000 users at one point and that's how we found out that I had been published somewhere so it's cool to look at that and see so I think PC mag published is one of
40:43
the best Alexa skills I'm sure they changed their mind by now people are constantly constantly creating Alexa skills which is just something for me saying hey it's time to get back on the horse and make another one which trust me there's something up there yeah my question is about the utterances so you say you have to specify each one separately yeah so is there any
41:05
facility where it can kind of figure out what you're saying like show me the weather versus what is the weather or you would have to account for both of those utterances okay because as you see when I when I told her earlier I forget what I asked her to do she didn't understand so that's
41:25
why utterances you want to think and you want to use as many utterances as you can to support your user base how do you how do you get noticed in the Alexis like skills store so if you get published and people are giving you high stars I think that for right now and you're going through the process
41:44
with the Alexa devs so they're seeing what you're making if they think it's good enough they're gonna put you in this store which is also what I found out that at one point I was on the front page of the Alexis go store so if they think that your skills good people are using it and people are liking it chances are that's where you're going to end up all right let's
42:05
give it one more hand