Skip to content

Commit b8bd66f

Browse files
authored
Release 'live' 10-15-2018 (#1011)
1 parent 54ed500 commit b8bd66f

29 files changed

+54
-48
lines changed

articles/bot-service-build-download-source-code.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ After your project configured, your project changes will be published to Azure.
5757

5858
Next, we'll take a look at downloading and redeploying code using the `az` cli.
5959

60-
### Download code usubg Azure CLI
60+
### Download code using Azure CLI
61+
6162
First, log in to the Azure portal using the az cli tool.
6263

6364
```azcli
@@ -80,7 +81,8 @@ After the code is downloaded, do the following:
8081
}
8182
```
8283

83-
- For node.js bot, dd a .env file with the following entries:
84+
- For node.js bot, add a .env file with the following entries:
85+
8486
```
8587
botFilePath=yourbasicBot.bot
8688
botFileSecret=ukxxxxxxxxxxxxs=

articles/bot-service-channel-connect-cortana.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,23 @@ When connecting your bot with the Cortana channel, some basic information about
2626
| **Skill icon** | An icon that is displayed in the Cortana canvas when your skill is invoked. This is also used where skills are discoverable (like the Microsoft store). (32KB max, PNG only).|
2727
| **Display name** | The name of your Cortana skill is displayed to the user at the top of the visual UI. (30 character limit) |
2828
| **Invocation name** | This is the name users say when invoking a skill. It should be no more than three words and easy to pronounce. See the [Invocation Name Guidelines][invocation] for more information on how to choose this name.|
29-
| **Description** | A description of your Cortana skill. This is used where skills are discoverable (like the Microsoft store). |
30-
| **Short description** | A short description of your skill’s functionality, used to describe the skill in Cortana’s notebook. |
29+
30+
![Default settings](~/media/channels/cortana-defaultsettings.png)
3131

3232
## General bot information
3333

3434
Under the **Manage user identity through connected services section** press the option to enable it. Fill in the form.
3535

36-
All fields marked with an asterisk (*) are required. Bots must be published on the Bot Framework before they can be connected to Cortana.
37-
38-
![Provide general information](~/media/channels/cortana-details.png)
39-
40-
### Sign in at invocation
41-
42-
Select this option if you want Cortana to sign in the user at the time they invoke your skill.
36+
All fields marked with an asterisk (*) are required. A Bot must be published to Azure before it can be connected to Cortana.
4337

44-
### Sign in when required
38+
![Manage user identity, part 1](~/media/channels/cortana-manageidentity-1.png)
39+
![Manage user identity, part 2](~/media/channels/cortana-manageidentity-2.png)
4540

46-
Select this option if you use a Bot Framework's SignIn card to sign in the user. Typically, you use this option if you want to sign in the user only if they use a feature that requires authentication. When your skill sends a message that includes the SignIn card as an attachment, Cortana ignores the SignIn card and performs the authorization flow using the Connect Account settings.
41+
### When should Cortana prompt for a user to sign in
4742

48-
### Connected service icon
43+
Select **Sign in at invocation** if you want Cortana to sign in the user at the time they invoke your skill.
4944

50-
The icon that you want displayed when the user signs in to your skill.
45+
Select **Sign in when required** if you use a Bot Service sign-in card to sign in the user. Typically, you use this option if you want to sign in the user only if they will use a feature that requires authentication. When your skill sends a message that includes the sign-in card as an attachment, Cortana ignores the sign-in card and performs the authorization flow using the Connect Account settings.
5146

5247
### Account name
5348

@@ -65,37 +60,41 @@ Specify the scopes that the service requires (see the service's documentation).
6560

6661
Set to `https://login.microsoftonline.com/common/oauth2/v2.0/authorize`.
6762

63+
### Token options
64+
65+
Select **POST**.
66+
6867
### Grant type
6968

70-
Select Authorization code to use code grant flow. Select Implicit to use implicit flow.
69+
Select **Authorization code** to use the code grant flow, or select **Implicit** to use the implicit flow.
7170

7271
### Token URL
7372

74-
If you select Authorization code, set to `https://login.microsoftonline.com/common/oauth2/v2.0/token`.
73+
For the **Authorization code** grant type, set to `https://login.microsoftonline.com/common/oauth2/v2.0/token`.
7574

7675
### Client secret/password for third party services
7776

7877
The bot's password. You received the password when you registered your bot.
7978

8079
### Client authentication scheme
8180

82-
Select HTTP Basic.
81+
Select **HTTP Basic**.
8382

84-
### Token options
83+
### Internet access required to authenticate users
8584

86-
Set to POST.
85+
Leave this unchecked.
8786

8887
### Request user profile data (optional)
8988

90-
Cortana provides access to several different types of user profile information, that you can use to customize the bot for the user. For example, if a skill has access to the users name and location then the skill can have custom response such as Hello Kamran, I hope you are having a pleasant day in Bellevue, Washington.
89+
Cortana provides access to several different types of user profile information, that you can use to customize the bot for the user. For example, if a skill has access to the user's name and location then the skill can have custom response such as "Hello Kamran, I hope you are having a pleasant day in Bellevue, Washington."
9190

92-
Click the **Add a user profile request** link, then select the user profile information you want from the drop-down list. Add a friendly name to use to access this information from your bot's code.
91+
Click **Add a user profile request**, then select the user profile information you want from the drop-down list. Add a friendly name to use to access this information from your bot's code.
9392

94-
### Save skill
93+
### Deploy on Cortana
9594

96-
When you are done filling out the registration form for your Cortana skill, click Save to complete the connection. This brings you back to your bot's Channels blade and you should see that it is now connected to Cortana.
95+
When you are done filling out the registration form for your Cortana skill, click **Deploy on Cortana** to complete the connection. This brings you back to your bot's Channels blade and you should see that it is now connected to Cortana.
9796

98-
At this point your bot has already been automatically deployed as a Cortana skill to your account.
97+
At this point your bot is deployed as a Cortana skill to your account.
9998

10099
## Next steps
101100

articles/bot-service-design-pattern-knowledge-base.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Some knowledge bots might use QnA Maker to answer basic questions in combination
172172
2. Call LUIS first, and if no intent meets a specific threshold score, i.e., "None" intent is triggered, then call QnA Maker. Alternatively, create a LUIS intent for QnA Maker, feeding your LUIS model with example QnA questions that map to "QnAIntent."
173173
3. Call QnA Maker first, and if no answer meets a specific threshold score, then call LUIS.
174174

175-
The Bot Builder SDK provide built-in support for LUIS and QnA Maker. This enables you to trigger dialogs or automatically answer questions using LUIS and/or QnA Maker without having to implement custom calls to either tool. See the [bot service templates](bot-service-concept-templates.md) for more information.
175+
The Bot Builder SDK provide built-in support for LUIS and QnA Maker. This enables you to trigger dialogs or automatically answer questions using LUIS and/or QnA Maker without having to implement custom calls to either tool. See the [Bot Builder Dispatch Tool Tutorial](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-dispatch?view=azure-bot-service-4.0) for more information.
176176

177177
> [!TIP]
178178
> When implementing a combination of LUIS, QnA Maker, and/or Azure Search,

articles/bot-service-quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Log in to the [Azure portal](http://portal.azure.com).
4545
| **Bot template** | Basic | Choose either **C#** or **Node.js** and select the **Basic** template for this quickstart, then click **Select**. The Basic template creates an echo bot. [Learn more](bot-service-concept-templates.md) about the templates. |
4646
| **App service plan/Location** | Your app service plan | Select an [app service plan](https://azure.microsoft.com/en-us/pricing/details/app-service/plans/) location. Your location choice can be any location listed, though it's often best to choose a location closest to your customer. (Not available for Functions Bot.) |
4747
| **Azure Storage** | Your Azure storage account | You can create a new data storage account or use an existing one. By default, the bot will use [Table Storage](/azure/storage/common/storage-introduction#table-storage). |
48-
| **Application Insights** | On | Decide if you want to turn [Application Insights](/bot-framework/bot-service-manage-analytics) **On** or **Off**. If you select **On**, you must also specify a regional location. Your location choice can be any location listed, though it's often best to choose a location closest to your customer. |
48+
| **Application Insights** | On | Decide if you want to turn [Application Insights](/bot-framework/bot-service-manage-analytics) **On** or **Off**. If you select **On**, you must also specify a regional location. Your location choice can be any location listed, though it's often best to choose the same location as the bot service location. |
4949
| **Microsoft App ID and password** | Auto create App ID and password | Use this option if you need to manually enter a Microsoft App ID and password. Otherwise, a new Microsoft App ID and password will be created for you in the bot creation process. |
5050

5151
> [!NOTE]
@@ -103,9 +103,9 @@ Log in to the [Azure portal](http://portal.azure.com).
103103
| **Pricing tier** | F0 | Select a pricing tier. You may update the pricing tier at any time. For more information, see [Bot Service pricing](https://azure.microsoft.com/en-us/pricing/details/bot-service/). |
104104
| **App name** | A unique name | The unique URL name of the bot. For example, if you name your bot *myawesomebot*, then your bot's URL will be `http://myawesomebot.azurewebsites.net`. The name must use alphanumeric and underscore characters only. There is a 35 character limit to this field. The App name cannot be changed once the bot is created. |
105105
| **Bot template** | Echo bot | Choose **SDK v4**. Select either C# or Node.js for this quickstart, then click **Select**.
106-
| **App service plan/Location** | Your app service plan | Select an [app service plan](https://azure.microsoft.com/en-us/pricing/details/app-service/plans/) location. Your location choice can be any location listed, though it's often best to choose a location closest to your customer. |
106+
| **App service plan/Location** | Your app service plan | Select an [app service plan](https://azure.microsoft.com/en-us/pricing/details/app-service/plans/) location. Your location choice can be any location listed, though it's often best to choose the same location as the bot service. |
107107
| **Azure Storage** | Your Azure storage account | You can create a new data storage account or use an existing one. By default, the bot will use [Table Storage](/azure/storage/common/storage-introduction#table-storage). |
108-
| **Application Insights** | On | Decide if you want to turn [Application Insights](/bot-framework/bot-service-manage-analytics) **On** or **Off**. If you select **On**, you must also specify a regional location. Your location choice can be any location listed, though it's often best to choose a location closest to your customer. |
108+
| **Application Insights** | On | Decide if you want to turn [Application Insights](/bot-framework/bot-service-manage-analytics) **On** or **Off**. If you select **On**, you must also specify a regional location. Your location choice can be any location listed, though it's often best to choose the same location as the bot service. |
109109
| **Microsoft App ID and password** | Auto create App ID and password | Use this option if you need to manually enter a Microsoft App ID and password. Otherwise, a new Microsoft App ID and password will be created for you in the bot creation process. |
110110

111111
4. Click **Create** to create the service and deploy the bot to the cloud. This process may take several minutes.

articles/bot-service-scenario-enterprise-productivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The Enterprise Productivity Bot uses the following components:
4545
Azure Active Directory (Azure AD) is Microsoft’s multi-tenant cloud based directory and identity management service. As a Bot developer, Azure AD lets you focus on building your Bot by making it fast and simple to integrate with a world class identity management solution used by millions of organizations around the world. By defining an Azure AD app, you can control who has access to your Bot and the data it exposes, without implementing your own complex authentication and authorization system.
4646

4747
### Graph API to Office 365
48-
The Microsoft Graph exposes multiple APIs from Office 365 and other Microsoft cloud services through a single endpoint at https://graph.microsoft.com. Microsoft Graph makes it easier for you and Bot to to execute queries. The API exposes data from multiple Microsoft cloud services, including Exchange Online as part of Office 365, Azure Active Directory, SharePoint, and more. You can use the API to navigate between entities and relationships. You can use the API from your Bots using the SDK or REST endpoints as well as from your other apps with native support Android, iOS, Ruby, UWP, Xamarin and more.
48+
The Microsoft Graph exposes multiple APIs from Office 365 and other Microsoft cloud services through a single endpoint at https://graph.microsoft.com. Microsoft Graph makes it easier for you and Bot to execute queries. The API exposes data from multiple Microsoft cloud services, including Exchange Online as part of Office 365, Azure Active Directory, SharePoint, and more. You can use the API to navigate between entities and relationships. You can use the API from your Bots using the SDK or REST endpoints as well as from your other apps with native support Android, iOS, Ruby, UWP, Xamarin and more.
4949

5050
### Dynamics CRM
5151
Dynamics CRM is a customer engagement platform. Using Bots and CRM's APIs, you can build rich interactive Bots that can access the rich data stored in CRM. The power of Dynamics CRM is available to your Bot to create cases, check on status, knowledge management searches and more.

articles/dotnet/bot-builder-dotnet-channeldata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Implement channel-specific functionality | Microsoft Docs
3-
description: Learn how to implement channel-specific functionality using the the Bot Builder SDK for .NET.
3+
description: Learn how to implement channel-specific functionality using the Bot Builder SDK for .NET.
44
author: RobStand
55
ms.author: kamrani
66
manager: kamrani

articles/dotnet/bot-builder-dotnet-formflow-pattern-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Customize user experience with pattern language | Microsoft Docs
3-
description: Learn how to to customize FormFlow prompts and override FormFlow templates by using pattern language with the Bot Builder SDK for .NET.
3+
description: Learn how to customize FormFlow prompts and override FormFlow templates by using pattern language with the Bot Builder SDK for .NET.
44
author: RobStand
55
ms.author: kamrani
66
manager: kamrani

articles/dotnet/bot-builder-dotnet-sdk-quickstart.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,12 @@ Next, start the emulator and then connect to your bot in the emulator:
4949
## Interact with your bot
5050

5151
Send a message to your bot, and the bot will respond back with a message.
52+
5253
![Emulator running](../media/emulator-v4/emulator-running.png)
5354

55+
> [!NOTE]
56+
> If you see that the message can not be sent, you might need to restart your machine as ngrok didn't get the needed privileges on your system yet (only needs to be done one time).
57+
5458
## Next steps
5559

5660
> [!div class="nextstepaction"]

articles/includes/code/node-send-card-buttons.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,5 @@ var msg = new builder.Message(session)
6767
]
6868
}
6969
});
70+
session.send(msg);
7071
// </addAdaptiveCardAttachment>
6.73 KB
Loading

0 commit comments

Comments
 (0)