Skip to content

Commit b154d45

Browse files
committed
reademe updates
1 parent 7ec2af0 commit b154d45

File tree

5 files changed

+41
-7
lines changed

5 files changed

+41
-7
lines changed

README.md

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,46 @@
11
# Accounts Payable Bot using Azure Bot Service
22

3-
![Accounts Payable Bot using Azure Bot Service](https://raw.githubusercontent.com/jomit/ap-bot/master/architecture.png)
3+
![Accounts Payable Bot using Azure Bot Service](https://raw.githubusercontent.com/jomit/ap-bot/master/images/architecture.png)
44

55
#### Prerequisites
66

7-
TODO
7+
- Active [Azure Subscription](https://azure.microsoft.com/en-us/free)
88

9-
#### Setup
9+
- Install [Visual Studio Code](https://code.visualstudio.com/)
1010

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+
![Import LUIS Model](https://raw.githubusercontent.com/jomit/ap-bot/master/images/import-luis-model.png)
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
1246

console/sample.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
serviceBusConnectionString=
2-
serviceBusQueueName=requests
1+
ServiceBusConnectionString=
2+
ServiceBusQueueName=requests
33
sqledwConnectionString=
44
APP_ID=
55
APP_PASSWORD=
File renamed without changes.

images/import-luis-model.png

41.8 KB
Loading

luis-model/contosoapbot.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"luis_schema_version": "3.0.0",
3-
"versionId": "0.1",
3+
"versionId": "1.0",
44
"name": "contosoapbot",
55
"desc": "",
66
"culture": "en-us",

0 commit comments

Comments
 (0)