Introduzione alla Raccolta dell'Assistente Google
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
La libreria Assistente Google per Python è una soluzione pronta all'uso per chiunque voglia integrare rapidamente l'assistente in un progetto. La libreria è scritta in Python ed è supportata sull'hardware più popolare, come Raspberry Pi 3.
Inizia
Una volta acquistato l'hardware, continua a leggere per sapere come eseguire l'Assistente Google.
Incorporare l'Assistente Google
In questa sezione, la Raccolta dell'Assistente Google funziona sul tuo progetto:
- Configurare l'hardware e l'accesso alla rete
- Configurare e testare l'audio
- Configurare un progetto sviluppatore e le impostazioni dell'account
- Registra il modello del dispositivo
- Installare l'SDK e il codice campione
- Esegui il codice di esempio
- Passaggi successivi
Estendi l'Assistente Google
Questa sezione estende la Raccolta di Assistente Google in modo da includere Azioni sul dispositivo:
- Installa hardware
- Registrare le caratteristiche
- Comandi degli handle
- Aggiungi altri tratti e gestori
- Registrare azioni personalizzate per dispositivo
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2023-05-16 UTC.
[null,null,["Ultimo aggiornamento 2023-05-16 UTC."],[[["\u003cp\u003eThe Google Assistant Library for Python is deprecated and the Google Assistant Service should be used instead.\u003c/p\u003e\n"],["\u003cp\u003eThis library offers a turnkey solution for integrating the Assistant into projects, particularly on hardware like the Raspberry Pi 3.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can embed the Assistant by following a series of setup steps, including hardware configuration, audio testing, and device registration.\u003c/p\u003e\n"],["\u003cp\u003eThe library can be extended to include Device Actions, enabling custom commands and interactions.\u003c/p\u003e\n"]]],[],null,["# Introduction to the Google Assistant Library\n\n| **Warning:** The Google Assistant Library for Python is deprecated as of June 28th, 2019. Use the [Google Assistant Service](/assistant/sdk/guides/service/python) instead.\n\n\u003cbr /\u003e\n\nThe Google Assistant Library for Python is a turnkey solution for anyone who\nwants to quickly integrate the Assistant into a project. The library is\nwritten in Python and is supported on popular hardware such as the\nRaspberry Pi 3.\n| **Note:** Refer to the [Compatibility and feature support](/assistant/sdk/overview#features) table to see the differences between the Google Assistant Library and the [service](/assistant/sdk/guides/service/python).\n\nGet started\n-----------\n\nOnce you have your hardware, read on to learn how to get the Google Assistant\nrunning on it!\n\n### Embed the Google Assistant\n\nThis section gets the Google Assistant Library working on your project:\n\n1. [Set Up Hardware and Network Access](/assistant/sdk/guides/library/python/embed/setup)\n2. [Configure and Test the Audio](/assistant/sdk/guides/library/python/embed/audio)\n3. [Configure a Developer Project and Account Settings](/assistant/sdk/guides/library/python/embed/config-dev-project-and-account)\n4. [Register the Device Model](/assistant/sdk/guides/library/python/embed/register-device)\n5. [Install the SDK and Sample Code](/assistant/sdk/guides/library/python/embed/install-sample)\n6. [Run the Sample Code](/assistant/sdk/guides/library/python/embed/run-sample)\n7. [Next Steps](/assistant/sdk/guides/library/python/embed/next-steps)\n\n### Extend the Google Assistant\n\nThis section extends the Google Assistant Library to include\n[Device Actions](/assistant/sdk/device-actions-overview):\n\n1. [Install Hardware](/assistant/sdk/guides/library/python/extend/install-hardware)\n2. [Register Traits](/assistant/sdk/guides/library/python/extend/register-device-traits)\n3. [Handle Commands](/assistant/sdk/guides/library/python/extend/handle-device-commands)\n4. [Add More Traits and Handlers](/assistant/sdk/guides/library/python/extend/add-trait-and-handler)\n5. [Register Custom Device Actions](/assistant/sdk/guides/library/python/extend/custom-actions)"]]