SDK Google Assistant позволяет вам добавить в свои идеи голосовое управление, понимание естественного языка и возможности Google. Ваш проект записывает высказывание (голосовой аудиозапрос, например «Что в моем календаре? »), отправляет его в Google Assistant и получает устный аудиоответ в дополнение к необработанному тексту высказывания.
Служба Google Ассистента
Служба Google Assistant предоставляет низкоуровневый API, который позволяет напрямую манипулировать аудиобайтами запроса и ответа Ассистента. Привязки для этого API можно создавать для таких языков, как Node.js, Go, C++, Java, для всех платформ, поддерживающих gRPC .
На Python предоставляется справочный код для захвата звука, воспроизведения звука и управления состоянием разговора.
Совместимость и поддержка функций
В следующей таблице приведены требования к совместимости платформы для службы Google Assistant:
[null,null,["Последнее обновление: 2024-10-30 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"]]