question

Bradley Ward avatar image
Bradley Ward asked

My First Alexa Custom Skill - Not Recognizing My Response Utterances

I am jumping into Alexa Custom Skill development, and I have been following a tutorial that has shown me how to build a simple game where you guess a number between 1 and 10.

I've gotten everything working; launch intent, prompting the user, handling phrases like "new game", etc. And I've learned a ton!

But there is one thing I have not been able to get working.

I've defined an AnswerIntent, and it has a single slot {TheGuessValue} of type AMAZON.Number.

Earlier this evening I was getting the model to run, and was seeing TheGuessValue come in, but it had no value.

Now, I'm getting the build error "Prompt id "" for slot "TheGuessValue" is not present in prompts, but is referenced in the dialog model for intent "AnswerIntent", and I do not understand that message. TheGuessValue is supposed to be what the user answers with. How can I use that in the prompt that is spoken to the user earlier in the interaction?

Please advise, or point me to a tutorial that will help me understand how to get this working.

Thanks,

Brad

slotsutterances
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Andy Whitworth avatar image
Andy Whitworth answered

Post up the JSON representation of your voice model and I'll have a look.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.