Platform Specific Features > Google Assistant
Learn more about Google Assistant specific features that can be used with the Jovo Framework.
Find an introduction to how Google Assistant works here: Getting Started > Voice App Basics > Google Assistant.
You can access the googleAction
object like this:
let google = this.googleAction();
This section provides an overview of Google Assistant specific features for output. For the basic concept, take a look here: App Logic > Output.
Google Assistant allows to add multiple reprompts that are spoken out in order if there is no response by the user. Here is the official reference by Google: Static Reprompts.
The reprompts can be added to the ask
method by using an array.
this.ask(speech, [reprompt1, reprompt2, goodbyeMessage]);
The first two messages are usually reprompt messages, the third one is used to say goodbye to the user.
You can find out more about visual output here: Platform specifics > Google Assistant > Visual
You can find out more about your Google Action user's data here: Platform specifics > Google Assistant > Data