Update references in orchestrator samples to 4.13.0 (#3173)

* Update 01.dispatch-bot.csproj

Updated dependencies to 4.13.0

* Update package.json

* remove separate plugin install instructions

* Delete emptyBot.dialog
This commit is contained in:
Tien Suwandy 2021-04-16 10:11:32 -07:00 коммит произвёл GitHub
Родитель f34f7a6afb
Коммит b4cf779429
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 14 добавлений и 90 удалений

Просмотреть файл

@ -1,54 +0,0 @@
{
"$kind": "Microsoft.AdaptiveDialog",
"$designer": {
"$designer": {
"name": "SchoolNavigator2",
"description": "",
"id": "y4U6yd"
}
},
"autoEndDialog": true,
"defaultResultProperty": "dialog.result",
"triggers": [
{
"$kind": "Microsoft.OnConversationUpdateActivity",
"$designer": {
"id": "376720"
},
"actions": [
{
"$kind": "Microsoft.Foreach",
"$designer": {
"id": "518944",
"name": "Loop: for each item"
},
"itemsProperty": "turn.Activity.membersAdded",
"actions": [
{
"$kind": "Microsoft.IfCondition",
"$designer": {
"id": "641773",
"name": "Branch: if/else"
},
"condition": "string(dialog.foreach.value.id) != string(turn.Activity.Recipient.id)",
"actions": [
{
"$kind": "Microsoft.SendActivity",
"$designer": {
"id": "859266",
"name": "Send a response"
},
"activity": "${SendActivity_Welcome()}"
}
]
}
]
}
]
}
],
"$schema": "https://raw.githubusercontent.com/microsoft/BotFramework-Composer/stable/Composer/packages/server/schemas/sdk.schema",
"generator": "emptyBot.lg",
"id": "emptyBot",
"recognizer": "emptyBot.lu.qna"
}

Просмотреть файл

@ -13,10 +13,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.12.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Orchestrator" Version="4.12.0-preview" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.12.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.12.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Luis" Version="4.13.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.Orchestrator" Version="4.13.0" />
<PackageReference Include="Microsoft.Bot.Builder.AI.QnA" Version="4.13.0" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.13.0" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -30,24 +30,14 @@ This sample **requires** prerequisites in order to run.
> dotnet --version
```
- Install BF CLI with Orchestrator plugin
- Install bf cli
```bash
> npm i -g @microsoft/botframework-cli
> npm i -g @microsoft/botframework-cli@next
```
- Install bf orchestrator
```bash
> bf plugins:install @microsoft/bf-orchestrator-cli
```
If you have previously installed bf orchestrator plugin, uninstall that version and then run the install command again.
Uninstall command:
```bash
> bf plugins:uninstall @microsoft/bf-orchestrator-cli
```
- Make sure bf orchestrator command is working and shows all available orchestrator commands
Make sure bf orchestrator command is working and shows all available orchestrator commands
```bash
> bf orchestrator
```
## To try this bot sample
- Clone the repository

Просмотреть файл

@ -35,22 +35,10 @@ This sample **requires** prerequisites in order to run.
```
- Install BF CLI with Orchestrator plugin
- Install bf cli
```bash
> npm i -g @microsoft/botframework-cli
> npm i -g @microsoft/botframework-cli@next
```
- Install bf orchestrator
```bash
> bf plugins:install @microsoft/bf-orchestrator-cli
```
If you have previously installed bf orchestrator plugin, uninstall that version and then run the install command again.
Uninstall command:
```bash
> bf plugins:uninstall @microsoft/bf-orchestrator-cli
```
- Make sure bf orchestrator command is working and shows all available orchestrator commands
Make sure bf orchestrator command is working and shows all available orchestrator commands
```bash
> bf orchestrator
```

Просмотреть файл

@ -16,11 +16,11 @@
"url": "https://github.com/Microsoft/BotBuilder-Samples.git"
},
"dependencies": {
"botbuilder": "4.12.0",
"botbuilder-ai": "4.12.0",
"botbuilder-ai-orchestrator": "4.12.0-preview",
"botbuilder-azure": "4.12.0",
"botbuilder-dialogs": "4.12.0",
"botbuilder": "4.13.0",
"botbuilder-ai": "4.13.0",
"botbuilder-ai-orchestrator": "4.13.0",
"botbuilder-azure": "4.13.0",
"botbuilder-dialogs": "4.13.0",
"dotenv": "^8.2.0",
"restify": "~8.5.1"
},