question

pierre2016 avatar image
pierre2016 asked

ask works, tell doesn't

My skill is in development and when I test it from the device it works pretty nicely with ask, for example "Alexa ask caldo to...". If I use 'tell' it constantly fails, for example "Alexa tell caldo to...". How can I make it work with "tell"? Thanks
alexa skills kitsubmission testing certification
10 |5000

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

octaviom avatar image
octaviom answered
What is the response you get ? Can you post some code?
10 |5000

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

pierre2016 avatar image
pierre2016 answered
I don't get any response and my code isn't called at all.
10 |5000

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

pierre2016 avatar image
pierre2016 answered
And for the sake of precision, both ask and tell work from the simulator. Just the device tell is not working
10 |5000

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

polohero avatar image
polohero answered
I had a similar scenario. No matter what I did I could not get my skill to be executed for the single fire mode. I always had to initiate the entire conversation and it worked when I was in the stimulator. What I found was I was missing the word "to". I was saying "Alexa, ask {skill} {intent}". Instead of " Alexa, ask {skill} to {intent}". Without the "to" she didn't know what to do. Using the word tell works for me without doing anything special so double check the rest of your sentence is correct.
10 |5000

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

memo@amazon avatar image
memo@amazon answered
Hi Pierre, Can you check what Echo is hearing for each of the utterances (ask and tell) from the companion app, and report back please? Here's how to do it from the website: - Go to echo.amazon.com - Log in with the account that's linked to your echo - Click on 'Settings' form the navigation pane on the left. - Click on 'History' You can see a history of what Echo has heard with a time stamp form there.
10 |5000

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

pierre2016 avatar image
pierre2016 answered
Hello, Here are the results: "Alexa ask caldo what is the temperature" => OK, calling my skill "Alexa tell caldo what is the temperature" => FAIL, telling the weather in my area "Alexa ask caldo I'm cold" => FAIL, the recognition is correct, I see the card "ask caldo i'm cold" but my skill has not been invoked. Note that "I'm cold" is part of utterance sample "Alexa tell caldo I'm cold" => FAIL, the recognition is correct, I see the card "tell caldo i'm cold" but my skill has not been invoked. Note that "I'm cold" is part of utterance sample "Alexa tell caldo I'm hot" => FAIL, the recognition is correct, I see the card "tell caldo i'm hot" but my skill has not been invoked. Note that "I'm hot" is part of utterance sample "Alexa tell caldo I'm hot" => FAIL, the recognition is correct, I see the card "ask caldo i'm hot" but my skill has not been invoked. Note that "I'm hot" is part of utterance sample "Alexa ask caldo can you please lower the temperature" => OK, calling my skill "Alexa tell caldo can you please lower the temperature" => FAIL, got sorry "which device did you mean? "can you please lower the temperature" is part of the samples Do you want me to collect more data? The failure rate is pretty high even saying the exact same utterance in the samples. Thanks, Pierre
10 |5000

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

Galactoise avatar image
Galactoise answered
We did a ton of manual testing when we submitting InsultiBot and CompliBot, and we definitely noticed a difference between "ask" invocations and "tell" invocations. They absolutely do not resolve in the same way. What we found is that if your utterances matched a valid speech pattern, they were much more likely to map correctly. So for example, something like: "Alexa, ask CompliBot who built you" would work fine, but "Alexa, tell CompliBot who built you" would rarely trigger. You can't just swap out the one-shot verbs for each other. The biggest thing we noticed is that you really need the word "to" after your skill name. Basically, the "tell" verb is best suited to be a command, not as a way to inform the skill. I'd expect "Alexa, tell (skillname) [b]to[/b] (do some action)" is much more likely to work than "Alexa, tell (skillname) [b]that[/b] (some piece of information)". I see that you have some awkward utterances in there a few times, so I'd suggest trying to avoid those if possible. One other note - if your invocation name is actually "Caldo", and that's not in Amazon's lexicon, it's going to make all of your utterances perform more poorly regardless of how they are organized.
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
What's probably going on, since this is an invocation, is that The Echo has more stuff mapped to "tell" than to "ask". So when is resolving "tell", you have to invisibly compete against the confidence index of all that other stuff, and probably less with "ask". Since they have their own commercial interests at stake when resolving non-skills, they are probably going to bias things that way. I tend to avoid one-shot skills. "open" almost always works. I would guess because there are few intrinsic things that it competes against.
10 |5000

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