From 738b76aeaee3d75313827bb7c1c00d33a5f010c4 Mon Sep 17 00:00:00 2001 From: Greg Laabs Date: Fri, 8 Jan 2016 22:44:57 -0800 Subject: [PATCH] Alexa App resource files moved to their own directory. Also added SHOWNAME custom slot definition --- ask_configuration/SHOWNAME.txt | 50 ++++++++++++++++ .../intent-schema.json | 14 ++--- ask_configuration/sample-utterances.txt | 33 +++++++++++ sample-utterances.txt | 59 ------------------- 4 files changed, 89 insertions(+), 67 deletions(-) create mode 100644 ask_configuration/SHOWNAME.txt rename intent-schema.json => ask_configuration/intent-schema.json (85%) create mode 100644 ask_configuration/sample-utterances.txt delete mode 100644 sample-utterances.txt diff --git a/ask_configuration/SHOWNAME.txt b/ask_configuration/SHOWNAME.txt new file mode 100644 index 00000000..b33975d1 --- /dev/null +++ b/ask_configuration/SHOWNAME.txt @@ -0,0 +1,50 @@ +Legends of Tomorrow +Game of Thrones +Sherlock +Shadowhunters: The Mortal Instruments +Jessica Jones +The Walking Dead +Making a Murderer +Arrow +Fargo +The Flash +Downton Abbey +American Horror Story +Homeland +Doctor Who +The Big Bang Theory +The Man in the High Castle +Supernatural +Grey's Anatomy +Mr. Robot +Breaking Bad +The 100 +Once Upon a Time +The Expanse +Luther +Vikings +Gotham +The Vampire Diaries +Narcos +Daredevil +Orange Is the New Black +Sons of Anarchy +Shameless +NCIS +Ash vs Evil Dead +House of Cards +Criminal Minds +Pretty Little Liars +Friends +Modern Family +Dexter +Person of Interest +Fuller House +Suits +Into the Badlands +Supergirl +How I Met Your Mother +Colony +The X-Files +Outlander +The Twilight Zone \ No newline at end of file diff --git a/intent-schema.json b/ask_configuration/intent-schema.json similarity index 85% rename from intent-schema.json rename to ask_configuration/intent-schema.json index 9b194c39..34126a59 100644 --- a/intent-schema.json +++ b/ask_configuration/intent-schema.json @@ -29,19 +29,17 @@ "slots": [] }, { - "intent": "YesIntent", - "slots": [] + "intent": "AMAZON.YesIntent" }, { - "intent": "NoIntent", - "slots": [] + "intent": "AMAZON.NoIntent" }, { "intent": "StartShowIntent", "slots": [ { "name": "showName", - "type": "LITERAL" + "type": "SHOWNAME" } ] }, @@ -50,7 +48,7 @@ "slots": [ { "name": "showName", - "type": "LITERAL" + "type": "SHOWNAME" } ] }, @@ -59,7 +57,7 @@ "slots": [ { "name": "showName", - "type": "LITERAL" + "type": "SHOWNAME" } ] }, @@ -68,7 +66,7 @@ "slots": [ { "name": "showName", - "type": "LITERAL" + "type": "SHOWNAME" }, { "name": "episodeNumber", diff --git a/ask_configuration/sample-utterances.txt b/ask_configuration/sample-utterances.txt new file mode 100644 index 00000000..332ef18a --- /dev/null +++ b/ask_configuration/sample-utterances.txt @@ -0,0 +1,33 @@ +BeginSetupIntent Begin setup +BeginSetupIntent Start setup +BeginSetupIntent Let's get started +ContinueSetupIntent Continue setup +AuthorizeMeIntent Authorize me +AuthorizeMeIntent Sign in to Plex +AuthorizeMeIntent Link my account +WhatsNewIntent Release notes +OnDeckIntent What's new +OnDeckIntent What is new +OnDeckIntent What is on deck +OnDeckIntent What's on deck +StartShowIntent Put on {showName} +StartShowIntent Play {showName} +StartHighRatedEpisodeIntent Put on a good episode of {showName} +StartHighRatedEpisodeIntent Play a good episode of {showName} +StartHighRatedEpisodeIntent Put on {showName} and make it a good one +StartHighRatedEpisodeIntent Play {showName} and make it a good one +StartSpecificEpisodeIntent Play season {one|seasonNumber} episode {one|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play season {two|seasonNumber} episode {two|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play season {three|seasonNumber} episode {three|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play season {four|seasonNumber} episode {four|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play season {five|seasonNumber} episode {five|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play season {six|seasonNumber} episode {six|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {one oh five|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {two oh six|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {three oh seven|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {four oh eight|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {five oh nine|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {one|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {two|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {three|episodeNumber} of {showName} +StartSpecificEpisodeIntent Play episode {four|episodeNumber} of {showName} \ No newline at end of file diff --git a/sample-utterances.txt b/sample-utterances.txt deleted file mode 100644 index 49dfdf22..00000000 --- a/sample-utterances.txt +++ /dev/null @@ -1,59 +0,0 @@ -SetupIntent Begin setup -SetupIntent Continue setup -SetupIntent Set me up -SetupIntent Let's get started -YesIntent Yes -YesIntent Yep -YesIntent Affirmative -YesIntent That's correct -NoIntent No -NoIntent Nope -OnDeckIntent What's new -OnDeckIntent What is new -OnDeckIntent What is on deck -OnDeckIntent What's on deck -StartShowIntent Put on {It's Always Sunny In Philadelphia|showName} -StartShowIntent Put on {Game of Thrones|showName} -StartShowIntent Put on {Last Week Tonight|showName} -StartShowIntent Put on {Halt and Catch Fire|showName} -StartShowIntent Put on {Futurama|showName} -StartShowIntent Play {It's Always Sunny In Philadelphia|showName} -StartShowIntent Play {Game of Thrones|showName} -StartShowIntent Play {Last Week Tonight|showName} -StartShowIntent Play {Halt and Catch Fire|showName} -StartShowIntent Play {Futurama|showName} -StartHighRatedEpisodeIntent Put on a good episode of {It's Always Sunny In Philadelphia|showName} -StartHighRatedEpisodeIntent Put on a good episode of {Game of Thrones|showName} -StartHighRatedEpisodeIntent Put on a good episode of {Last Week Tonight|showName} -StartHighRatedEpisodeIntent Put on a good episode of {Halt and Catch Fire|showName} -StartHighRatedEpisodeIntent Put on a good episode of {Futurama|showName} -StartHighRatedEpisodeIntent Play a good episode of {It's Always Sunny In Philadelphia|showName} -StartHighRatedEpisodeIntent Play a good episode of {Game of Thrones|showName} -StartHighRatedEpisodeIntent Play a good episode of {Last Week Tonight|showName} -StartHighRatedEpisodeIntent Play a good episode of {Halt and Catch Fire|showName} -StartHighRatedEpisodeIntent Play a good episode of {Futurama|showName} -StartHighRatedEpisodeIntent Put on {It's Always Sunny In Philadelphia|showName} and make it a good one -StartHighRatedEpisodeIntent Put on {Game of Thrones|showName} and make it a good one -StartHighRatedEpisodeIntent Put on {Last Week Tonight|showName} and make it a good one -StartHighRatedEpisodeIntent Put on {Halt and Catch Fire|showName} and make it a good one -StartHighRatedEpisodeIntent Put on {Futurama|showName} and make it a good one -StartHighRatedEpisodeIntent Play {It's Always Sunny In Philadelphia|showName} and make it a good one -StartHighRatedEpisodeIntent Play {Game of Thrones|showName} and make it a good one -StartHighRatedEpisodeIntent Play {Last Week Tonight|showName} and make it a good one -StartHighRatedEpisodeIntent Play {Halt and Catch Fire|showName} and make it a good one -StartHighRatedEpisodeIntent Play {Futurama|showName} and make it a good one -StartSpecificEpisodeIntent Play season {one|seasonNumber} episode {one|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play season {two|seasonNumber} episode {two|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play season {three|seasonNumber} episode {three|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play season {four|seasonNumber} episode {four|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play season {five|seasonNumber} episode {five|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play season {six|seasonNumber} episode {six|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {one oh five|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {two oh six|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {three oh seven|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {four oh eight|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {five oh nine|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {one|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {two|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {three|episodeNumber} of {Adventure Time|showName} -StartSpecificEpisodeIntent Play episode {four|episodeNumber} of {Adventure Time|showName} \ No newline at end of file