google-assistant-sdk

Bilingual spoken flash cards for Google Assistant

自闭症网瘾萝莉.ら 提交于 2019-12-08 17:38:09
问题 I am developing a bilingual (Japanese/English) flashcard app for the Google Assistant so that it would work for Google Home. The google assistant will say a word in Japanese, and check that the user replies with the correct translation in English, or vice-versa. Simply starting from Google Sheet data does not work, since the assistant is not able to read the Japanese input. Is there a way to achieve this? Essentially, the question is, is it possible to alternate between text-to-speech in one

Sending commands to google assistant using script instead of mic

雨燕双飞 提交于 2019-12-08 03:08:27
问题 I have configured Google Assistant SDK in Raspberry Pi 3 and demo application is working fine. Is there any way to send “OK Google, Example Command” to Google Assistant SDK using Python script? Or it will only take input from Mic? I am planning to write tiny mobile application which will send commands to my Raspberry Pi google assistant application. 回答1: UPDATE : even if it is an old question, here is the latest update. It is now possible using the v1alpha2 version. The gRPC message

how to integrate app action using actions.xml?

孤者浪人 提交于 2019-12-08 00:36:41
问题 I am trying to build a build-in-intent[actions.intent.CHECK_AIR_QUALITY]. I have already added the actions.xml in my project. Here is the code: <?xml version ="1.0" encoding ="utf-8"?><!-- Learn More about how to use App Actions: https://developer.android.com/guide/actions/index.html --> <actions> <!--Example Action --> <action intentName="actions.intent.CHECK_AIR_QUALITY"> <action-display label="Check quality" /> <fulfillment urlTemplate="https://www.google.co.in/order{?drop}"> <parameter

Unable to register Google Assistant Device Model

↘锁芯ラ 提交于 2019-12-06 16:39:27
I am trying ever so hard to get the Google Assistant on my Windows 10 PC. I am up to the "Register Device" part. Developers.google.com Says to run the following command to register your device. googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" \ --product-name "Assistant SDK light" --type LIGHT --model my-model Which i conclude for Windows (and me) is: googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" --product-name "Assistant SDK light" --type LIGHT --model Sudda2252 But, when i run it, i get the error Error:

Google Assistant on Raspberry Pi 3 Segmentation fault

烈酒焚心 提交于 2019-12-06 09:58:12
问题 I am trying to get google assistant running on Raspberry Pi 3. I am running into an error (env)pi@raspberrypi:~$ googlesamples-assistant-hotword --project-id buddy-fca9f --device-model-id xxxx-xxxxx-xxxx-xxxx. device_model_id: xxxx-xxxx-xxxx-xxxx device_id: DBxxxxxxxxxxxxxxxxxx Segmentation fault I am following https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample for the setup. I've already registered my device with register tool but its not helping out. On the

How to access my Android Application from Google Voice Assistance

孤人 提交于 2019-12-04 22:02:25
I am developing an android application, let's say it for an instance as "RemindMe". In this application, I set alarms specific to application level. They are not system alarms. My requirement is, after the opening of Google assistant (Ex: by saying "OK Google" followed by "What is my next alarm in RemindMe application", it should fetch next alarm from "RemindMe" application (No need to open the RemindMe app) and show in Google voice Assistant. I checked DialogFlow ( https://dialogflow.com/ ). I could not achieve my requirement. Till date in my observation., Using DialogFlow, after opening the

Google Assistant flow with multiple actions_intent_OPTION handlers

℡╲_俬逩灬. 提交于 2019-12-04 19:04:53
I have webhooks configured through Dialogflow for a template chatbot UI starter project I'm making on Github. I have a bot integrated through Facebook Messenger and Google Assistant. All of Facebook works fine because the actions send back strings and it's easy to handle. But when Google Assistant tries to handle items of "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec", actions_intent_OPTION is needed on the event in Dialogflow to handle the response. If I have just one in my app, it works fine, but when I add a second list item / carousel item of type OptionValueSpec, the

Google Assistant on Raspberry Pi 3 Segmentation fault

前提是你 提交于 2019-12-04 16:13:37
I am trying to get google assistant running on Raspberry Pi 3. I am running into an error (env)pi@raspberrypi:~$ googlesamples-assistant-hotword --project-id buddy-fca9f --device-model-id xxxx-xxxxx-xxxx-xxxx. device_model_id: xxxx-xxxx-xxxx-xxxx device_id: DBxxxxxxxxxxxxxxxxxx Segmentation fault I am following https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample for the setup. I've already registered my device with register tool but its not helping out. On the other hand pushtotalk is working as expected. It'd be great if you can help me out or point me in right

Google Assistant SDK on Raspberry Pi 2

微笑、不失礼 提交于 2019-12-04 07:47:50
Does the Google Assistant SDK also work on a "Pi 2 Model B" (ARM Cortex-A7, a 32bit processor), or is a "Pi 3 Model B" ( ARM Cortex-A53, 64bit processor) essential to get the SDK up and running ? It's working properly on a Raspberry Pi 2. I'm using it with my Logitech c920's mic. I am running the Voice Kit that was in the MagPi Magazine on a Raspberry PI Zero W, so it should run fine on almost all the Pi's https://aiyprojects.withgoogle.com/voice/ 来源: https://stackoverflow.com/questions/43682056/google-assistant-sdk-on-raspberry-pi-2

Google assistant “No module named googles…”

流过昼夜 提交于 2019-12-03 12:45:47
问题 Whenever I run this command py -m googlesamples.assistant.auth_helpers -client-secrets <secrete-location> I get an error saying: C:\Users\chand\AppData\Local\Programs\Python\Python36\python.exe: No module named googlesamples.assistant.auth_helpers I'm not sure what the issue is as it worked on a different device with the same steps. 回答1: As per version 0.3.0 of the SDK the gRPC samples are using a different auth helpers. pip install --upgrade google-auth-oauthlib[tool] google-oauthlib-tool -