Configuration
Last updated
Last updated
Field | Description |
---|---|
config.app_name
The project's name.
config.environment
Defines the environment: development
or production
.
In development
mode you will see more logs and isn't necessary to restart when the code is modified.
config.http_port
The port where the web server runs.
config.available_locales
The available locales of the project.
config.default_locale
The default language in case Internationalization is implemented.
config.routes.default
The general context, which will handle a message when the conversation with a user has no defined context.
config.delayed_actions.time_elapsed_after_last_usage
The minimum waiting time in seconds to send the next message of a sequence to an user, after he has sent the last message to the conversation. Read more in the Sequences chapter.
config.store_log_in_database
If true
, it will save incoming messages, events and replies to the kogno_chat_logs
database table.
config.typed_postbacks
If true
, options on buttons
or quick_replies
will be matched against the next message received. Read about this functionality here.
config.error_notifier.slack
If enable
field is true
and a Slack webhook
url is configured, the framework will send any error to the channel associated in Slack.
Read the documentation in Slack.