בשלב הזה, אתם מוכנים להריץ את הדוגמה וליצור שאילתה.
בפקודה הבאה:
מחליפים את my-dev-project ב-
מזהה הפרויקט ב-Google Cloud Platform של הפרויקט בקונסולה ל-Actions.
נוצר. כדי למצוא את מזהה הפרויקט ב-Actions Console,
בוחרים את הפרויקט, לוחצים על סמל גלגל השיניים ובוחרים הגדרות הפרויקט.
מחליפים את my-model בשם המודל שרוצים ליצור
שנוצר בשלב הקודם.
כדי לשנות את השפה של Google Assistant או כדי להפעיל תוצאות אישיות,
להשתמש באפליקציה של Google Assistant.
איתור מזהה המופע של המכשיר
כשתריצו את הדוגמה בפעם הראשונה, היא תיצור מופע מכשיר
למכשיר מסוים. המופע של המכשיר הזה ישויך לדגם המכשיר
שהגדרתם כדי להריץ את הדוגמה. אתם יכולים גם ליצור את המכונה בעצמכם
באמצעות כלי הרישום.
בדוגמה נשמרים גם מזהי מודלים וגם מזהי מכונות. אם תריצו את הדוגמה בלי לספק
את המזהים האלה כארגומנטים, כברירת מחדל ייעשה שימוש במזהים השמורים.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-09-07 (שעון UTC)."],[[["Run the provided command, replacing placeholders with your project and model IDs, to initiate a sample query."],["Test the setup with example queries like \"Who am I?\", \"What time is it?\", or weather-related questions."],["Locate the device instance ID within the sample's output for future use and potential troubleshooting."],["Refer to provided resources for troubleshooting, language settings, and next steps in extending device functionality."]]],["To run the sample, replace placeholders in the provided command with your Google Cloud project ID and model name. Execute the command and try example queries. If no response, consult troubleshooting. The first run generates a unique device instance ID, displayed in the output, and saves it for future use. The command can be run without arguments if the ID was saved. You can change the language or add personal settings through the Google Assistant app. Further steps like extending or adding device actions are possible.\n"]]