Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 2fd2780

Browse files
committed
Merge branch 'next' into feature/southworks/deprecation-plan/merge-next-into-master
2 parents cfc1035 + af05245 commit 2fd2780

455 files changed

Lines changed: 39729 additions & 5964 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/_docs/overview/virtual-assistant-solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ toc: true
1212

1313
Customers and partners have increasing need to deliver advanced conversational assistant experiences tailored to their brand, personalized to their users, and made available across a broad range of canvases and devices. Continuing Microsoft's open-sourced approach towards the Bot Framework SDK, the open-source Virtual Assistant solution provides you with a set of core foundational capabilities and full control over the end user experience and data.
1414

15-
At its core the [Virtual Assistant]({{site.baseurl}}//overview/virtual-assistant-template) (available in C# and TypeScript) is a project template with the best practices for developing a bot on the Microsoft Azure platform.
15+
At its core, the [Virtual Assistant]({{site.baseurl}}//overview/virtual-assistant-template) (available in C# and TypeScript) is a project template with the best practices for developing a bot on the Microsoft Azure platform.
1616

1717
Common assistant scenarios are provided as reusable conversational skills, increasing developer productivity and enabling a vibrant ecosystem of reusable components. Individual skills can be added to an assistant to enable new scenarios, extending the Virtual Assistant experience with reusable [Bot Framework Skills]({{site.baseurl}}/overview/skills), for example: finding a point of interest, checking off an item on a to-do list, or replying to an email. Skills are fully customizable and consist of language models and responses for multiple languages, dialogs, and code.
1818

docs/_docs/solution-accelerators/tutorials/view-analytics/3-open-template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ order: 3
2828

2929
## Additional Telemetry
3030

31-
By default, a Virtual Assistant or Skill template based project doesn't collect personally identifiable information (e.g. Conversation drill-down and transcripts) which will lead to the respective sections in the PowerBI dashboard to not show information. If you wish to collect this information make the following change to `Startup.cs`
31+
By default, a Virtual Assistant or Skill template based project collects personally identifiable information (e.g. Conversation drill-down and transcripts) which will lead to the respective sections in the PowerBI dashboard to function as expected. If you wish to not collect this information make the following change to `appsettings.json`
3232

3333
Change this entry:
3434

3535
```csharp
36-
services.AddSingleton<TelemetryLoggerMiddleware>();
36+
"logPersonalInfo": true
3737
```
3838

3939
To the following:
4040

4141
```csharp
42-
services.AddSingleton<TelemetryLoggerMiddleware>(s=>new TelemetryLoggerMiddleware(s.GetService<IBotTelemetryClient>(), true));
42+
"logPersonalInfo": false
4343
```

docs/_docs/virtual-assistant/handbook/deployment-scripts.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ This script orchestrates the deployment of all Azure Resources and Cognitive Mod
4242
| armLuisAuthoringRegion | The region to deploy LUIS authoring resource in Azure (**only required for Azure Gov deployments**) | No |
4343
| luisEndpoint | The LUIS endpoint for deploying and managing LUIS applications. Required if **createLuisAuthoring** is set to false. | No |
4444
| useGov | Flag indicating if the deployment is targeting the Azure Government Cloud. Defaults to **false**.| No |
45-
| qnaEndpoint | Endpoint for deploying QnA Maker knowledge bases (**only required for Azure Gov deployments**). | No |
45+
| qnaEndpoint | Endpoint for deploying QnA Maker knowledge bases (**only required for Azure Gov deployments. See note below for more information.**). | No |
4646
| languages | Specifies which languages to deploy cognitive models in a comma separated string (e.g. "en-us,de-de,es-es"). Defaults to "en-us". | No |
4747
| projDir | Location to save **appsettings.json** and **cognitivemodels.json** configuration files. Defaults to current directory. | No |
4848
| logFile | Log file for any errors that occur during script execution. Defaults to **Deployment** folder with the name of `deploy_log.txt`.| No |
4949

50+
> Note: QnA Maker requires three Azure resources, a QnA Maker Cognitive Service subscription, an Azure Search resource, and an Azure web app. The Cognitive Service subscription can only be deployed in West US for Azure Commercial deployments, therefore the QnA Maker endpoint will be the same for all regions unless the service is being deployed for Azure Government.
51+
5052
### deploy_cognitive_models.ps1
5153
{:.no_toc}
5254

@@ -161,9 +163,9 @@ Any of the following parameters in the ARM template can be overridden with your
161163
| contentModeratorName | [name]-cm-[suffix] |
162164
| contentModeratorSku | S0 |
163165
| contentModeratorLocation | Resource group location |
164-
| luisRuntimeName | [name]-luisruntime-[suffix] |
165-
| luisRuntimeSku | S0 |
166-
| luisServiceLocation | Resource group location |
166+
| luisPredictionName | [name]-luisprediction-[suffix] |
167+
| luisPredictionSku | S0 |
168+
| luisPredictionLocation | Resource group location |
167169
| useLuisAuthoring | True |
168170
| luisAuthoringName | [name]-luisauthoring-[suffix] |
169171
| luisAuthoringSku | F0 |
@@ -400,3 +402,22 @@ If you have an existing LUIS application that you want to use in your Virtual As
400402
// Run LUIS recognition on General model and store result in turn state.
401403
var luisResult = await localizedServices.LuisServices["luis-app-id"].RecognizeAsync<YourLUIS.cs>(innerDc.Context, cancellationToken);
402404
```
405+
406+
## How do I add support for additional languages to my existing Virtual Assistant?
407+
If you would like to add support for additional languages to your existing Virtual Assistant, please refer to the following steps.
408+
409+
1. Run the following command from your project directory. Replace "locale" with one or more of the supported language codes (en-us, it-it, de-de, es-es, fr-fr, or zh-cn). The values for the remaining parameters can be found in appsettings.json after Virtual Assistant deployment.
410+
411+
```
412+
.\Deployment\Scripts\deploy_cognitive_models.ps1 `
413+
-languages "locale" `
414+
-name 'base-name-of-luis-model' `
415+
-resourceGroup 'resouce-group-for-luis-resource' `
416+
-luisAuthoringRegion 'luis-authoring-region' `
417+
-luisAuthoringKey 'luis-authoring-key' `
418+
-luisAccountName 'luis-account-name' `
419+
-luisAccountRegion 'luis-account-region' `
420+
-luisSubscriptionKey 'luis-subscription-key' `
421+
-luisEndpoint 'luis-endpoint' `
422+
-qnaSubscriptionKey 'qna-subscription-key'
423+
```
-13.2 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/build
2+
!**/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Tue Aug 18 14:34:24 CST 2020
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip

samples/android/clients/EventCompanion/app/gradlew

Lines changed: 185 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/android/clients/EventCompanion/app/gradlew.bat

Lines changed: 89 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/android/clients/EventCompanion/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88

99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.4.2'
11+
classpath 'com.android.tools.build:gradle:4.0.0'
1212
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files

0 commit comments

Comments
 (0)