Pakiet SDK Asystenta Google umożliwia sterowanie głosem, rozumienie języka naturalnego i inteligentne rozwiązania Google. Twój projekt rejestruje głos (pytanie głosowe, np. Co mam w kalendarzu?), wysyła go do Asystenta Google i otrzymuje odpowiedź głosową oprócz nieprzetworzonego tekstu.
Usługa Asystenta Google
Usługa Asystenta Google udostępnia interfejs API niskiego poziomu, który umożliwia bezpośrednie manipulowanie bajtami dźwięku żądania i odpowiedzi Asystenta. Powiązania tego interfejsu API można generować dla takich języków jak Node.js, Go, C++ i Java na wszystkich platformach, które obsługują gRPC.
Kod referencyjny jest udostępniany w Pythonie do przechwytywania i odtwarzania dźwięku oraz zarządzania stanem rozmów.
Zgodność i obsługa funkcji
W tabeli poniżej znajdziesz podsumowanie wymagań dotyczących zgodności platformy, jakie musi spełniać usługa Asystenta Google:
[null,null,["Ostatnia aktualizacja: 2023-12-02 UTC."],[[["The Google Assistant SDK enables the integration of voice control, natural language processing, and Google's intelligence into projects, primarily for experimental and non-commercial purposes."],["It offers a low-level API for manipulating audio, accessible through various programming languages, along with Python reference code for audio handling and conversation management."],["While supporting audio input/output and visual HTML5 responses, it lacks hands-free activation, timers/alarms, podcast/news playback, and broadcast messaging capabilities."],["Developers can build projects by leveraging the gRPC APIs, customizing functionality with Actions on Google, and adhering to best practices for privacy, security, and audio configuration."]]],["The Google Assistant SDK facilitates voice control and natural language understanding in projects, using spoken audio requests and responses. It provides a low-level API via gRPC, supporting multiple languages and platforms. Reference code in Python handles audio capture, playback, and conversation state. Key features include visual output of responses, but exclude hands-free activation, timers, alarms, and media playback. Project development involves building with gRPC APIs, customizing, and then refining using privacy and audio best practices. The SDK can only be used for experimental and non-commercial projects.\n"]]