我有一个简单的响应,从对话流到谷歌助手的BasicCard.The响应是这样的:
"payload": {
"google": {
"expectUserResponse": true,
"richResponse": {
"items": [
{
"simpleResponse": {
"textToSpeech": "Can you tell your TV's model number? (Eg. 42PFL7008S/12)",
"displayText": "Can you tell your TV's model number? (Eg. 42PFL7008S/12)"
},
"basicCard": {
"image": {
"url": "https://",
"accessibilityText": "The model number can be found here "
},
"title": "The model number can be found on here,
"subtitle": "It is also called Set-Type,"
}
}
],
"suggestions": []
}
}
}
在响应GA,Simulator中,我得到了以下错误:
expected_inputs[0].input_prompt.rich_initial_prompt: the first element must be a 'simple_response', a 'structured_response' or a 'custom_response'.
GA响应我在simulator..Somewhere中看不到简单的响应,简单的响应是discarded..Is,DialogFlow的响应中有任何缺陷吗?
https://stackoverflow.com/questions/53636547
复制相似问题