通过Actions SDK对Google动态NO_INPUT响应执行的操作

时间:2019-12-08 17:08:38

标签: actions-on-google

配置了action.json并将这些请求路由到服务器后,是否有人能够从AoG获得“ NO_INPUT”请求?

我收到的是“ actions.intent.CANCEL”意图请求,但没有收到“ actions.intent.NO_INPUT”

我的action.json文件...

{
  "actions": [
    {
      "description": "Default Welcome Intent",
      "name": "MAIN",
      "fulfillment": {
        "conversationName": "thebigbadtest"
      },
      "intent": {
        "name": "actions.intent.MAIN",
        "trigger": {
          "queryPatterns": [
            "talk to the Sophmora"
          ]
        }
      }
    }
  ],
  "conversations": {
    "thebigbadtest": {
      "name": "thebigbadtest",
      "url": "https://api.oogum.io/rest/aog/agents/GYuM1j2At8eVLOqh8m1q/apprequests",
      "inDialogIntents": [{
          "name": "actions.intent.CANCEL"
        }, {
          "name": "actions.intent.NO_INPUT"
        }] 
    }
  },
  "locale": "en"
}

0 个答案:

没有答案