如何根据发送的参数和意图简单地响应dialogflow Webhook的完成 [英] How to simply respond to a dialogflow webhook fullfilment based on the parameters and intent that is sent

查看:74
本文介绍了如何根据发送的参数和意图简单地响应dialogflow Webhook的完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对nodeJS还是很陌生,我想知道如何制作一个服务器,该服务器可以根据dialogflow中的意图和参数来响应dialogflow的webhook实现。

I'm quite new to nodeJS and I want to know how could I make a server that will respond to dialogflow's webhook fulfillment based on the intents and the parameters in dialogflow.

推荐答案

我鼓励您遵循此动作代码实验室。这将帮助您在本地环境中设置Webhook部署。
然后按照来解析实现中的参数

I would encourage you to follow this Actions Codelab. It would help you setup your webhook deployment on your local environment. Then follow this to parse parameters in your fulfillment.

希望有帮助!

这篇关于如何根据发送的参数和意图简单地响应dialogflow Webhook的完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆