actions-on-google

What's the difference between ActionsSdkApp and DialogflowApp for Google Assistant

半腔热情 提交于 2020-08-22 04:56:34
问题 In order to build a Google Assistant app, Google provides two different APIs as part of their node.js actions-on-google library : ActionsSdkApp DialogflowApp There have a common interface, but I don't understand what the difference is between the two and why I would use one or the other. 回答1: In short, these two objects provide similar (although not identical) methods to handle requests and provide results for two default ways Google allows you to build an Action for the Assistant. The

Getting Issue during re-calling the intent after rejecting Google Account linking

烈酒焚心 提交于 2020-08-10 22:24:33
问题 Below is my chatbot structure Intent 1 (result): Here User will ask for a result. It will do the account linking and check the email id registration on their server whether it is registered or not via API and showing the result. app.intent('result', (conv,{date})=>{ var userDate = date; var apiUserEmailID= conv.data.apiUserEmailID; var apiUserKey= conv.data.apiUserKey; console.log("apiUserKey : "+apiUserKey); if (typeof (apiUserKey) == "undefined" || apiUserKey == "" || apiUserKey == null) {

Getting Issue during re-calling the intent after rejecting Google Account linking

一曲冷凌霜 提交于 2020-08-10 22:22:11
问题 Below is my chatbot structure Intent 1 (result): Here User will ask for a result. It will do the account linking and check the email id registration on their server whether it is registered or not via API and showing the result. app.intent('result', (conv,{date})=>{ var userDate = date; var apiUserEmailID= conv.data.apiUserEmailID; var apiUserKey= conv.data.apiUserKey; console.log("apiUserKey : "+apiUserKey); if (typeof (apiUserKey) == "undefined" || apiUserKey == "" || apiUserKey == null) {

actions-on-google-dialogflow-session-entities-plugin not working in dialogflow's inline editor

南笙酒味 提交于 2020-08-08 05:39:27
问题 I haven't been able to create a Session Entity in Inline Editor, using this plugin: actions-on-google-dialogflow-session-entities-plugin. I declared the variable/package: const { sessionEntitiesHelper } = require('actions-on-google-dialogflow-session-entities-plugin'); Updated my json package "dependencies": { "actions-on-google": "^2.12.0", "firebase-admin": "^6.4.0", "firebase-functions": "^2.1.0", "dialogflow": "^4.0.3", "dialogflow-fulfillment": "^0.6.1", "google-auth-library": "^1.6.1",

actions-on-google-dialogflow-session-entities-plugin not working in dialogflow's inline editor

寵の児 提交于 2020-08-08 05:39:07
问题 I haven't been able to create a Session Entity in Inline Editor, using this plugin: actions-on-google-dialogflow-session-entities-plugin. I declared the variable/package: const { sessionEntitiesHelper } = require('actions-on-google-dialogflow-session-entities-plugin'); Updated my json package "dependencies": { "actions-on-google": "^2.12.0", "firebase-admin": "^6.4.0", "firebase-functions": "^2.1.0", "dialogflow": "^4.0.3", "dialogflow-fulfillment": "^0.6.1", "google-auth-library": "^1.6.1",