【发布时间】:2018-08-30 10:39:26
【问题描述】:
我正在学习 google 操作,并制作了一个基本的、类似 google-keep 的应用程序,它记录登录用户的笔记。它有一个移动客户端和一个 Firebase 服务器。我想知道是否可以让助手以这样的方式进行交互,即可以通过助手会话创建笔记而根本不打开移动客户端。 例如:
User (on any screen): "hey google"
AI - "hi , how can i help?"
U - " place a note to call david in customNotter" ( suppose)
Ai - "am sorrry, customnotter does not exist on your mobile , download it from playstore http"//www.link..."
U - *downloads customNotter app , installs, logs himself in*
U - " place a note to call david in customNotter"
Ai - "Ok, your note is saved"
*saves note "call david" in customNotter (by somehow calling some code to interact with customNotter's server?)*
我可以想象一个 kotlin 代码可以包含在我的应用程序中,助手可以触发它可以简单地将便笺添加到服务器,但无法想象助手如何使用用户的身份验证详细信息和便笺数据触发该代码?
PS:我也想知道谷歌主页是否也可以集成到这样的应用程序中。如果不是,限制 google home 不与我的服务器交互的关键因素是什么?比如假设正在为 CustomNotter 构建一个完整的业务模型,其中有一个统一的服务器和许多客户端,如 ios/android/web 应用程序。 google home 能否像另一个经过身份验证的客户端一样直接与服务器交互?
【问题讨论】: