简体   繁体   中英

Context Carry-over with Alexa Conversations not possible?

I'm new to developing skills for Alexa and I'm following the tutorial "Build Multi-turn Skills Tutorial with Alexa Conversations". I've completed the tutorial up to the module Keep Track of the Conversation with Context Carry-over . Everything works so far but in the section "Replace Values with Slots" under step "r. Scroll down to the section that says Responses and select notifySuccess_getRecommendation_context_carry_over from the drop-down." there is no section "Response templates" in the modal. If I leave it as is I get an Error in the dialog menu:

"getRecommendation" under "API to Invoke" requires the same Response for all API Success / API Failure Dialog Acts.

Where do I find the "Response template" section for Alexa Conversations?

The user interface and some of the validations changed since the tutorial was written. You no longer need to link the response template together with the API in that screen.

Your error is not related to the dropdown. Based on the error you're facing, it sounds like you have annotated your dialogs so that a given API (API_1) is not always assigned the same response template across the API_success turns. Try making sure there only one API success response assigned to each API in your skill.

TL/DR: The UI changed. 2 APIs can share 1 API Success response, but the inverse is not true. Check your skill for 1 API with 2+ responses assigned to 'API Success'.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM