Amazon Alexa: store user's words

前端 未结 6 1556
日久生厌
日久生厌 2020-12-05 10:38

I\'m new to writing Alexa skills and want to write a skill to store the speaker\'s words.
For example, if I say, \'Alexa, save {whatever i say}\', it should save the wor

6条回答
  •  感情败类
    2020-12-05 11:16

    You can try using the slot type AMAZON.SearchQuery. So you intent would be something like this

    {
      "intents": [
        {
          "intent": "SaveIntent",
          "slots": [
            {
              "name": "UpdateText",
              "type": "AMAZON.SearchQuery"
            }
          ]
        }
      ]
    }
    

提交回复
热议问题