Project Setup
This page describes how to download, configure and start Core and NLP services to run and develop Flowstorm Core.
Core services
You must have Java JDK version 8 and Apache Maven version 3 installed before you start with Core services. You cannot use newer versions of Java due to compatibility issues.
Google Application Credentials
Before you start Core services GOOGLE_APPLICATION_CREDENTIALS
environment variable has to be set pointing to the Google Service Account key JSON file (otherwise Google Speech-To-Text and Text-To-Speech services used by Core runner won't work).
Application Configuration
You need also create app.local.properties
configuration file and put it into working directory. It should contain at least database.url
and illusionist.key
properties.
Property | Description |
Basic | |
| Required MongoDB URL in form
|
| Namespace to be used to construct Platform service URLs Default value is |
| Suffix for database collections |
NLP Services | Platform NLP Services |
| URL of Illusionist (Flowstorm IR+NER Service). If not set following will be used
|
| Illusionist API key |
Amazon Web Services | Required when using Amazon Polly Text-To-Speech service |
| AWS secret key |
| AWS access key |
Microsoft Cognitive Services | Required when using Microsoft Text-To-Speech service |
| Microsoft Cognitive Services API key |
| Microsoft Cognitive Services location (e.g. |
MailGun | Optional service for sending e-mails from DialogueScript |
| MailGun domain (e.g. |
| MailGun API key |
| MailGun API base URL (e.g. |
ElasticSearch | Optional storage for storing and analysing conversational data |
| ElasticSearch server host |
| ElasticSearch user |
| ElasticSearch password |
Other (optional) | |
| wCities API access token |
| TMDb API key |
Finally you can start Core services by following commands to get runner available at localhost port 8080 and builder at port 8081
Docker images
If you want to build your own Docker images instead of using generic ones available at registry.gitlab.com
you can do that by following commands:
NLP Services
TBD
Last updated