google-assistant-sdk

Getting Undefined value for SignIn.status during account linking

帅比萌擦擦* 提交于 2020-06-17 15:47:40
问题 I am working on the Account Linking & set google Sign-IN in Linking type in Google. I have created two intents, one will call the google Sign-In feature and the second one will read the data from google account for. eg. email id, name. In Intent 1, I have enabled the webhook call for this intent. In Intent 2, I have set Event to actions_intent_SIGN_IN & enabled the webhook call for this intent. Though my these functions (Intents results) in Inline Editors are successfully executing, still I

Google assistant SDK custom commands

时光毁灭记忆、已成空白 提交于 2020-01-25 21:45:09
问题 Currently following hot word example, I create custom commands like turn screen on/off, how do I disable voice response "sorry I can't help you" 回答1: there are multiple ways do it.follow this link and details google assistant 1 - if your using this method/project creation and run it. then you can parse the request/query in event.args['text'] based on which you can perform activity local without sending it to google assistant. problems: google will response with some voice message parallel. 2

Multiple commands in Google Assistant SDK

可紊 提交于 2020-01-16 19:43:08
问题 I am planning to implement 2 custom commands using the Google Assistant SDK and I have made appropriate changes in the actions.json file (Attached Below). However, somehow only one of the command gets triggered at a time i.e. either the start or select commands randomly. How do I make it trigger both commands? { "manifest": { "displayName": "Start Test", "invocationName": "Start Test", "category": "PRODUCTIVITY" }, "actions": [ { "name": "com.example.actions.StartTest", "availability": {

Sending commands to Google Assistant from Android app

吃可爱长大的小学妹 提交于 2020-01-11 10:46:32
问题 In order to increase efficiency I want to send frequently used commands to Google Assistant from an Android app via script. E.g. "Ok, Google . This is the code I use for calling Assistant from a Service: startActivity(new Intent(Intent.ACTION_VOICE_COMMAND).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); I have found this topic, which says that this is not possible for Raspberry Pi which uses Google Assistant SDK. Is it the same for Android apps? 回答1: Managed to make it work: String command =

Google Assistant SDK on Raspberry Pi 3: Audio setup does not work

拜拜、爱过 提交于 2020-01-11 07:35:49
问题 I have been trying to install G assistant in to a Raspberry Pi3. I have question in the following link https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/configure-audio A partial text from above link # Record a short audio clip. If you get an error, go to step 2. $ arecord --format=S16_LE --duration=5 --rate=16k --file-type=raw out.raw As expected I got error in this step. So I tried the Step2 created a new file (.asoundrc) with all the hardware info. Then I

ApI AI app works fine on web simulator but not on Android phone

安稳与你 提交于 2020-01-05 07:07:24
问题 I am trying to create an api.ai based app on Google home. Tested using the web simulator and Google Home, it works completely fine. Application is just in dev mode, not yet send to Google to approve. Now, I tried to test this app from my Android Phone - I think, that I should do it from Google App, but when I said "Ok, Google, talk to " - it just search this utterance, without any real interaction. What I am doing wrong, how it should really work? 回答1: It should work, just double check the

Unable to upload content via google spreadsheet in Google Actions

烂漫一生 提交于 2020-01-05 05:00:15
问题 I am creating a Google Action's project using a Flash Card template. I am following the steps from google documentation. But after updating the questions and answers, and other required field I am not able to upload contents from my sheet to google actions console like the documentation does in step 14. After clicking on Upload in Step 13, I see a success message saying check_circleYour content was uploaded successfully, 35 rows of content were detected but when I click on Create App after

“Accounts failed to link” error happens when I try to authorize Google Assistant at my Web service

偶尔善良 提交于 2020-01-05 02:34:52
问题 First, I'd like to mention that problems like this had been discussed before in the topics like: How to authenticate user with just a Google account on Actions on Google? But I could not find any information at all related to ways of linking Google Assistant app with my own web server. Problem: GET https://oauth-redirect.googleusercontent.com/r/my-google-assistant-app#access_token=ACCESS_TOKEN&token_type=bearer&state=STATE always returns "Account field to link" error A Way to Reproduce: I

building a list in “actions on google”

我的未来我决定 提交于 2020-01-05 02:33:25
问题 I'm doing a project where the Google Assistant generates a list of cards about information on research articles. Each card on the list would have the title and URL to the research article. The Google Assistant would ask what subject you wants to research about and the user would reply with the subject matter in one or two words. I have the following questions I understand that the app.buildList() command requires an alias and key variable. Could I level them as blank or null in my code

How to fix error “ERROR: Command errored out with exit status 1: python.” when trying to install py -m pip install google-assistant-sdk[samples]

旧街凉风 提交于 2020-01-04 09:39:05
问题 This is what i got when i ran the command py -m pip install google-assistant-sdk[samples] in cmd with administrator rights. C:\WINDOWS\system32>py -m pip install google-assistant-sdk[samples] Collecting google-assistant-sdk[samples] Using cached https://files.pythonhosted.org/packages/47/26/b405a0236ea5dd128f4b9c00806f4c457904309e1a6c60ec590e46cc19c4/google_assistant_sdk-0.5.1-py2.py3-none-any.whl Requirement already satisfied: google-auth-oauthlib[tool]>=0.1.0 in c:\program files (x86)