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

Commit 6d0d116

Browse files
authored
[Documentation] Update botskills documentation (#3346)
* Update botskills documentation * Replicate changes to TS doc
1 parent 2232ed6 commit 6d0d116

File tree

3 files changed

+45
-12
lines changed

3 files changed

+45
-12
lines changed

docs/_docs/skills/handbook/botskills.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Once the connect command finish successfully, you can see under the `botFramewor
5959
"skillHostEndpoint": "<VA-SKILL_ENDPOINT>"
6060
```
6161
62-
For further information, see the [Connect command documentation]({{site.repo}}/tree/master/tools/botskills/docs/connect.md).
62+
For further information, see the [Connect command documentation]({{site.repo}}/tree/master/tools/botskills/docs/commands/connect.md).
6363
6464
### Disconnect Skills
6565
{:.no_toc}
@@ -71,7 +71,7 @@ Here is an example:
7171
botskills disconnect --skillId <YOUR_SKILL_ID> --cs
7272
```
7373
74-
For further information, see the [Disconnect command documentation]({{site.repo}}/tree/master/tools/botskills/docs/disconnect.md).
74+
For further information, see the [Disconnect command documentation]({{site.repo}}/tree/master/tools/botskills/docs/commands/disconnect.md).
7575
7676
> Note: The id of the Skill can also be aquired using the `botskills list` command. You can check the [List command documentation]({{site.repo}}/tree/master/tools/botskills/docs/list.md).
7777
@@ -85,7 +85,7 @@ Here is an example:
8585
botskills update --remoteManifest "{{site.data.urls.SkillManifest}}" --cs
8686
```
8787

88-
For further information, see the [Update command documentation]({{site.repo}}/tree/master/tools/botskills/docs/update.md).
88+
For further information, see the [Update command documentation]({{site.repo}}/tree/master/tools/botskills/docs/commands/update.md).
8989

9090
### Refresh connected Skills
9191
{:.no_toc}
@@ -97,7 +97,7 @@ Here is an example:
9797
botskills refresh --cs
9898
```
9999
100-
For further information, see the [Refresh command documentation]({{site.repo}}/tree/master/tools/botskills/docs/refresh.md).
100+
For further information, see the [Refresh command documentation]({{site.repo}}/tree/master/tools/botskills/docs/commands/refresh.md).
101101
102102
### List connected Skills
103103
{:.no_toc}
@@ -109,4 +109,4 @@ Here is an example:
109109
botskills list
110110
```
111111
112-
For further information, see the [List command documentation]({{site.repo}}/tree/master/tools/botskills/docs/list.md).
112+
For further information, see the [List command documentation]({{site.repo}}/tree/master/tools/botskills/docs/commands/list.md).

docs/_docs/skills/tutorials/create-skill/csharp/7-add-your-skill.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,32 @@ order: 7
1313

1414
## Validate the Skill manifest endpoint
1515

16-
- To validate your Skill is deployed and working open up a browser window and navigate to your deployed Skill manifest. e.g. `http://localhost:3978/manifest/manifest-1.1.json`
16+
To validate your Skill is deployed and working open up a browser window and navigate to your deployed Skill manifest. e.g. `http://localhost:3978/manifest/manifest-1.1.json`
1717

1818
## Adding your skill to an assistant
1919

20-
To add your new Skill to your assistant we provide the `botskills` command line tool to automate the process of adding the skill to your dispatch model and creating authentication connections where needed.
20+
To add your new Skill to your assistant we provide the [botskills](https://www.npmjs.com/package/botskills) command line tool to automate the process of adding the skill to your dispatch model and creating authentication connections where needed.
2121

2222
Run the following command from a command prompt **within the directory of your assistant/Bot**.
2323

2424
```bash
25-
botskills connect --remoteManifest "http://<YOUR_SKILL_MANIFEST>.azurewebsites.net/manifest/manifest-1.1.json" --cs
25+
botskills connect --remoteManifest "https://<YOUR_SKILL_NAME>.azurewebsites.net/manifest/manifest-1.1.json" --cs
2626
```
27+
Remember to re-publish your assistant to Azure after you’ve added a Skill unless you plan on testing locally only.
2728

28-
See [Adding Skills]({{site.baseurl}}/skills/handbook/add-skills-to-a-virtual-assistant/) for more details.
29+
Once the connect command finish successfully, you can see under the `botFrameworkSkills` property of your assistant’s appsettings.json file that the following structure was added with the information provided in the Skill manifest.
30+
31+
```
32+
"botFrameworkSkills": {
33+
"id": "<SKILL_ID>",
34+
"appId": "<SKILL_APPID>",
35+
"skillEndpoint": "<SKILL_ENDPOINT>",
36+
"name": "<SKILL_NAME>",
37+
"description": "<SKILL_DESCRIPTION>"
38+
},
39+
"skillHostEndpoint": "<VA-SKILL_ENDPOINT>"
40+
```
41+
42+
For further documentation, please check the following links:
43+
- [Adding Skills]({{site.baseurl}}/skills/handbook/add-skills-to-a-virtual-assistant/)
44+
- [Connect command]({{site.repo}}/tree/master/tools/botskills/docs/commands/connect.md)

docs/_docs/skills/tutorials/create-skill/typescript/6-add-your-skill.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ order: 6
1313

1414
## Validate the Skill manifest endpoint
1515

16-
- To validate your Skill is deployed and working open up a browser window and navigate to your deployed Skill manifest (`/api/skill/manifest endpoint`). e.g. `http://localhost:3978/api/skill/manifest`
16+
To validate your Skill is deployed and working open up a browser window and navigate to your deployed Skill manifest (`/api/skill/manifest endpoint`). e.g. `http://localhost:3978/api/skill/manifest`
1717

1818
## Adding your skill to an assistant
1919

@@ -22,7 +22,24 @@ To add your new Skill to your assistant we provide the [botskills](https://www.n
2222
Run the following command from a command prompt **within the directory of your assistant/Bot**.
2323

2424
```bash
25-
botskills connect --remoteManifest "http://<YOUR_SKILL_NAME>.azurewebsites.net/api/skill/manifest" --ts
25+
botskills connect --remoteManifest "https://<YOUR_SKILL_NAME>.azurewebsites.net/manifest/manifest-1.1.json" --ts
2626
```
2727

28-
See [Adding Skills]({{site.baseurl}}/skills/handbook/add-skills-to-a-virtual-assistant/) for more details.
28+
Remember to re-publish your assistant to Azure after you’ve added a Skill unless you plan on testing locally only.
29+
30+
Once the connect command finish successfully, you can see under the `botFrameworkSkills` property of your assistant’s appsettings.json file that the following structure was added with the information provided in the Skill manifest.
31+
32+
```
33+
"botFrameworkSkills": {
34+
"id": "<SKILL_ID>",
35+
"appId": "<SKILL_APPID>",
36+
"skillEndpoint": "<SKILL_ENDPOINT>",
37+
"name": "<SKILL_NAME>",
38+
"description": "<SKILL_DESCRIPTION>"
39+
},
40+
"skillHostEndpoint": "<VA-SKILL_ENDPOINT>"
41+
```
42+
43+
For further documentation, please check the following links:
44+
- [Adding Skills]({{site.baseurl}}/skills/handbook/add-skills-to-a-virtual-assistant/)
45+
- [Connect command]({{site.repo}}/tree/master/tools/botskills/docs/commands/connect.md)

0 commit comments

Comments
 (0)