Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
El SDK de Asistente de Google te permite agregar a tus ideas control por voz, comprensión del lenguaje natural y la inteligencia de Google. Tu proyecto captura una frase (una solicitud de audio hablada, como ¿Qué hay en mi calendario?), la envía al Asistente de Google y recibe una respuesta de audio por voz, además del texto sin procesar del mensaje.
Servicio del Asistente de Google
El servicio del Asistente de Google expone una API de bajo nivel que te permite manipular directamente los bytes de audio de una solicitud y una respuesta de Asistente. Se pueden generar vinculaciones para esta API con lenguajes como Node.js, Go, C++ y Java en todas las plataformas que admiten gRPC.
El código de referencia se proporciona en Python para la captura y reproducción de audio, y la administración del estado de las conversaciones.
Compatibilidad y compatibilidad de funciones
En la siguiente tabla, se resumen los requisitos de compatibilidad de la plataforma del servicio del Asistente de Google:
Salida visual (HTML5) de las respuestas de Asistente
Sí
Pasos para comenzar a crear tus proyectos
El SDK te permite compilar proyectos rápidamente, ya que incorpora el Asistente de Google y, luego, te permite agregar funcionalidades únicas con Actions on Google:
[null,null,["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a low-level API for manipulating audio, accessible through various programming languages, along with Python reference code for audio handling and conversation management.\u003c/p\u003e\n"],["\u003cp\u003eWhile supporting audio input/output and visual HTML5 responses, it lacks hands-free activation, timers/alarms, podcast/news playback, and broadcast messaging capabilities.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers 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.\u003c/p\u003e\n"]]],["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"],null,["# Overview\n\n| **Warning:** You can't launch commercial devices that integrate with the Google Assistant SDK. It's available for experimental and non-commercial uses only.\n\n\u003cbr /\u003e\n\nThe Google Assistant SDK lets you add voice control, natural\nlanguage understanding and Google's smarts to your ideas. Your project captures\nan utterance (a spoken audio request, such as *What's on my calendar?*), sends\nit to the Google Assistant, and receives a spoken audio response in addition to\nthe raw text of the utterance.\n\n### Google Assistant Service\n\nThe Google Assistant Service exposes a low level API that lets you directly manipulate the\naudio bytes of an Assistant request and response. Bindings for this API can be\ngenerated for languages like Node.js, Go, C++, Java for all platforms that\nsupport [gRPC](http://www.grpc.io/about/#osp).\n\nReference code is provided in Python for audio capture, audio playback, and\nconversation state management.\n\n### Compatibility and feature support\n\nThe following table summarizes the platform compatibility requirements of\nthe Google Assistant Service:\n\n\n| Google Assistant service | | |\n|----------------------------------------------------------------------------------|-----------------------------------------------------|---|\n| Supported architectures | All [gRPC platforms](http://www.grpc.io/about/#osp) |\n| Supported languages | All [gRPC languages](http://www.grpc.io/about/#osp) |\n| Hands-free activation (*Ok Google*) | No |\n| Audio capture and playback | Reference code is provided |\n| Conversation state management | Reference code is provided |\n| Timers and alarms | No |\n| Playback of podcasts and news | No |\n| [Broadcast voice messages](https://support.google.com/googlehome/answer/7531913) | No |\n| Visual output (HTML5) of Assistant responses | Yes |\n\n\u003cbr /\u003e\n\nSteps to start building your projects\n-------------------------------------\n\nThe SDK lets you build projects quickly by embedding the Google Assistant\nand then letting you add unique functionality with [Actions on Google](/actions):\n\n1. Build your project [using the gRPC APIs](/assistant/sdk/guides/service/python).\n2. Get ideas for [next steps to customize it](/assistant/sdk/guides/service/python/embed/next-steps).\n3. Polish your project by reading best practices for [privacy and security](/assistant/sdk/guides/service/python/best-practices/privacy-and-security) and [audio configuration](/assistant/sdk/guides/service/python/best-practices/audio)."]]