Questions tagged [google-assistant-sdk]

The Google Assistant SDK allows you to build hardware that runs the Google Assistant. If you have a question about devices or writing apps that work with the Google Assistant, see the actions-on-google tag.

Tag for the developer preview of the Google Assistant SDK.

With this SDK hardware prototypes can be built that include the Google Assistant, such as a self-built robot or a voice-enabled smart mirror. This allows you to interact with the Google Assistant from any platform.

The Google Assistant SDK includes a gRPC API, a Python open source client that handles authentication and access to the API, samples and documentation. The SDK allows you to capture a spoken query, for example "what's on my calendar", pass that up to the Google Assistant service and receive an audio response. And while it's ideal for prototyping on Raspberry Pi devices, it also adds support for many other platforms.

To get started, visit the Google Assistant SDK website for developers, download the SDK, and start building.

930 questions
0
votes
2 answers

Only 2 intents work 'MAIN' and 'TEXT'

I'm trying building my first app with actions-on-google / google-assistant-sdk, I wanted to start using 3 intents, the MAIN, respond to input TEXT, and HELP that the user can call anytime: The action.json is: { "actions": [ { …
Hasan A Yousef
  • 22,789
  • 24
  • 132
  • 203
0
votes
1 answer

Error when installing Google assistant on Windows 10

I followed this page to install Google Assistant on my Windows 10 PC. When I run this command: py -m pip install google-assistant-sdk[samples] I got error the following Error! Please help!!! Collecting pycparser (from CFFI>=1.0->sounddevice==0.3.7;…
user2008151314
  • 680
  • 6
  • 10
0
votes
1 answer

Account Linking API.AI user email scope

I have AWS Cognito account linking setup with Actions on Google. I have requested the scope of email. I am using API.AI, how can I get the user's email? From what I've read, you get a userId that is basically an anonymous id. How can I get user…
0
votes
1 answer

Start of Response Audio Cuts Out and Screen Blinks

I just installed Google Assistant on my Raspberry Pi 3B as part of a Magic Mirror project I've been working off and on for the past year or so. I can run the assistant fine, except when it responds the first little bit of the response is cut…
0
votes
1 answer

Running Google Assistant SDK on Android 4.0?

I cannot find anywhere what level of Android the Google Assistants SDK requires. Can you run it on Android 4.0+?
Tomek
  • 557
  • 2
  • 7
  • 24
0
votes
1 answer

Not Receiving Access Token

I've implemented account linking successfully but im not recving any accessTokens to my fulfillment end point. The AccessToken field is empty in the json sent to my fulfilment end point. Json Received to Fulfillment Array ( [user] => Array ( …
Elo97234c
  • 163
  • 1
  • 4
  • 15
0
votes
1 answer

Getting TypErrror when calling stop_conversation()

I am trying to extend google assistant to be able to use my own local commands, it is working, but the voice still responds with "I can't help you with that" or something similar. When I try to use the stop_conversation() method I get an error:…
SalamalCamel
  • 65
  • 2
  • 3
  • 11
0
votes
2 answers

Control your device with custom commands using Actions in Google

just getting started with Assistant features in RPi and I am able to successfully implement upto this point and wondering few thing. Scenario: user: hey google "please turn on my living room Lights" List item my code in horword.py : has a function…
0
votes
1 answer

How to send a ConverseRequest message by Converse using C++

I am trying to build an google assistant client by using c++. I've passed the authentication and created channel; Then as the doc say: "Send a ConverseRequest message...", and stuck here, since Converse only has one parameter: ClientContext, How…
0
votes
1 answer

google-assistant-demo command not found

I tried to install the Google Assistant onto my new Raspberry Pi. I watched and followed the instruction online (Google developer). I have done exactly what the instruction says. However, at the end, I typed 'google-assistant-demo' to run it. The…
0
votes
1 answer

Set up usb microphone for google assistant

I'm trying to set up the Google home assistant on my pi3, but I'm having issues with the microphone. When I ran a test on the microphone it says no file exists: $ arecord --format=S16_LE --duration=5 --rate=16k --file-type=raw out.raw …
Alex
  • 1
  • 1
0
votes
1 answer

Trouble google assistant demo on a raspberry pi 3 and MATRIX Creator mic array

I am getting the following error when I run google-assistant-demo, but arecord works fine with ALSA capture file type: error: (env)pi:~$ google-assistant-demo ALSA lib pcm.c:7918:(snd_pcm_set_params) Sample format not available for CAPTURE: Invalid…
Hpsaturn
  • 2,702
  • 31
  • 38
0
votes
1 answer

Integrated commands within google assistant's SDK

I'm here to clarify an amusing idea I had but couldn't find some way to do it... Yet. I'm diving into GAssistant SDK, my idea is to have integrated commands using hotkeywords so we can develop a way to talk with the device and have much better…
0
votes
1 answer

Error Response with Google Smart Home (Thermostat)

I am unable to understand the syntax of Json for errors I have tried return { "requestId": self.request_id, "payload": { "commands": [{ "ids": [self.device_id], "status": "OFFLINE", …
0
votes
1 answer

Using google assistant SDK with raw text as user input

I am currently working on a project that uses the Google Assistant SDK with Python. I have it working with direct audio listening, but I want to know if there is a way to use it with raw text input instead of listening to audio.