In this section, you will learn more about the essential configurations of a Jovo Voice App.
Everything related to running your voice application, either in Lambda or using a webhook (recommended for local prototyping), is dealt with in
You can find all the information regarding server configuration in this section: App Configuration > Server.
/app folder, and specifically
app.js is used for the logic of your voice application, which contains handlers, intents and the configuration of your voice app (we will get to that shortly).
You can find everything related to the app logic here: App Logic.
The idea is to maintain a single language model locally instead of having to go to the platform developer consoles independently.
/models folder, every language gets a file. For example, here's how a file
en-US.json could look like:
You can find out more about that here App Configuration > Models.
To add configurations, you have two options: You can either add them at the beginning of
app.js in the constructor or you use the setter function of each configuration.
You can find a list of all available configurations below.
To add them with the constructor you simply change the content of the config object at the beginning of
The other possibility is to use one of the setter functions:
This is the default configuration:
Below is a list of all configurations:
|Routing||intentMap||Maps incoming intents to specified intent names|
|intentsToSkipUnhandled||Intents which should not be mapped to 'Unhandled' when not found in a certain state|
|Data||inputMap||Maps incoming input (slots and parameters) to specified input names|
|logging||Logs both requests and responses|
|requestLogging||Logs incoming requests|
|responseLogging||Logs outgoing responses|
|requestLoggingObjects||Limits request logs to the provided objects|
|responseLoggingObjects||Limits response logs to the provided objects|
|User||userDataCol||Changes the name of the user data column in the database|
|userMetaData||Change the default configurations for storing user meta data|
|userContext||Change the default configurations for storing context data|
|Output||i18n||Enable multilingual output for your voice app|
|Integrations||Databases||Switch between supported database integrations|
|Analytics||Enable analytics integrations|
Subscribe to our free newsletter to receive updates and tutorials on Jovo and voice interfaces in general.
Any specific questions? Just drop them below. Alternatively, you can also fill out this feedback form. Thank you!