Once you have the Google Assistant running on your prototype, give these a try:
Customize how your device interacts with the Assistant. For example, trigger the Assistant with the push of a button or blink an LED when playing back audio. You can even show a speech recognition transcript from the Assistant on a display.
Control your device with Device Actions. For example, ask your lamp, with the Assistant built-in, to turn on and change its brightness.
If you're looking to ship a commercial device with the Google Assistant, please contact us.
Customize how your device interacts with the Assistant
Trigger the Assistant
With the Google Assistant Library, you trigger an Assistant request by speaking
a hotword like Ok Google. You can mute the microphone to stop the Assistant
from listening for the hotword. Use the
to control this. Trigger the
method based on your own custom event.
Get the transcript of the user request
The Google Assistant SDK gives you a text transcript of the user request. Use this to provide feedback to the user by rendering the text to a display, or even for something more creative such as performing some local actions on the device.
The transcript is located in a Python string object in the