google-assistant-sdk

Google Assistant Dialogflow API V2 webhook ETag error

别等时光非礼了梦想. 提交于 2019-12-02 10:54:18
问题 I'm trying to return simple text response and display a basic card within Google Assistant app using the following code: public GoogleCloudDialogflowV2WebhookResponse Search(GoogleCloudDialogflowV2WebhookRequest request) { GoogleCloudDialogflowV2WebhookResponse whr = new GoogleCloudDialogflowV2WebhookResponse(); whr.FulfillmentMessages = new List<GoogleCloudDialogflowV2IntentMessage>(); whr.FulfillmentMessages.Add(new GoogleCloudDialogflowV2IntentMessage() { Platform = "ACTIONS_ON_GOOGLE",

Dialogflow disable Google Assistant

若如初见. 提交于 2019-12-02 10:04:30
I am trying to enable webhook fulfillment in my Dialogflow agent. However, whenever I go to input the URL of my service, I get an error saying You can use only https:// in fulfillment url when "Google Assistant" integration enabled . I have no interest in using the Google Assistant integration. So how can I disable it so that I can send webhooks to my http:// service? Thanks I just had the same issue, if you don't need a secure connection via HTTPS here is how to remove Google Assistant integration and use a simple HTTP webhook fulfillment : Export your DialogFlow bot : Delete the bot: Create

Golang runtime panic when using gaction on Linux to update Google Home/Assistant package?

好久不见. 提交于 2019-12-02 05:17:07
问题 I am trying to build my first Google Home app using the instructions in this tutorial, on a Linux 14.04 LTS box (not Windows): https://medium.com/google-cloud/building-your-first-action-for-google-home-in-30-minutes-ec6c65b7bd32 The deployment of my app to Google Cloud succeeds. However, when I get to the section where you test your app with the simulator, the following gactions commands fail with the message "No help topic for preview/simulate" $ gactions preview --action_package action.json

Sending commands to Google Assistant from Android app

荒凉一梦 提交于 2019-12-02 02:17:33
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? imrich Managed to make it work: String command = "navigate home by public transport"; Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); intent

No module named googlesamples.assistant.auth_helpers

五迷三道 提交于 2019-12-01 13:22:26
I'm receiving this error when trying to install Google Assistant , and I am using Windows 10 , Python 3.6 and SDK 0.3.3 . Could someone please recommend the next step? I've tried inputting in the string recommended on other sites, which ends with --scope https://googleapis.com... but this did not work. Elisabeth Leiting Easy fix but hard to find. You just need to make sure that all the settings are there as mentioned before. I completed the above actions, and then I set it to administrator and input the 3 commands: pip install --upgrade google-api-python-client pip install --upgrade google

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

强颜欢笑 提交于 2019-12-01 12:45:15
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 tried following speaker-test -t wav But I got following error ( If I rename .asoundrc I don't see this

When installing Google Assistant, I an error “…googlesamples.assistant' is a package and cannot be directly executed…”

回眸只為那壹抹淺笑 提交于 2019-12-01 10:29:46
Alright, have been installing Google Assistant on my Windows 10 PC and have been met with multiple errors, the last of which I solved by going here: Google Assistant Installation on Python3.6 OSX Now, I have everything installed, and want to test my mic and then start using the assistant. However, when I put in the commands python -m googlesamples.assistant.audio_helpers and python -m googlesamples.assistant I get this error: C:\Users\robmak3>python -m googlesamples.assistant C:\Users\robmak3\AppData\Local\Programs\Python\Python36\python.exe: No module named googlesamples.assistant.__main__;

When installing Google Assistant, I an error “…googlesamples.assistant' is a package and cannot be directly executed…”

混江龙づ霸主 提交于 2019-12-01 09:44:07
问题 Alright, have been installing Google Assistant on my Windows 10 PC and have been met with multiple errors, the last of which I solved by going here: Google Assistant Installation on Python3.6 OSX Now, I have everything installed, and want to test my mic and then start using the assistant. However, when I put in the commands python -m googlesamples.assistant.audio_helpers and python -m googlesamples.assistant I get this error: C:\Users\robmak3>python -m googlesamples.assistant C:\Users\robmak3

How to get user's unique identity from google home's voice match profile?

时光怂恿深爱的人放手 提交于 2019-11-30 19:46:35
问题 I want to develop an application(action) on Google Home, which will return some confidential information to user. So, I can't authenticate the user based on account linking as that device can be used by any person in the room. How can I get user's unique identity(may be email id) from voice match profile? 回答1: Account Linking is tied to the specific user that says "Ok Google" or "Hey Google" to invoke your Action. If the user that says it does not have a registered voice on the device they

Google Assistant on Raspberry pi Segmentation fault

无人久伴 提交于 2019-11-30 10:03:22
Installing Google assistant on my pi with this guide: https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample (env) pi@raspberrypi:~ $ source env/bin/activate (env) pi@raspberrypi:~ $ googlesamples-assistant-hotword --project_id 'celius-54926' --device_model_id 'celius-54926-celius-qyn1r6' device_model_id: celius-54926-celius-qyn1r6 device_id: A1CE24415E5C880BCA74644CD6315DC2 Segmentation fault I had the same issue. I carried on reading the page : https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample under the heading "Find the device