2019-03-01 15:34:29 -03:00
|
|
|
# General Bots Administration
|
|
|
|
|
2020-11-15 08:49:49 -03:00
|
|
|
## Instance custom params
|
|
|
|
|
2019-03-01 15:34:29 -03:00
|
|
|
## Commands
|
|
|
|
|
|
|
|
General Bot can be controlled by the same chat window people talk to, so
|
|
|
|
here is a list of admin commands related to deploying .gb* files.
|
|
|
|
|
|
|
|
| Command | Description |
|
|
|
|
|-----------------|-----------------------------------------------------------------------------------------------------------------|
|
|
|
|
| deployPackage | Deploy a KB package. Usage **deployPackage** [package-name]. Then, you need to run rebuildIndex. |
|
|
|
|
| undeployPackage | Undeploy a KB. Usage **undeployPackage** [package-name]. |
|
|
|
|
| redeployPackage | Undeploy and then deploys the KB. Usage **redeployPackage** [package-name]. Then, you need to run rebuildIndex. |
|
|
|
|
| setupSecurity | Setup connection to user directories. |
|
2019-07-18 18:30:05 -03:00
|
|
|
| syncBotServer | Updates the cloud with the latest version from GitHub BotServer repository. |
|
|
|
|
| rebuildIndex | Rebuild Azure Search indexes, must be run after **deployPackage** or **redeployPackage**. | Now it is called automatically |
|
2020-05-23 10:25:30 -03:00
|
|
|
| /publish [package] | Deploy the package to the bot storage. When ommited, the command will publish the package named <botId>.gbkb by default. |
|
|
|
|
|
2021-12-26 13:39:53 -03:00
|
|
|
# Config.xlsx (.gbot) Configuration
|
|
|
|
|
|
|
|
| Name | Description|
|
|
|
|
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
| Admin Notify E-mail | E-mail used to notify administrators. |
|
|
|
|
| Avatar Logo | Bot logo URL. |
|
|
|
|
| Can Publish | Comma separeted list of mobile numbers that can publish directly. |
|
|
|
|
| Description | Description of the Bot. |
|
|
|
|
| Enable Audio Hearing | TRUE if the Bot can hear. |
|
|
|
|
| Enable Audio Talking | TRUE if the Bot can talk. |
|
|
|
|
| Enable Spelling Checker | TRUE if everything input by user should be spell checked. |
|
|
|
|
| Enable Worldwide Translator | TRUE if the Bot should be polyglot. |
|
|
|
|
| Default User Language | Language (eg.: en or pt) that user will be presented by the Bot. |
|
|
|
|
| Default Content Language | Language (eg.: en or pt) that content files in .gbkb, .gbdialog and so on are written. |
|
|
|
|
| Language Detector | TRUE if Bot should get the language automatically. |
|
|
|
|
| NLP Score | Number between 0 and 1 that will be used to classify text to use NLP neural network. |
|
|
|
|
| Search Score | Number between 0 and 1 that will be used to consider Full Text Search as content retrieval method. |
|
|
|
|
| Transfer To | Comma separeted list of mobile numbers that Bot will use to tranfer chats from WhatsApp. |
|
|
|
|
| WhatsApp Admins | Comma separeted list of mobile numbers that will be admin. |
|
|
|
|
| Feedback Improve.Message | Message to user when the Bot was unable to find something. |
|
|
|
|
| Keep Text | Comma separeted list of words that should be keep intact between Bot understanding process. |
|
|
|
|
| Start Dialog | Name of .docx (without the Extension) that will be used as Dialog entry point. |
|
|
|
|
| HelloGoodX | TRUE if Bot should give hello. |
|
|
|
|
| XRM Key | String key of HubSpot (currently) API. |
|
|
|
|
| WhatsApp Group Name | WhatsApp group name that this Bot belongs to. |
|
2021-12-26 13:44:08 -03:00
|
|
|
| WhatsApp Group Shortcuts | Space separeted list of triggers in text that will active Bot in groups.|
|
2021-12-26 13:39:53 -03:00
|
|
|
|
|
|
|
|
2019-03-04 13:05:33 -03:00
|
|
|
## Enviroment Variables Reference
|
|
|
|
|
|
|
|
| Name | Sample Value | Description |
|
|
|
|
|------------------------|--------------------------------------------------|-------------|
|
2020-01-09 15:17:01 -03:00
|
|
|
| ADDITIONAL_DEPLOY_PATH | D:\data\gbai | Deploy folder to look for packages (Just one folder).
|
2019-03-04 13:05:33 -03:00
|
|
|
| ADMIN_PASS | E732+!#xJ3a_*! | Administration password for the conversational interface.
|
|
|
|
| CLOUD_SUBSCRIPTIONID | 622e5037-f7f1-49f6-a9c4-28babbb0fs | Cloud subscription ID used to deploy new bots.
|
|
|
|
| CLOUD_LOCATION | westus | Cloud location used to deploy new bots.
|
|
|
|
| CLOUD_GROUP | newassistant | Cloud group used to deploy new bots.
|
|
|
|
| CLOUD_USERNAME | someone@domain | Cloud username used to deploy new bots.
|
2020-01-09 15:17:01 -03:00
|
|
|
| CLOUD_PASSWORD | <use a password generator> | Cloud password used to deploy new bots.
|
2019-03-04 13:05:33 -03:00
|
|
|
| MARKETPLACE_ID | 9c90ff1c3-101b-4f0d-85cd-4bada2226fe3 | Martplace identifier associated to the boot bot.
|
|
|
|
| MARKETPLACE_SECRET | nzrNUUG6214%raqzYWQ8(+% | Martplace password associated to the boot bot.
|
|
|
|
| STORAGE_DIALECT | mssql | The bot database dialect configuration value. Can be MSSQL or SQLITE.
|
|
|
|
| STORAGE_SERVER | newassistant-storage-server.database.windows.net | The bot database server name configuration value.
|
2020-10-24 13:05:19 -03:00
|
|
|
| STORAGE_NAME | newassistant-storage | The bot database name configuration value.
|
2019-03-04 13:05:33 -03:00
|
|
|
| STORAGE_USERNAME | sahaaksfqiehke | The bot database security username configuration value.
|
2020-01-09 15:17:01 -03:00
|
|
|
| STORAGE_PASSWORD | <use a password generator> | The bot database security password configuration value.
|
2019-03-04 13:05:33 -03:00
|
|
|
| STORAGE_SYNC | true | If the bot server should sync database before running.
|
2020-10-24 13:17:01 -03:00
|
|
|
| PRIVACY_STORE_MESSAGES | true | If the bot server should store message logs in the database
|
2019-03-04 13:05:33 -03:00
|
|
|
|
2019-03-01 15:34:29 -03:00
|
|
|
## How to
|
|
|
|
|
|
|
|
### Move to production (Azure)
|
|
|
|
|
|
|
|
* Update bot endpoint;
|
2019-03-04 09:40:50 -03:00
|
|
|
|
|
|
|
## Bot Analytics
|
|
|
|
|
2019-03-04 13:05:33 -03:00
|
|
|
## Cloud Internals
|
|
|
|
|
|
|
|
|