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

Tom avatar image
Tom asked

Struggling to get schema and utterances for the color guessing example

I've been struggling to get a workable schema and sample utterances for the color guessing app. (see below). Could someone point me in the right direction? Or better yet can someone share a set that worked for them so I could learn from that. Thanks, Tom ---------------------------------------------------- { "intents": [ { "intent": "SandBoxTen", "slots": [ { "name": "Color", "type": "LITERAL" } ] } ] } ------------------------------------------------ SandBoxTen sandbox ten SandBoxTen my favorite color is {green|Color} SandBoxTen my favorite color is {red|Color} SandBoxTen my favorite color is {silver|Color} SandBoxTen my favorite color is {purple|Color}
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.

Fawn@Amazon avatar image
Fawn@Amazon answered
Hi Tom, I work with the speech team here at Amazon - could you tell me more about the issues that you're having? Just a note on the samples below, you will want to make sure that you add many more examples to help diversify the Color slot. The models learn by using the examples you provide, so when you have only a few examples, the model will learn to prefer those responses, so that even when something like "orange" is recognized, if you don't have that in the model, it will try to pick one of the things that you do have and return that instead. The more examples that you have in the training data, the less each specific example will be preferred. This is how you achieve results that will allow the recognized value to be returned, because as the field becomes more diverse for that value, the model will learn that it doesn't need to map to those few values, but to whatever is coming in in that slot. Please let me know if there are other specific questions I can help with! Best, Fawn
10 |5000

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

Nick Gardner avatar image
Nick Gardner answered
Hi, The schema and utterances to use for the color example are provided as part of the documentation on how to setup your app in lambda: https://developer.amazon.com/public/solutions/devices/echo/alexa-app-kit/docs/developing-your-alexa-appkit-app-as-a-lambda-function#sample-app-interaction-model You can just copy and paste those. Thanks, Nick (edited to fix link)
10 |5000

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

The Stig avatar image
The Stig answered
Nick - this results in a 404 link
10 |5000

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

The Stig avatar image
The Stig answered
Here you go Thomas [b]Intent Schemas[/b] { "intents": [ { "intent": "MyColorIsIntent", "slots": [ { "name": "Color", "type": "LITERAL" } ] }, { "intent": "WhatsMyColorIntent", "slots": [] } ] } [b]Sample Utterances[/b] MyColorIsIntent my color is {dark brown|Color} MyColorIsIntent my color is {green|Color} MyColorIsIntent my favorite color is {red|Color} MyColorIsIntent my favorite color is {navy blue|Color} WhatsMyColorIntent whats my color WhatsMyColorIntent what is my color WhatsMyColorIntent say my color WhatsMyColorIntent tell me my color WhatsMyColorIntent whats my favorite color WhatsMyColorIntent what is my favorite color WhatsMyColorIntent say my favorite color WhatsMyColorIntent tell me my favorite color WhatsMyColorIntent tell me what my favorite color is
10 |5000

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

Tom avatar image
Tom answered
Thanks RJS. It's still not recognizing my response. We're having problems with other app.s as well. Our best guess is that our Echo device is not properly registered with the Echo speech server. @Fawn and NickG: It may not be intentional but it sure seems to us that team Honeywell is getting the cold shoulder. We've been struggling for about 2 months to get something -- ANYTHING -- working. When we ask for help, we get answers like NickG's above that lead to dead ends. No where can we find, in one place, a complete Javascript app. that includes everything needed to make it work on Lamda including the handler code, schema, sample utterances, etc. Likewise the timeouts you impose on our access to the on line tools. We've already executed NDA's. What's the point of forcing us to close all our open tabs and log in again every 15 min. -- even if we're actively using them? Then we have to log in all over again using that very convoluted process? No one from Amazon has answered our last plea for help posted on 6/18. See: https://forums.developer.amazon.com/forums/message.jspa?messageID=17096#17096 I also sent that directly to alexa-echo-developers@amazon.com at the same time and even tried calling lab126 (just a machine that suggests dead end extensions). If I'm wrong, and I hope I am, would some one on the Alexa developer's team please email or call me directly? You got all my contact info. during registration. Likewise would some one verify that everything's as it should be between our Echo and the Echo speech server? Thanks in advance. Best, Tom
10 |5000

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

Fawn@Amazon avatar image
Fawn@Amazon answered
Hi Tom, I can't personally answer these questions, but I'll see if I can track down someone that can! Let me draw this post to the attention of someone on our functional team, and we'll see if we can get you some answers! Best, Fawn
10 |5000

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

Nick Gardner avatar image
Nick Gardner answered
Sorry for the incorrect link, there were some issues pasting it into the forum. Here is the correct link: https://developer.amazon.com/public/solutions/devices/echo/alexa-app-kit/docs/developing-your-alexa-appkit-app-as-a-lambda-function#sample-app-interaction-model I will edit my original post with the correct link for anyone else that comes to this thread. As to NDAs, there is no longer any NDA for the Alexa AppKit. Thanks for your feedback on the developer portal timeouts. Please let us know if this works and if you have any more questions. Thanks, Nick
10 |5000

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

Matt Kruse avatar image
Matt Kruse answered
If you're using javascript/Node, you might be interested in my alexa-app module. I'll be releasing a big update in the next day or two. It greatly simplifies building an Alexa app, and will even have built-in lambda support. It is quite a struggle to get an Alexa app working, I agree. It doesn't seem that hard, but lining up all the pieces to make them work correctly gets confusing!
10 |5000

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

The Stig avatar image
The Stig answered
>It is quite a struggle to get an Alexa app working, I agree. It doesn't seem that hard, but lining up all the pieces to make them work correctly gets confusing! Story of my life right there (well the past few months anyway)
10 |5000

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

Fawn@Amazon avatar image
Fawn@Amazon answered
Hi Tom, just wanted to check in - have Nick's post and the newly released developer guides helped to solve your issue? If not I can keep digging for answers!
10 |5000

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