简体   繁体   English

使用Webhook响应作为助理响应的一部分

[英]Use Webhook Response As Part of Assistant Response

Trying to get Dialogflow to respond with webhook response. 试图让Dialogflow响应webhook响应。

I've got Dialogflow receiving the payload without issue, however I cannot get Google to tell me what that data is. 我已经让Dialogflow毫无问题地收到了有效载荷,但我无法让谷歌告诉我这些数据是什么。

JSON payload below. 下面是JSON有效负载。

{
    "payload": {
      "google": {
        "expectUserResponse": false,
        "richResponse": {
          "items": [
            {
              "simpleResponse": {
                "textToSpeech": "this is a simple response"
              }
            }
          ]
        }
      }
    }
  }

At this point, I feel like I'm missing a setup option somewhere. 在这一点上,我觉得我在某个地方错过了一个设置选项。

Dialogflow bot also shows an empty response. Dialogflow bot也显示空响应。

Dialogflow is not compatible with Azure Function you can track the open issue for the same in github repo . Dialogflow与Azure功能不兼容您可以在github仓库中跟踪相同的打开问题。

To workaround this you can build your actions for Google Assistant with Azure Function using Google Client Library. 要解决此问题,您可以使用Google客户端库为Azure功能构建Google助手的操作。

Here is the very nice article that you can refer. 是你可以参考的非常好的文章。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM