question

Pundia avatar image
Pundia asked ·

Alexa doesn't recognize a slot in utterance

I can't find an answer to this, I don't know what I'm doing wrong. Se here's a reduced version of my skill configuration:

Slots:

* Code (Custom slot, which can be something like ABC123)

* Date (AMAZON.DATE)

Utterances:

* What is the status of {Code} from {Date} ?

* What is the status of {Code}?

When I use the test, and ask Alexa any of those utterances, it only detects the Date, not the code.

The code is a combination of letters and numbers. This is an interaction with Alexa test:

open <myskill>
<welcome message>
what is the status of ABC123?
tell me the Code for your request

On the Skill I/O I see this:

"intent": {
	"name": "MyIntent",
	"confirmationStatus": "NONE",
	"slots": {
		"Code": {
			"name": "Code",
			"confirmationStatus": "NONE"
		},
		"Date": {
			"name": "Date",
			"confirmationStatus": "NONE"
		}
	}

If my input is "what is the status of ABC123 from today?" I see this:

"intent": {
	"name": "MyIntent",
	"confirmationStatus": "NONE",
	"slots": {
		"Code": {
			"name": "Code",
			"confirmationStatus": "NONE"
		},
		"Date": {
			"name": "Date",
			"value": "2018-08-19",
			"confirmationStatus": "NONE"
		}
	}

It can recognize the date, but not the code.

What am I missing? Any help would be great, I'm very new at this. Thanks!!

alexa skills kitdebuggingtestingslotsutterances
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.

Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered ·

Hello @Pundia and welcome to our forum.

Can you please share your skill's ID so I can take a better look at it?

Regards,
Barry

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.

newuser-9e30db1f-6517-4120-ab0b-a5fd91a8e2f8 avatar image
newuser-9e30db1f-6517-4120-ab0b-a5fd91a8e2f8 answered ·

Was this issue resolved? I'm having a similar issue while testing a new intent I'm attempting to add.

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.

Hello and thank you for your message.

Can you please share your skill ID so I can take a better look at it?

Regards,
Barry

0 Likes 0 ·
newuser-41cb2480-08e7-4025-9dd3-cb3811e3b872 avatar image
newuser-41cb2480-08e7-4025-9dd3-cb3811e3b872 answered ·

Hi @Pundia, I'm having the same issue. How did you solve it?


Regards,

Juan

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.

Hello and thank you for your message.

Are you still facing this issue? If so, please share your skill ID so I can take a better look at it.

Regards,
Barry

0 Likes 0 ·
daniel avatar image
daniel answered ·

Got a similiar issue with my skill:

amzn1.ask.skill.40235ffb-27f7-4053-8dc2-409fe2e5c5ee


I load the device_name values dynamicly from my webhost and often a not given value match or two values match when one is given exactly char by char.


Please help me out.


I want to start my skill with this utterance:

say shutdown turn off {device_name}


But when i say

say shutdown turn off daniels laptop


The Skill give me a match for daniels laptop and nadine laptop too.


When is say

say shutdown turn off nadine laptop


The slot value is 'nadine' not 'nadines laptop'



I use german language for my skill

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.

Hello @daniel and thanks for your message.

In order to test your skill, can you please provide the original utterances (in German) that are causing the error?

Regards,
Barry

0 Likes 0 ·
newuser-a246288c-8341-4e0a-970d-c804685b04d8 avatar image
newuser-a246288c-8341-4e0a-970d-c804685b04d8 answered ·

Hi @barry@amazon I'm having the same problem too and it only happens sometimes. I'm using both slot type and dynamic entity, not sure if it was the cause. My skill's ID is amzn1.ask.skill.67b47360-0f4b-4563-b8db-a06b92b532d6.

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.

Hello and thank you for the information.

Can you please provide the steps to reproduce your issue?

Regards,
Barry

0 Likes 0 ·