השירות של Google Assistant מאפשר שליטה מלאה על השילוב עם Assistant, באמצעות נקודת קצה לסטרימינג. אפשר לבצע סטרימינג של שאילתת אודיו של משתמש לנקודת הקצה הזו כדי לקבל תגובה קולית מ-Google Assistant.
אפשר ליצור קישורים ל-API הזה ממגוון שפות (לדוגמה, Go, Node.js, C++ ו-Java) בכל הפלטפורמות הנתמכות על ידי gRPC.
דרישות חומרה בסיסיות
לפני שמתחילים, צריך:
מכשיר שפועל באחת מהפלטפורמות הנתמכות, עם חיבור לאינטרנט
מיקרופון
רמקול
הוראות
הקטעים הבאים רלוונטיים ל-Python ול-Raspery Pi.
אם אתם לא רוצים להשתמש ב-Python, אתם יכולים להשתמש במדריך השילוב כדי לשלב את השירות Google Assistant בשפות אחרות ובפלטפורמות שונות.
הטמעת Google Assistant
בקטע הזה תוצג לכם דגימה של שירות Google Assistant במכשיר:
[null,null,["עדכון אחרון: 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."]]],[]]