Bot Connector Configurations
Following is the procedure to configure Database Connector
- Stop
EF_BotConnectorservice in Windows Services pane. - Navigate to
<installation-dir>\hybrid-chat\core\bot-connector - Open
rasa-bot-connector-docker-variables.envwith any text editor and change required configurations. Save and close the file - Start
EF_DatabaseConnectorservice. Checks logs in/EFLogs/chat-solution/bot-connector/directory.
Configuration
Following table explains Database Connector configurations
| Configuration Variable | Default Value | Expected Value | Limitations | Description | |
|---|---|---|---|---|---|
| 1 | BOT_API_URL | https://api:7500 | String | BOT_API_URL is only used when 'BOT_TYPE=Articulate' or 'BOT_TYPE=Rasa'. In case of 'BOT_TYPE=Dialogflow' this variable is not used | API URL of Bot |
| 2 | NODE_ENV | production | String | Do not change this variable | Environment for Node.js |
| 3 | CHAT_SERVER_URL | https://chat:8443 | String | ||
| 4 | BOT_ID | bot | String | ||
| 5 | BOT_NAME | EF Bot | String | ||
| 6 | BOT_TYPE | Articulate | String | BOT_TYPE variable has possible values 'Articulate/Rasa/Dialogflow' | |
| 7 | FAILURE_MESSAGE | Bot service is not available, we are finding an agent for you | String | ||
| 8 | BOOTSTRAP | true | Boolean true / false | BOOTSTRAP variable is only used when 'BOT_TYPE=Articulate' | |
| 9 | TIMEOUT | 10 | Number | This timeout variable is only used when BOT_TYPE is Articulate or Rasa | This is the HTTP request timeout in seconds the bot-connector awaits for a response from the Rasa bot. |
| 10 | MAX_RETRIES | 10 | Number | This variable is only used when BOT_TYPE is Articulate. | Bot-connector calls http[s]://articulate.customer.com:7500/agent/ to get a list of all bot agents created in Articulate. MAX_RETRIES specifies the total number of retries in the case of no response. |
| 11 | PROJECT_ID | english2-737d6 | String | PROJECT_ID variable is only used when 'BOT_TYPE=Dialogflow' |