question

newuser-869689b1-5ef6-458b-9b6e-8d2f8c34cfe9 avatar image

Failing validation on "Example phrases should contain the sample utterances that you have provided. The skill's example phrases should contain the sample utterances that you have provided. "

I'm trying to certify my skill (genius haiku) and I'm getting the following error:


Example phrases should contain the sample utterances that you have provided.


The skill's example phrases should contain the sample utterances that you have provided. For example: "Alexa, ask {your invocation name} to {sample utterance present in your intent}." The example phrases (s) that do not contain your sample utterances are provided below.
alexa open genius haiku for a poem
alexa launch genius haiku to tell me a poem
alexa ask genius haiku to tell me something


The JSON for the skill is below. As you see, all the utterances are mentioned there, despite that i am getting an error. please help.


{
    "interactionModel": {
        "languageModel": {
            "invocationName": "genius haiku",
            "intents": [
                {
                    "name": "AMAZON.CancelIntent",
                    "samples": []
                },
                {
                    "name": "AMAZON.HelpIntent",
                    "samples": []
                },
                {
                    "name": "AMAZON.StopIntent",
                    "samples": []
                },
                {
                    "name": "HelloWorldIntent",
                    "slots": [],
                    "samples": [
                        "hello",
                        "how are you",
                        "say hi world",
                        "say hi",
                        "hi",
                        "say hello world",
                        "say hello"
                    ]
                },
                {
                    "name": "AMAZON.NavigateHomeIntent",
                    "samples": []
                },
                {
                    "name": "AMAZON.FallbackIntent",
                    "samples": []
                },
                {
                    "name": "GetHaikuIntent",
                    "slots": [],
                    "samples": [
                        "launch genius haiku to give me a haiku",
                        "launch genius haiku to read me a haiku",
                        "launch genius haiku to tell me a haiku",
                        "launch genius haiku to give me a poem",
                        "launch genius haiku to read me a poem",
                        "launch genius haiku to tell me a poem",
                        "open genius haiku for a poem",
                        "open genius haiku to give me a haiku",
                        "ask genius haiku to read me a poem",
                        "ask genius haiku to tell me something",
                        "ask genius haiku to read me a haiku",
                        "tell genius haiku to read me something",
                        "tell genius haiku to give me a poem",
                        "tell genius haiku to read me a poem",
                        "tell genius haiku to give me a haiku",
                        "tell genius haiku to read me a haiku"
                    ]
                }
            ],
            "types": []
        }
    }
}
utterances
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

James@Amazon avatar image
James@Amazon answered

Hello! Thanks for writing in. For the example phrases, it looks like the issue is that you're adding launch, ask, open, tell to the backend. You do not need to add the connecting words to your example phrases. For more information please see:

https://developer.amazon.com/en-US/docs/alexa/custom-skills/best-practices-for-sample-utterances-and-custom-slot-type-values.html#sample-utterances-for-starting-a-conversation

10 |5000

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