Stay organized with collections
Save and categorize content based on your preferences.
The Google Assistant Service gives you full control over the integration with
the Assistant by providing a streaming endpoint. Stream a user audio query to
this endpoint to receive a Google Assistant audio response.
You can generate bindings for this API from a variety of languages (for example,
Go, Node.js, C++, and Java) on all platforms supported by gRPC.
Basic hardware requirements
Before you begin, you'll need the following components:
A device running on one of the supported platforms, with internet
connectivity
A microphone
A speaker
Steps
The following sections are applicable to Python and the Raspberry Pi.
If you do not want to use Python, use the integration guide
to integrate the Google Assistant Service in other languages and on different
platforms.
Embed the Google Assistant
This section gets the Google Assistant Service sample working on your device:
[null,null,["Last updated 2024-09-18 UTC."],[],["The Google Assistant Service provides a streaming endpoint for integrating with the Assistant, accepting user audio queries and returning audio responses. It supports multiple languages and platforms. Core actions include setting up hardware (device, microphone, speaker), configuring audio and developer accounts, registering a device model, installing the SDK and sample code, and running the sample. The service can also be extended to handle device actions by installing hardware, registering traits, and handling commands. Commercial use is prohibited.\n"],null,[]]