è¨å®æ¹æ³ã¯ã¨ã¦ãç°¡åã§ã。Dialogflow ã®å ´åã«ã¯、ããã¾ã§éãã¦ã¼ã¶ã¼ã®ã¯ã¨ãªã«å¯¾å¿ããã¤ã³ãã³ããä½æã、ã¦ã¼ã¶ã¼ã Google Assistant ã«èããããªã¯ã¨ãªã User Says ã«è¿½å ãã¾ã。ãã®ä¸ã§ Integrations > Setting ããä½æããã¤ã³ãã³ãã追å ãã¾ã。
Actions SDK ãã使ãã®å ´å、ã¢ã¯ã·ã§ã³ ããã±ã¼ã¸ã«ã¯ã¨ãªã
ã¯ã¨ãª ãã¿ã¼ã³(※)ã¨ãã¦è¨å®ã、ã¢ã¯ã·ã§ã³ã追å ãã¦ãã ãã。
"actions": [
{
"description": "Default Welcome Intent",
"name": "welcome",
"fulfillment": {
"conversationName": "recipe_search"
},
"intent": {
"name": "actions.intent.MAIN"
}
},
{
"name": "plan",
"intent": {
"name": "plan.search",
],
"trigger": {
"queryPatterns": [
"ã飯ä½ä½ãã",
"ç®ç«ãèãã",
"ããããã®ç®ç«",
]
}
},
"fulfillment": {
"conversationName": "recipe_search"
}
}
],
Implicit Invocation ã«ä½¿ç¨ãããã¯ã¨ãªã¯
Actions on Google éçºè
ã³ã³ã½ã¼ã«ã® Overview ãã¼ã¸ã® Action discovery and re-engagement å
ã§ç¢ºèªã§ãã¾ã。éçºããã¢ããªã®å©ç¨çåä¸ã®ããã«ã、ãã² Implicit Invocation ããè¨å®ãã ãã。è¨å®æ¹æ³ã®è©³ç´°ã¯
ãã¡ãã®ãã¼ã¸ãã確èªãã ãã。
ã¯ã¨ãªãã¿ã¼ã³ã«ã¯ã¢ããªã®æ©è½ãç´æ¥çã«è¡¨ç¾ãããã®ãè¨å®ãã¦ãã ãã。ã¬ã·ãæ¤ç´¢ã¢ããªã«「ã飯ä½é£ã¹ãã」ã¨ããã¯ã¨ãªãè¨å®ãã¦ãã¾ã£ãå ´å、ã¬ã¹ãã©ã³ã®æ¤ç´¢ããããã¨ãåããã®ã§、 Implicit Invocation ã®å¯¾è±¡ã¢ããªããã¯é¤å¤ãããå¯è½æ§ãããã¾ã。
※ä¸é¨ã·ã¹ãã å¤æ°、Dialogflow ã® @sys.* ã Actions SDK ã® $SchemaOrg_* ã«ã¤ãã¦ã¯ç¾å¨æ¥æ¬èªã§ã¯å¯¾å¿ãã¦ãªããã®ãããã¾ãã、æ¥ã
æ¹åãç¶ãã¦ããã¾ã。
追è¨:
Dialogflow ã® Entity ã @sys.* 、Actions SDK ã® Entity ã $SchemaOrg_* ã使ç¨ããå ´åã«ã¯、ãããã¨åºå®æååã®éã«åè§ã¹ãã¼ã¹ãæ¿å
¥ãã¦ãã ãã。
(ä¾) "$Vegetable:Vegetable ã使ã£ãã¬ã·ããæãã¦"
ããã©ã³ ã¦ã¼ã¶ã¼åãã®”ã·ã§ã¼ãã«ãã”ãæä¾ããã
æ©è½ãç¥ã£ã¦ããã¦ã¼ã¶ã¼ã、æ¯åæåã®æ¨æ¶æãèãã®ã¯è¦çã§ã。å©ç¨ããã ä¼è©±ã¢ã¯ã·ã§ã³ ãç´æ¥èµ·åã§ãã Explicit Invocation (æ示çãªå¼ã³åºã)ãè¨å®ãã¾ããã。ãã®æ©è½ãå©ç¨ããã¨、ä¸è¨ã®ãããªçºè©±ã§、èµ·åç´å¾ããã¯ã¨ãªãè¨å®ãããä¼è©±ã¢ã¯ã·ã§ã³ãå©ç¨ã§ãã¾ã。
「OK Google, (ã¢ããªå)ã«(ã¯ã¨ãª)ã¨è¨ã」
「OK Google, (ã¢ããªå)ã«(ã¯ã¨ãª)ãé ¼ã」
「OK Google, (ã¢ããªå)ã使ã£ã¦(ã¯ã¨ãª)ãã」
è¨å®æ¹æ³ã¯ Implicit Invocation ã¨åæ§ã§ã。ãã ã、Implicit Invocation ã¨ã¯ç°ãªã、ä¼è©±ã¢ã¯ã·ã§ã³å®è¡ã«åããã¯ã¨ãªã§ããå¿
è¦ãããã¾ã。ã²ã¼ã ã¢ããªã®ã²ã¼ã éå§ä¼è©±ã¢ã¯ã·ã§ã³ã«è¨å®ããå ´åã«ã¯ 「éã¶」「ã²ã¼ã ãéå§ãã」ãªã©ãããã§ããã。
ã¾ã、ãã©ã¡ã¼ã¿ãªã©ãå©ç¨ããä¼è©±ã¢ã¯ã·ã§ã³ãè¨å®ããå ´åã«ã¯、å¿
è¦ãªãã©ã¡ã¼ã¿ãªã©ãåå¾ã§ããå¿
è¦ãããã¾ã。ãã¨ãã°、ã¬ã¹ãã©ã³æ¤ç´¢ã¢ããªã®å ´å、「æ°å®¿ã®ä¸è¯æçåºèª¿ã¹ã¦」ãªã©å°åãã¸ã£ã³ã«ã®æå®ãå«ãã ã¯ã¨ãªã«ããã¨、èµ·åç´å¾ã«æ¤ç´¢çµæãæä¾ãããã¨ãå¯è½ã§ã。
ã¨ã©ã¼ãæ¸ããã¦å®å®ãã稼åãå®ç¾ããã
ã¦ã¼ã¶ã¼ã«èµ·åãã¦ãããã Google ã¢ã·ã¹ã¿ã³ã対å¿ã¢ããªã、ã¦ã¼ã¶ã¼ã®è¦æ±ãå®äºã§ããªãã¨、ã¦ã¼ã¶ã¼ã¯é·æçãªå©ç¨ãè¡ãã¾ãã。
ã¦ã¼ã¶ã¼ã®å
¥åãå¦ç¿ã、å®å®ãã稼åããããã¨ãå¿
è¦ä¸å¯æ¬ ã§ã。
ããããå¦ç¿ã«å¯¾å¿ãããã、Dialogflow ã§ã¯
ãã¬ã¼ãã³ã°æ©è½ãæä¾ãã¦ãã¾ã。
ãã¬ã¼ãã³ã°æ©è½ã使ãã¨、ã¨ã©ã¼ã¨ãªã£ã¦ãã¾ã£ãã¯ã¨ãªãé©åãªã¤ã³ãã³ãã¨ç´ä»ã、次ã®æ©ä¼ã«ã¯æ£ããåãããã«å¦ç¿ããããã¨ãç°¡åã«ã§ãã¾ã。
Actions on Google ã®ããã°ã©ãã³ã°ãéçºã«ã¤ãã¦ã®ã質åããã°ã¬ãã¼ãã、
ãã¡ãã®ãã©ã¼ã ã«ã¦æ¥æ¬èªã§åãä»ãã¦ãã¾ã。ãããã¦ãæ´»ç¨ãã ãã。
Google ã§ã¯ä»å¾ãã²ãã¤ã¥ã、ããå¤ãã®éçºè
ãäºæ¥è
ã®ã¿ãªãã¾ã«ã¢ã·ã¹ã¿ã³ã対å¿ã¢ããªãæä¾ãã¦ããã ãããã、æ
å ±æä¾ã¨æ©è½å¼·åã«åªãã¦ããããã¨èãã¦ãã¾ã。 ã©ãããããããããããããã¾ã。
Posted by Eriko Tsuda -- gTech Velocity Team