Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Il servizio Assistente Google ti offre il controllo completo sull'integrazione con
l'assistente fornendo un endpoint di streaming. Trasmetti una query audio dell'utente a questo endpoint per ricevere una risposta audio dell'Assistente Google.
Puoi generare associazioni per questa API da una varietà di linguaggi (ad esempio Go, Node.js, C++ e Java) su tutte le piattaforme supportate da gRPC.
Requisiti hardware di base
Prima di iniziare, avrai bisogno dei seguenti componenti:
Un dispositivo in esecuzione su una delle piattaforme supportate, con connettività a Internet
Un microfono
Un altoparlante
Passi
Le seguenti sezioni sono valide per Python e Raspberry Pi.
Se non vuoi utilizzare Python, usa la guida all'integrazione per integrare il servizio Assistente Google in altri linguaggi e su piattaforme diverse.
Incorporare l'Assistente Google
Questa sezione fa funzionare l'esempio del servizio Assistente Google sul tuo dispositivo:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2023-05-17 UTC."],[[["The Google Assistant Service provides a streaming endpoint for integrating the Assistant into your devices for experimental and non-commercial use."],["You need a device with internet, microphone, and speaker to get started with the Google Assistant Service integration."],["The guide provides step-by-step instructions for embedding and extending the Google Assistant using Python on a Raspberry Pi."],["You can find resources for integrating with other languages and platforms using the provided integration guide."],["The Google Assistant SDK cannot be used for commercial devices."]]],["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"]]