Skip to content

Commit

Permalink
Added missing intents, fixed more speech syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
karakarakaraff committed Nov 14, 2017
1 parent 0d3b6e4 commit 0640d57
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 51 deletions.
110 changes: 62 additions & 48 deletions stranger-things-trivia/interactionModel.json
@@ -1,50 +1,64 @@
{
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "AnswerIntent",
"samples": [
"the answer is {Answer}",
"my answer is {Answer}",
"is it {Answer}",
"{Answer} is my answer",
"{Answer}"
],
"slots": [
{
"name": "Answer",
"type": "AMAZON.NUMBER",
"samples": []
}
]
},
{
"name": "DontKnowIntent",
"samples": [
"i don't know",
"don't know",
"i don't know that one",
"dunno",
"skip",
"i don't know that",
"who knows",
"i don't know this question",
"i have no idea",
"no idea",
"next"
],
"slots": []
}
]
"languageModel": {
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.NoIntent",
"samples": []
},
{
"name": "AMAZON.RepeatIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "AMAZON.YesIntent",
"samples": []
},
{
"name": "DontKnowIntent",
"samples": [
"i don't know",
"don't know",
"i don't know that one",
"dunno",
"skip",
"i don't know that",
"who knows",
"i don't know this question",
"i have no idea",
"next"
],
"slots": []
},
{
"name": "GetAnswerIntent",
"samples": [
"the answer is {Answer}",
"my answer is {Answer}",
"is it {Answer}",
"{Answer} is my answer",
"{Answer}",
"it's {Answer}"
],
"slots": [
{
"name": "Answer",
"type": "AMAZON.NUMBER"
}
]
}
],
"invocationName": "stranger things trivia"
}
}
2 changes: 1 addition & 1 deletion stranger-things-trivia/lambda/custom/question.js
Expand Up @@ -56,7 +56,7 @@ module.exports = {
},
{
'Which club do the boys belong to at school?': [
'The AV club',
'The <say-as interpret-as="spell-out">AV</say-as> club',
'The chess club',
'The science club',
'The literature club',
Expand Down
2 changes: 0 additions & 2 deletions stranger-things-trivia/skill.json
Expand Up @@ -6,8 +6,6 @@
"summary": "Prove you're not a mouthbreather with your Stranger Things knowledge.",
"examplePhrases": [
"Alexa, open Stranger Things Trivia",
"Alexa, tell Stranger Things Trivia to start a game",
"Alexa, tell Stranger Things Trivia I want to play"
],
"name": "Stranger Things Trivia",
"description": "Do you believe you're a Stranger Things expert? See if you've got what it takes to join the party and defeat the evil of the Upside Down. Answer 11 questions, and if you get them all correct, congratulations! You have the truest of sight."
Expand Down

0 comments on commit 0640d57

Please sign in to comment.