Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
El servicio de Asistente de Google te brinda control total sobre la integración con Asistente mediante un extremo de transmisión. Transmite una consulta de audio del usuario a este extremo para recibir una respuesta de audio de Asistente de Google.
Puedes generar vinculaciones para esta API a partir de una variedad de lenguajes (por ejemplo, Go, Node.js, C++ y Java) en todas las plataformas compatibles con gRPC.
Requisitos básicos de hardware
Antes de comenzar, necesitarás los siguientes componentes:
Un dispositivo que se ejecute en una de las plataformas compatibles, con conexión a Internet
Un micrófono
Una bocina
Pasos
Las siguientes secciones se aplican a Python y Raspberry Pi.
Si no quieres usar Python, usa la guía de integración para integrar el servicio de Asistente de Google en otros lenguajes y en diferentes plataformas.
Cómo incorporar el Asistente de Google
En esta sección, podrás ver cómo funciona el servicio de Asistente de Google en tu dispositivo:
[null,null,["Última actualización: 2023-05-17 (UTC)"],[[["\u003cp\u003eThe Google Assistant Service provides a streaming endpoint for integrating the Assistant into your devices for experimental and non-commercial use.\u003c/p\u003e\n"],["\u003cp\u003eYou need a device with internet, microphone, and speaker to get started with the Google Assistant Service integration.\u003c/p\u003e\n"],["\u003cp\u003eThe guide provides step-by-step instructions for embedding and extending the Google Assistant using Python on a Raspberry Pi.\u003c/p\u003e\n"],["\u003cp\u003eYou can find resources for integrating with other languages and platforms using the provided integration guide.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Assistant SDK cannot be used for commercial devices.\u003c/p\u003e\n"]]],["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,["# Introduction to the Google Assistant Service\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 Service gives you full control over the integration with\nthe Assistant by providing a streaming endpoint. Stream a user audio query to\nthis endpoint to receive a Google Assistant audio response.\n\nYou can generate bindings for this API from a variety of languages (for example,\nGo, Node.js, C++, and Java) on all platforms supported by [gRPC](http://www.grpc.io/about/#osp).\n\nBasic hardware requirements\n---------------------------\n\nBefore you begin, you'll need the following components:\n\n- A device running on one of the supported platforms, with internet connectivity\n- A microphone\n- A speaker\n\nSteps\n-----\n\nThe following sections are applicable to Python and the Raspberry Pi.\n\nIf you do not want to use Python, use the [integration guide](/assistant/sdk/guides/service/integrate#other-languages)\nto integrate the Google Assistant Service in other languages and on different\nplatforms.\n\n### Embed the Google Assistant\n\nThis section gets the Google Assistant Service sample working on your device:\n\n1. [Set Up Hardware and Network Access](/assistant/sdk/guides/service/python/embed/setup)\n2. [Configure and Test the Audio](/assistant/sdk/guides/service/python/embed/audio)\n3. [Configure a Developer Project and Account Settings](/assistant/sdk/guides/service/python/embed/config-dev-project-and-account)\n4. [Register the Device Model](/assistant/sdk/guides/service/python/embed/register-device)\n5. [Install the SDK and Sample Code](/assistant/sdk/guides/service/python/embed/install-sample)\n6. [Run the Sample Code](/assistant/sdk/guides/service/python/embed/run-sample)\n7. [Next Steps](/assistant/sdk/guides/service/python/embed/next-steps)\n\n### Extend the Google Assistant\n\nThis section extends the Google Assistant Service sample to include\n[Device Actions](/assistant/sdk/device-actions-overview):\n\n1. [Install Hardware](/assistant/sdk/guides/service/python/extend/install-hardware)\n2. [Register Traits](/assistant/sdk/guides/service/python/extend/register-device-traits)\n3. [Handle Commands](/assistant/sdk/guides/service/python/extend/handle-device-commands)\n4. [Add More Traits and Handlers](/assistant/sdk/guides/service/python/extend/add-trait-and-handler)\n5. [Register Custom Device Actions](/assistant/sdk/guides/service/python/extend/custom-actions)"]]