IBM Watson Assistant:如何从对话框调用Web操作?

时间:2019-04-08 08:00:18

标签: ibm-cloud ibm-watson watson-assistant

我正在尝试按照以下官方json规范从IBM Watson Assistant的对话框中连接Web动作。

  "actions": [
    {
      "name": "/rajesh@heltha.co_dev/default/callKinvey",
      "type": "web_action",
      "parameters": {
        "message": "Hello"
      },
      "credentials": "$private.mycredential",
      "result_variable": "context.my_input_returned"
    }
  ]

但是,我收到以下错误,在IBM Watson Assistant技能测试工具触发的请求响应中可以看到。

    "log_messages": [
      {
        "level": "err",
        "msg": "Direct CloudFunctions call was not successful. Http response code is [404]."
      },
      {
        "level": "err",
        "msg": "Direct CloudFunctions web_actions call was not successful. Response is [The requested resource does not exist.]."
      }
    ]

有没有人可以帮助我使其正常工作?并提供解决此问题的详细说明。

0 个答案:

没有答案