bookmark_borderbookmark
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
plat_iosplat_android
בעזרת SmartAnswer API של ML Kit אפשר ליצור באופן אוטומטי
תשובות להודעות. התכונה 'תשובות מהירות' עוזרת למשתמשים להשיב להודעות במהירות, ומאפשרת להם להשיב להודעות בקלות במכשירים עם יכולות קלט מוגבלות.
המודל 'תשובה מהירה' יוצר הצעות לתשובות על סמך
את ההקשר של שיחה, ולא רק הודעה אחת, וכתוצאה מכך
הצעות מועילות יותר למשתמשים.
פועל במכשיר
המודל במכשיר יוצר תשובות במהירות, ולא דורש מכם
שליחת המשתמשים הודעות לשרת מרוחק.
מגבלות
התכונה 'תשובה מהירה' מיועדת לשיחות רגילות באפליקציות לצרכנים. יכול להיות שהצעות התשובות לא יתאימו להקשרים או לקהלים אחרים.
בשלב הזה, יש תמיכה רק באנגלית. המודל מזהה באופן אוטומטי אם
בשפה אחרת, ואם כן, לא יספק הצעות.
איך המודל פועל
כדי ליצור הצעות לתשובות, המודל משתמש בעד 10 מההודעות האחרונות בהיסטוריית השיחות.
הוא מזהה את השפה של השיחה ומנסה לספק תשובות רק כשהשפה נקבעת כאנגלית.
בשלב הבא, המודל משווה את ההודעות לרשימה של נושאים רגישים,
לא תקבלו הצעות כאשר יזוהה נושא רגיש.
אם נקבע שהשפה היא אנגלית ואין נושאים רגישים
שמזוהות, המודל מספק עד שלוש הצעות לתשובות. מספר
תלויה ברמת ביטחון מספקת על סמך
בין הקלט למודל.
שליחת משוב
בגלל המורכבות של עיבוד שפה טבעית, יכול להיות שההצעות שהמודל מספק לא יתאימו לכל ההקשרים או הקהלים. אם
אם תקבלו הצעות לתשובות בלתי הולמות, תוכלו לפנות אל
תמיכה ב-Firebase. המשוב שלכם עוזר לנו להמשיך לשפר את המודל ואת המסנן לנושאים רגישים.
תוצאות לדוגמה
קלט
חותמת זמן
User ID
משתמש מקומי?
הודעה
יום ה' 21 בפברואר 13:13:39 (שעון החוף המערבי) 2019
true
בדרך?
יום ה' 21 בפברואר 13:15:03 (שעון החוף המערבי) 2019
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["Smart Reply \nplat_ios plat_android \n\nWith ML Kit's Smart Reply API, you can automatically generate relevant\nreplies to messages. Smart Reply helps your users respond to messages quickly,\nand makes it easier to reply to messages on devices with limited input\ncapabilities.\n\n[iOS](/docs/ml-kit/ios/generate-smart-replies)\n[Android](/docs/ml-kit/android/generate-smart-replies)\n| This is a beta release of ML Kit for Firebase. This API might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy.\n\nKey capabilities\n\nLimitations\n\n- Smart Reply is intended for casual conversations in consumer apps. Reply suggestions might not be appropriate for other contexts or audiences.\n- Currently, only English is supported. The model automatically detects if a different language is used and if so, will not provide suggestions.\n\nHow the model works\n\n- The model uses up to 10 of the most recent messages from a conversation history to generate reply suggestions.\n- It detects the language of the conversation and only attempts to provide responses when the language is determined to be English.\n- Next, the model compares the messages against a list of sensitive topics and won't provide suggestions when it detects a sensitive topic.\n- If the language is determined to be English and no sensitive topics are detected, the model provides up to three suggested responses. The number of responses depends on how many meet a sufficient level of confidence based on the input to the model.\n\nProviding feedback\n\nDue to the complexity of natural language processing, the suggestions provided\nby the model might not be appropriate for all contexts or audiences. If you\nencounter inappropriate reply suggestions, reach out to\n[Firebase support](/support). Your feedback\nhelps to continue to improve the model and sensitive topic filter.\n\nExample results\n\nInput\n\nSuggested replies"]]