question

Robert Oschler avatar image
Robert Oschler asked ·

Submit intent schema for slots and utterances for an Alexa Skill in JSON form?

Currently the only way I know how to submit the slots and utterances definitions for an Alexa Skill is through the GUI form based model builder you find at this base URL:

<code>https://developer.amazon.com/alexa/console/ask/build/

I need to submit a huge number of sample utterances for each of my intents that are generated automatically from code I've written. This makes using the GUI at the link above a wildly painful experience.

Is there some way to submit the definition/schema for an intent in raw text or JSON format for my Alexa Skill via the Alexa or AWS consoles? If so, how?

I'm still stunned I can't get the raw speech recognition input directly. I've tried the Amazon.Literal and Amazon.SearchQuery slots but that still doesn't get you the same level of quality and versatility as the raw speech recognition results you get from Google's speech recognition engine when developing a Google Home or Google Assistant app.

alexa skills kitintentsslotsskill builder
10 |2000 characters needed characters left characters exceeded

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

adamderann avatar image
adamderann answered ·

Below the list of intent names in the GUI there's a link called 'JSON Editor' and if you click on there you can get/edit the json interaction model or upload a new one in json format.

And no there is no way to get raw text spoken as of yet :(

10 |2000 characters needed characters left characters exceeded

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

Robert Oschler avatar image
Robert Oschler answered ·

Thanks @adamderann,

I noticed that the generated JSON that shows up after you click the JSON editor link, has a "samples" array where I expected to find an "utterances" array. Did the "utterances" array get renamed to "samples"?

1 comment
10 |2000 characters needed characters left characters exceeded

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

Samples == Utterances

3 Likes 3 ·