Website - Docs - Marketplace - Template
A sample Jovo v4
app that makes it possible to build experiences for voice and chat platforms.
This is the default template for the jovo new
command.
Learn more in Jovo docs: https://www.jovo.tech/docs/getting-started
You can install the new Jovo CLI like this:
# Install globally
$ npm install -g @jovotech/cli
# Test the installation
$ jovo -v
After successfully installing the Jovo CLI, you can install the template using the new
command:
$ jovo new <directory>
Change your working directory into your newly created project directory and run
your Jovo app:
# Change working directory to your previously specified directory
$ cd <directory>
# Run local development server
$ jovo run
You can now open the Jovo Debugger with the .
key.
This sample app uses the Voiceflow Dialog API and the Interact endpoint. All requests (Alexa, web chat, Jovo Debugger) are handled by the VoiceflowDialogPlugin.
The quickest way to test this is by setting the dialogApiKey
in app.ts to an existing Voiceflow project and adding intents to the /models/en.json file. Then use the Jovo Debugger as the test client.
To get you started, use this Voiceflow clone link.
You can overwrite the default VoiceflowDialogPlugin config settings in app.ts.
This sample uses Jovo's ability to accept various JSON request formats for different platforms (Alexa, web chat) and maps inputs to the Voiceflow Dialog API call. It then maps outputs from Voiceflow and converts them to the appropriate JSON response format.
Since Voiceflow is handling the logic, the following Jovo 4 features are not used and various steps in the middleware pipeline are skipped:
- Database
- Router
- Components