将对话流与环聊聊天连接时,我在对话流中设置了正常响应。但是来自在 google actions sdk 上运行的 webhook 的消息没有返回消息。
const functions = require('firebase-functions');
const app = dialogflow({debug: true});
const {dialogflow, BasicCard, Permission, Suggestions,} = require('actions-on-google');
app.intent('id', (conv, {name}) =>
{
conv.close(`People here are always available.So,you can call ${name} anytime`)
});
这适用于谷歌助手和网络聊天。只有在谷歌聊天中,回复是空的。