actions-on-google

What are the review requirements regarding QUERY intents?

安稳与你 提交于 2019-12-24 20:07:12
问题 Due to hardware restrictions, we are unable to retrieve the current status of many of our lights (their color/brightness/etc.). In the QA test cases spreadsheet found here, at the bottom under Deploying , a number of QUERY intents are listed to be tested. Does this mean our Smart Home application will not be able to pass certification? Thank you for reading. 回答1: There is some expectation from the user to know the status of your their house at any time. If you cannot retrieve the state

Actions on Google - configure Simulator to display my test app

大憨熊 提交于 2019-12-24 18:55:24
问题 My test app is displayed only on the 'display' tab and not on the conversation menu on the left. Expected: Actual: How can it be fixed? 回答1: A short term fix, until the bug in the simulator is resolved, is to change your surface. You can switch to speaker if you want to hear the response. Note that you can only swap surfaces when you are not in an active conversation, if you are in one, just click cancel, and then switch surfaces. If you do switch to speaker you will not see the display

AOG implicit account linking - How to reset?

蹲街弑〆低调 提交于 2019-12-24 17:02:22
问题 I have setup an implicit account linking page. I tested it with AOG - all good, surface checked, user sent over to the phone app if needed, link worked (status OK, accessToken present). Now I can't figure out how to reset the user id or the account linking status to repeat this. It's not just testing. The user could need a new token for many other reasons. Currently if I initiate a subsequent SING_IN it comes back immediately with an OK and the accessToken. 回答1: If you are using the Implict

How to wait for this fetch JSON request before proceeding to the welcome intent <speak> command

ε祈祈猫儿з 提交于 2019-12-24 08:24:28
问题 I'm trying to use fetch to get a json object, and this does work correctly. Then I'm assigning a string based on the data and want to use that string in the ssml response...doing it the way I have it now it is about 300 ms too slow and the var is undefined, if I try to place the ssml response elsewhere in this code it comes up with an error "No response has been set". Can anyone point me in the right direction, I've literally been on this issue for 5 days in a row (already gave up on

How to reply back a user with his/her name using Dialogflow?

十年热恋 提交于 2019-12-24 07:58:58
问题 I want to know how to reply back a user with his/ her name? For example: AppName : Hello, may I ask your name? User : My name is John AppName : Welcome John to $appname I want to do this without webhook or fulfillment. I just want to do with Dialogflow . 回答1: You can create an Intent in Dialogflow that takes the user's name as a parameter. You then reference this parameter using $parameter_name in the reply string. If you want this maintained for future calls in your conversation, you can add

Is there a way to simply follow a URL in the Caroussel Selector?

怎甘沉沦 提交于 2019-12-24 06:07:53
问题 I am trying to figure out how I can embed Google Actions responses, such as the cards carousel, in a webhook response for DialogFlow. According to the documentation, the structure looks as following: "carouselSelect": { "items": [ { "optionInfo": { "key": "MATH_AND_PRIME", "synonyms": [ "math", "math and prime", "prime numbers", "prime" ] }, "title": "Math & prime numbers", "description": "42 is an abundant number because the sum of its proper divisors 54 is greater...", "image": { "url":

Simulator responds with “voice not recognized”

岁酱吖の 提交于 2019-12-24 03:06:39
问题 When using the simulator in the Actions Console, I get the response: "Since your voice wasn’t recognized, I can’t do that right now. Check the Voice Match settings in the Google Home app." The account under which I am developing has no devices registered, intentionally. This account is used specifically and only for development. Why does the simulator respond like this, and how can I fix it? The account has no "Google Home app". I have another (personal) account which I've used to develop the

problems with request and cheerio in dialogflow

折月煮酒 提交于 2019-12-24 02:17:40
问题 What I'm trying to do is to be able to use request-promise-native and cheerio in my dialogflow webhook to scrape some articles from a website, I've tried several ways but never been able to work it out. My last attempt was doing as suggested in this post, but i could not make it work. If you want to have a look at my code, here it is the code i wrote, with a bit of explanation: https://github.com/Vaelthur/webscraping-with-dialogflow-incomplete 回答1: The problem is in the function registered to

Not sync intents are being generate after re-link the smart home action

一曲冷凌霜 提交于 2019-12-24 02:05:32
问题 After the oauth process is completed I get a message that says "Couldn't update the settings check connectivity" and I do not receive a post to my API with a sycn intent. I also tried request sync from here using my key and projectId and I keep receiving error 400 status. How could I test my sync request or see some logs and how could I make the request sync for test work? I am sending the exact request is in the documentation but with my parameters Log ADM: 10-24 14:12:59.031: W/ls(29731):

Android App Actions does not work with voice command

∥☆過路亽.° 提交于 2019-12-24 01:42:30
问题 I am trying to implement app actions and slice (for fulfillment) in my android app. I am testing the feature with "App Actions Test Tool" and the slice loads up immediate when I hit "Run" in the tool but the Slice does not work with the Voice command. Is the feature available to launch slice using voice command. I already have a draft posted on play store and using the same account for Android studio and the assistant. Expected that the slice would launch with the voice command of the intent