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:
Родитель
f34f7a6afb
Коммит
b4cf779429
|
@ -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"
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче