2
|
Alex Wohlbruck · 技术社区 · 7 年前 |
![]() |
1
7
使用Dialogflow集成,您的webhook应该为丰富响应返回的JSON响应如下所示:
如果您正在使用 Node.js library 您还可以使用提供的Dialogflow集成方法来构建 rich response . |
![]() |
2
2
如果您使用的是节点。js您应该调用该方法
这是添加BasicCard的一个示例,您可以在以下位置查看如何添加旋转木马、列表和建议芯片 https://developers.google.com/actions/assistant/responses#rich-responses |