Usługa Asystenta Google zapewnia pełną kontrolę nad integracją z Asystentem przez zapewnienie punktu końcowego strumieniowego przesyłania danych. Przesyłaj zapytanie audio użytkownika do tego punktu końcowego, aby otrzymać odpowiedź głosową Asystenta Google.
Powiązania dla tego interfejsu API możesz generować w różnych językach (np. Go, Node.js, C++ oraz Java) na wszystkich platformach obsługiwanych przez gRPC.
Podstawowe wymagania sprzętowe
Zanim zaczniesz, musisz mieć te komponenty:
urządzenie działające na jednej z obsługiwanych platform,
z dostępem do internetu,
Mikrofon
Rozmówca
Instrukcje
Poniższe sekcje dotyczą języka Python i Raspberry Pi.
Jeśli nie chcesz używać Pythona, skorzystaj z przewodnika po integracji, aby zintegrować usługę Asystenta Google z innymi językami i platformami.
Umieszczanie Asystenta Google
Z tej sekcji dowiesz się, jak działa Asystent Google na Twoim urządzeniu:
[null,null,["Ostatnia aktualizacja: 2023-05-17 UTC."],[[["The Google Assistant Service provides a streaming endpoint for integrating the Assistant into your devices for experimental and non-commercial use."],["You need a device with internet, microphone, and speaker to get started with the Google Assistant Service integration."],["The guide provides step-by-step instructions for embedding and extending the Google Assistant using Python on a Raspberry Pi."],["You can find resources for integrating with other languages and platforms using the provided integration guide."],["The Google Assistant SDK cannot be used for commercial devices."]]],["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"]]