您好,我正在尝试为 Google 上的操作设置帐户链接。在模拟器中测试时,响应中没有 debugInfo.sharedDebugInfo 信息。我的问题是我缺少什么来填充它。我将欢迎意图设置为通过 api.ai 控制台以及 oauth 链接的所有其他必要字段进行登录。
问问题
728 次
1 回答
0
启用“欢迎意图所需的登录”后,您应该在询问“我可以与 myAgent 交谈”问题后立即看到它。这是我看到的:
Request
{
"query": "can i talk to myAgent",
"accessToken": "ya29.GlzXA38i6oBr0UD5CxXzstBaYFpbQF0tL16jK7tefC2_lWvofj79TbCmrDS1jedhxc_-LJp0w6PW3CJN5wL3oOFoqSMAZ8TbAKiMW6SKcUM65DUVdsSWC65nc_Oezg"
}
Response
{
"response": "It looks like your myAgent account is not linked yet. You can link myAgent to your Google Account from the Google Home app.",
"audioResponse": "//NExAASi..."content_copy,
"debugInfo": {
"sharedDebugInfo": [
{
"name": "Account Linking Url",
"debugInfo": "https://assistant.google.com/services/auth/handoffs/auth/start?provider=myAgent-156006_dev&return_url=https://www.google.com/"
}
]
}
}
于 2017-01-18T22:12:08.490 回答