我一直在用谷歌助手做一些工作,它工作正常,但有时代理突然离开对话,错误视图和日志都没有任何关于发生了什么的迹象。我需要一个线索,为什么这个响应从来没有到达代理(假设它是在 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"
}
]
}
]
}