question

newuser-c77a7694-8475-4cb6-a6ac-6cf1a199ff69 avatar image

What does the Default value mean in CanfulfillmentIntentRequest's slots that implemented resolution?

As per the CanFulfillIntentRequest documentation:


"Default values using the entity resolution implementation from the Alexa Skills Kit

The Alexa Skills Kit provides entity resolution. If your skill uses the entity resolution data to understand slot values, the default value for canUnderstand is as follows.

  • Set canUnderstand = "YES" if entity resolution successfully resolves slot value.

  • Set canUnderstand = "NO" if entity resolution does not resolve slot value.

If you want, you can overwrite the default."


I am wondering what does the default mean here? How can we know which slot is set by default without getting the entity resolution from the request? Does it mean that if we didn't return the canUnderstand value for the slot, the slot will be set by default if we used entity resolution?

Thank you very much for the help.


canfulfillintentrequest
10 |5000 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.

1 Answer

Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hello and thank you for your message.

When receiving the CanFulfillIntentRequest, you can check if the entity resolution has been provided and respond to it accordingly.

If you don't return the canUnderstand value, then it is not a valid response to a CanFulfillIntentRequest and your skill might not be considered for name free invocation for that particular intent/slot.

Regards,
Barry

10 |5000 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.