Alexa Skills Set SDK - increase timeout of skill

后端 未结 3 2025
情深已故
情深已故 2021-01-16 08:23

I am building an Alexa instructional exercise skill using the Alexa Skill Set SDK on nodejs. I am saving each cooking step to the DB, therefore if the skill times out, the u

相关标签:
3条回答
  • 2021-01-16 08:57

    The following solution is bit of a hack and not recommended, but may serve your purpose.

    Just modify your response like below:

    <speak>
    
        Tell recipe step here. 
        <audio src="<-- Hosted silent mp3 file URL -->" /> 
    
    </speak> 
    

    You can add a silent mp3 file in your response. Your skill will be on for the time of that mp3 file.

    But to interrupt Alexa in the mid of this response, user will have to say Alexa, next step instead of Next step.

    0 讨论(0)
  • 2021-01-16 09:01

    There is API you could call to provide progressive response

    0 讨论(0)
  • 2021-01-16 09:06

    I have been trying to do this for quite awhile. There have been several responses on the Amazon developer forums from folks at Amazon (for example, this response) that state that the approximate 8-10 second timeout is not configurable.

    0 讨论(0)
提交回复
热议问题