Hello everyone,I try to retrieve the ID of my intent and show alexa to say it but she don't want. My input:"intent": { "name": "SearchMovieByGenre", "confirmationStatus": "NONE", and "slots": { "movie_type": { "name": "movie_type","value": "thriller", "resolutions": { "resolutionsPerAuthority": [ { "authority": "amzn1.er-authority.echo-sdk.amzn1.inquire of.skill.cf6fadf1-c082-4e27-bd8f-83a52edfc9f8.movie_genre", or "status": {
"code": "ER_SUCCESS_MATCH" },"values": [ { "value": { "name": "thriller", "id": "13023A"
} } ] } ] }, or "confirmationStatus": "NONE","source": "USER"
} }
}Screenshot of the code (more easy to read) :[/storage/attachments/8347-code-alexa.png]I try this:speech_text = handler_input.request_envelope.request.intent.slots['movie_type'].resolutions.resolutionsPerAuthority[0].values[0].value.name
But it doesn't work even thoug the path seems satisfactory.
I read found the path here :https://developer.amazon.com/blogs/alexa/post/5882651c-6377-4bc7-bfd7-0fd661d95abc/entity-resolution-in-skill-builderhttps://developer.amazon.com/docs/custom-skills/define-synonyms-and-ids-for-slot-type-values-entity-resolution.htmlThanks for your help and have a nice day.
Source: amazon.com