代理突然离开对话,没有任何关于错误是什么的指示



我一直在使用Google助手做一些工作,它工作正常,但有时代理突然离开对话,错误视图和日志都没有任何迹象表明发生了什么。我需要线索为什么此响应从未到达代理(因为它是在 5 秒窗口内发送的(,以及为什么日志中没有关于发生的事情的迹象。有时我的查询被定向到一般的谷歌搜索,这不是我希望用户得到的。

从代理后端发送的响应如下所示。

{    "expectUserResponse": true,    "expectedInputs": [
{
"inputPrompt": {
"initialPrompts": [],
"noInputPrompts": [],
"richInitialPrompt": {
"items": [
{
"simpleResponse": {
"textToSpeech": "Here is what I found. This product is manufactured by Carroll & Meynell. The retail    price of this product is 297.93 GBP. What would you like to do?. ",
"displayText": "Let me see what I can find for you. Here is what I found. This product is manufactured by    Carroll & Meynell. The retail price of this product is 297.93 GBP. it    also has 230 V ac Primary Voltage Rating, ±55 V ac Secondary Voltage    Rating, 3 kVA Power Rating, 27 A Output Current and CMHT Series. What    would you like to do?. "
}
},
{
"basicCard": {
"title": "Carroll & Meynell, 3kVA CMHT Safety Transformer, 230V ac, 27A",
"image": {
"url": "https://test.com/t_large/R3996140-01.jpg",
"accessibilityText": "Other Images"
},
"buttons": []
}
}
],
"suggestions": [
{
"title": "Manufacturer Info"
},
{
"title": "Prices and Stock"
},
{
"title": "More Like This"
},
{
"title": "Accessories"
},
{
"title": "Product Alternative"
},
{
"title": "Warranty Info"
},
{
"title": "Technical Details"
},
{
"title": "Other Options"
}
]
}
},
"possibleIntents": [
{
"intent": "actions.intent.TEXT"
}
]
}    
] 
}

@NickFelker 同样的事情也发生在我身上,无论是在模拟器还是手机上。谷歌上的操作非常糟糕且没有条理,最重要的是这些问题 - 我已经使同样的事情适用于Facebook Messenger的自定义有效负载。我真的在考虑暂时不要触摸谷歌上的动作,因为它像地狱一样不稳定。

最新更新