question

MerryOscar_Opearlo avatar image
MerryOscar_Opearlo asked

Is Entity Resolution JSON Present in a CanFulfillIntentRequest

Is Entity Resolution JSON Present in a CanFulfillIntentRequest ?

In the examples in the docs the JSON structure of the intent looks like this:

<code>"intent":{"name":"MyNameIsIntent","slots":{"name":{"name":"name","value":"Jeff"}}},

Which does not include any entity resolution information.

Ideally I would want to use entity resolution info to determine whether we can understand and fulfill the request - will this information be available in these request types?

alexa skills kitdialog directivecanfulfillintentrequest
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.

Anand@Amazon avatar image
Anand@Amazon answered

Hello MerryOscar,

Thanks for posting !!!

This feature is not supported as of now but can be a good feature request which you can raise here to product team for future updates.

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.

D. Daniels avatar image
D. Daniels answered

It appears that the Name-free interaction canFulfillIntent feature does use entity resolution to set default values for slot canUnderstand/canFulfill.

https://developer.amazon.com/docs/custom-skills/understand-name-free-interaction-for-custom-skills.html#canunderstand-management

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