I have the following JSON sent as response to API.AI webhook:
{
"speech": "Hello World",
"data": {
"google": {
"richResponse": {
"suggestions": [
{
"title": "Foo"
},
{
"title": "Bar"
}
]
},
"expectUserResponse": true,
"isSsml": false
}
}
}
It makes Google Assistant to disconnect my bot ("XXX isn't responding right now. Try again soon.") If I remove the richResponse
part, it works (returns "Hello World").
How do I send suggestion chips?