How to accept the Free form text as input to Amazon Skill Kit?

后端 未结 3 589
梦毁少年i
梦毁少年i 2021-01-04 03:06

I\'m required to create a Amazon Skill Kit to open a ticket in our ticketing tool. By looking at the examples for Amazon Skill Kit, I couldn\'t find a way of accepting the f

3条回答
  •  北海茫月
    2021-01-04 03:29

    As you think about what users are likely to ask, consider using a built-in or custom slot type to capture user input that is more predictable, and the AMAZON.SearchQuery slot type to capture less-predictable input that makes up the search query.

    You can read more here

    To get the value in your application you will have to this

    event.request.intent.slots.IntentName.value

提交回复
热议问题