What's the difference between ActionsSdkApp and DialogflowApp for Google Assistant

前端 未结 2 839
半阙折子戏
半阙折子戏 2021-02-15 00:54

In order to build a Google Assistant app, Google provides two different APIs as part of their node.js actions-on-google library :

  • ActionsSdkApp
  • Dialogflow
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-15 01:49

    IN SIMPLE TERMS

    Use the Actions SDK for one-shot apps. These are apps that provide the required answer directly after being invoked and then stop. They give you just this one result. A typical example would be setting a timer to ten minutes.

    Use the Dialogflow for all other apps, for those that are really conversational, where there are multiple paths to follow and where you want your user to provide more information during the conversation.

提交回复
热议问题