Jovo Core Platform

Integration published by Jovo | 1,755 downloads

Build your own voice and text assistant by extending Jovo's core platform

Jovo Core Platform Integration

Learn more about the Jovo Core Platform, which can be used to deploy a voice experiences to custom devices and hardware, including the web, mobile apps, and Raspberry Pi.

Installation

Install the integration into your project directory.

Import the installed module, initialize and add it to the app object.

Introduction to Core Platform Specific Features

You can access the corePlatformApp object like this:

The returned object will be an instance of CorePlatformApp if the current request is compatible with the Core Platform. Otherwise undefined will be returned.

Output

These sections provide an overview of Core Platform specific features for output. For the basic concept, take a look here: Jovo Docs: Basic Concepts > Output.

Actions and the ActionBuilder

The output of the Core Platform is divided into Actions. These Actions are sent back with the response and then handled by the client.

Action Types

Currently, the following Actions are supported:

SpeechAction

The SpeechAction can be used to display text and synthesize text.

AudioAction

The AudioAction can be used to play an audio file.

VisualAction

The VisualAction can be used for visual output like cards.

ProcessingAction

The ProcessingAction can be used to display processing information.

CustomAction

The CustomAction can be used to send a custom payload that can be handled by the client.

SequenceContainerAction

The SequenceContainer can be used to nest actions. All actions inside this container will be processed after another.

ParallelContainerAction

The ParallelContainer can be used to nest actions. All actions inside this container will be processed simultaneously.

QuickReplyAction

The QuickReplyAction can be used to display interactive quick-reply buttons.

ActionBuilder

CorePlatformApp has the properties $actions and $repromptActions, which are instances of ActionBuilder. The ActionBuilder is the recommended way of filling the output for the Core Platform.

Example Usage:

Showing Quick Replies

Adding Actions

Adds the given actions or actions of the given ActionBuilder.

Setting Actions

Sets the current actions to the given actions or to the actions of the given ActionBuilder.

INFO The actions generated for the speech of tell and ask will NOT be overwritten.

Adding RepromptActions

Adds the given actions or actions of the given ActionBuilder.

Setting RepromptActions

Sets the reprompt actions to the given actions or to the actions of the given ActionBuilder.

INFO The action generated for the reprompt of ask will NOT be overwritten.

Core Platform Changelog

Current version might be higher than the latest changes displayed below because of updates of dependencies.

3.0.17 (2020-05-28)

🐛 Bug Fix

3.0.11 (2020-04-06)

  • Updated Typescript to 3.8.x
  • Updated Prettier to 2.x

Committers: 2

3.0.3 (2020-02-25)

💅 Enhancement

2.x

Find the 2.x changelog here.

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.