|
1 | 1 | # Accounts Payable Bot using Azure Bot Service
|
2 | 2 |
|
3 |
| - |
| 3 | + |
4 | 4 |
|
5 | 5 | #### Prerequisites
|
6 | 6 |
|
7 |
| -TODO |
| 7 | +- Active [Azure Subscription](https://azure.microsoft.com/en-us/free) |
8 | 8 |
|
9 |
| -#### Setup |
| 9 | +- Install [Visual Studio Code](https://code.visualstudio.com/) |
10 | 10 |
|
11 |
| -TODO |
| 11 | +- Install [nodejs 8.11](https://nodejs.org/en/) |
| 12 | + |
| 13 | +- Install [Bot Framework Emulator](https://github.com/Microsoft/BotFramework-Emulator/releases) |
| 14 | + |
| 15 | +#### Bot Service |
| 16 | + |
| 17 | +*Note: Creating the web app bot in Azure also creates an AAD App. If you do not have access to create apps in AAD you can ask your administrator to create a Converged Application at [apps.dev.microsoft.com](https://apps.dev.microsoft.com/) and add you as Owner. Once you are added as owner, you can generate a new password and use it while creating the web app bot* |
| 18 | + |
| 19 | +- Create a [Web App Bot](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-quickstart?view=azure-bot-service-3.0) |
| 20 | + - Under Bot template select Language Understanding NodeJS. |
| 21 | +- Click on `Application Settings` and copy values for `MicrosoftAppId`,`MicrosoftAppPassword`,`LuisAppId` and`LuisAPIKey` |
| 22 | + |
| 23 | +#### LUIS |
| 24 | + |
| 25 | +*Note: If you have created the Web App Bot the LUIS app will be created for you automatically.* |
| 26 | + |
| 27 | +- Log in to [www.luis.ai](http://www.luis.ai/) and under `My Apps` click the app that was created. |
| 28 | +- Copy name of the LUIS App and update it in the `luis-model\contosoapbot.json` file. |
| 29 | +- Under `Settings` tab, click on `Import new version` and upload the `luis-model\contosoapbot.json` file. |
| 30 | +- Click on `Train Button` to train the updated model. |
| 31 | +- Under `Publish` tab, click on `Publish` button to publish the model to both Production and Staging. |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +#### Deploy & Test Locally |
| 36 | + |
| 37 | +- TODO |
| 38 | + |
| 39 | +#### Deploy on Azure |
| 40 | + |
| 41 | +- *TODO* |
| 42 | + |
| 43 | +- Update Nodejs version to 8.11.1 |
| 44 | +- Update Application Settings |
| 45 | +- Deploy code |
12 | 46 |
|
0 commit comments