Announcement: The Alexa Skills Community Is Moving To Stack Overflow

For improved usability and experience, Alexa skills related forum support will be transitioned to Stack Overflow. Effective January 10, 2024, the Amazon Developer Forums will no longer be available. For continued Alexa skills support you can reach out to us on Stack Overflow or via Contact Us.

question

Frank Giuffrida avatar image
Frank Giuffrida asked

Dealing with proper names

In the scorekeeper example in the AlexaSkillsKit, it handles obtaining proper names something like this: AddPlayerIntent player {cooterbar|PlayerName} AddPlayerIntent player {billybob|PlayerName} AddPlayerIntent player {bad willy|PlayerName} AddPlayerIntent player {snoop dog|PlayerName} AddPlayerIntent player {w. c.|PlayerName} AddPlayerIntent player {prof|PlayerName} AddPlayerIntent player {bad news sebastian|PlayerName} AddPlayerIntent player {random|PlayerName} AddPlayerIntent player {fig|PlayerName} AddTeamNameIntent team {superguysTeamName} AddTeamNameIntent team {walk tall and carry a stick|TeamName} AddTeamNameIntent team {blue tractor|TeamName} AddTeamNameIntent team {banfields|TeamName} What should one do, if they want the user to speak team or player names at the beginning of a game? Even if I could have those gathered via a database call, how can one change the intents to expect them? If you have intents in place, Alexa seems to recognize pretty weird stuff, but if you don't there seems to be little chance that Alexa will guess the correct proper name you are uttering. Are there any current alternatives to changing the Sample Utterances and going though re-certification every time a new player/team wants to play the game? (aside from team 1, team 2, etc....)
alexa skills kitvoice-user interface
10 |5000

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

jjaquinta avatar image
jjaquinta answered
You can't change utterances dynamically. I put in a feature request for that a while back. What I really wanted was to be able to enable/disable intents based on the state of the program.
10 |5000

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

Ross@Amazon avatar image
Ross@Amazon answered
Non-standard utterances need to be made part of the sample utterances in order for this to work. The development team has received the feature request for the ability to dynamically enable and disable intents.
10 |5000

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