actions-on-google

Dialogflow Google Assistant Alpha release always failing with the following message: “For en: Your sample pronunciations are structured incorrectly.”

馋奶兔 提交于 2021-02-20 09:41:11
问题 Alpha release of Google assistant not working. It always showing the message: "For en: Your sample pronunciations are structured incorrectly. 回答1: This seems to indicate a problem with the "additional invocation phrases" setup in the directory information. 回答2: This happens when you rename your action once it is released. Go To Deploy > Directory Information > Additional invocation phrases and replace the invocation phrase with the updated action name. This has to match your action invocation

Actions on google's python SDK?

↘锁芯ラ 提交于 2021-02-11 14:29:57
问题 I developed a smart home device cloud service that's based on python, but while trying to integrate it with actions on google, their library for python is "Google Assistant Library for Python is deprecated as of June 28th, 2019, Use the Google Assistant Service instead." i went to the google assistant service page and it says that python is "You can't launch commercial devices that integrate with the Google Assistant SDK. It's available for experimental and non-commercial uses only." why is

Testing the Google Smart Home Action

和自甴很熟 提交于 2021-02-10 18:10:31
问题 I have developed and released Smart Home Action, Now I need to test it because I will modify that Action. It will be a test with Actions on Google Project with released actions, If I enable test, Is it okay to understand that the following is displayed in the list of Smart Home Actions and can be used separately? Does not it affect the released Action? [the list of Smart Home Actions] [test] xxx Action ←Test Action xxx Action ←Released Action If you know of this,please let me know. 回答1: You

Testing the Google Smart Home Action

我的梦境 提交于 2021-02-10 18:06:44
问题 I have developed and released Smart Home Action, Now I need to test it because I will modify that Action. It will be a test with Actions on Google Project with released actions, If I enable test, Is it okay to understand that the following is displayed in the list of Smart Home Actions and can be used separately? Does not it affect the released Action? [the list of Smart Home Actions] [test] xxx Action ←Test Action xxx Action ←Released Action If you know of this,please let me know. 回答1: You

How to add different fallback intents for different intents

纵饮孤独 提交于 2021-02-10 12:43:46
问题 How to add different fallback intents for different intents? So that user will see appropriate message instead of common fallback message. 回答1: If you are developing your own webhook to handle requests and response, it would be better to use Default Fallback intent for all the intents. Add an output context to each of your individual intents and based on this context you can respond back from the webhook using the single Default Fallback Intent like switch(inputContextToDefaultFallback){ case

How to add different fallback intents for different intents

痞子三分冷 提交于 2021-02-10 12:43:00
问题 How to add different fallback intents for different intents? So that user will see appropriate message instead of common fallback message. 回答1: If you are developing your own webhook to handle requests and response, it would be better to use Default Fallback intent for all the intents. Add an output context to each of your individual intents and based on this context you can respond back from the webhook using the single Default Fallback Intent like switch(inputContextToDefaultFallback){ case

Request Sync always returns 404 : “Error: Requested entity was not found.”

半世苍凉 提交于 2021-02-10 06:15:21
问题 I'm having a hard time implementing requestSync. It always returns "error": { "code": 404, "message": "Requested entity was not found.", "status": "NOT_FOUND" } I use Node.js/Express for the backend. The linking/unlinking with the Google Home app work and my actions work as well. It's really the requestSync part that fails. The closest ticket I've found, though not exactly the same, is this one. Things I've tried agentUserId is a string, but if I pass it a number it returns a 400 with the

Create actions-on-google object from Express request

旧城冷巷雨未停 提交于 2021-02-08 07:19:26
问题 The documentation here shows this code example for creating an Actions SDK object for Express: const express = require('express'); const bodyParser = require('body-parser'); const expressApp = express().use(bodyParser.json()); expressApp.post('/fulfillment', app); expressApp.listen(3000); But I need to do something like this: const express = require('express'); const bodyParser = require('body-parser'); function func (req, res) { let headers = req.headers; let body = req.body; console.log

Create actions-on-google object from Express request

梦想与她 提交于 2021-02-08 07:19:16
问题 The documentation here shows this code example for creating an Actions SDK object for Express: const express = require('express'); const bodyParser = require('body-parser'); const expressApp = express().use(bodyParser.json()); expressApp.post('/fulfillment', app); expressApp.listen(3000); But I need to do something like this: const express = require('express'); const bodyParser = require('body-parser'); function func (req, res) { let headers = req.headers; let body = req.body; console.log

Is there a way to trigger different query while filling the required slots in dialogflow

青春壹個敷衍的年華 提交于 2021-02-07 07:15:26
问题 I have an intent orderPizza and entities as @pizzaOptions @pizzaSize @qty happy path (working fine) user: order 2 pizza bot: which pizza you want? user: pepperoni bot: and pizza size? user: large bot: okay! your order for 2 large pepperoni pizza has been placed. CASE_2 user: order 2 pizza bot: which pizza you want? user: which pizza options do you have? bot: which pizza you want? so in case 2 when user ask for the pizza Options then bot re-prompt the same question I want bot to answer the