Thanks to visit codestin.com
Credit goes to github.com

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

[Documentation] Removing inconsistencies in botskills documentation#3567

Merged
peterinnesmsft merged 7 commits intomicrosoft:masterfrom
southworks:feature/southworks/botskills-documentation-inconsistencies
Oct 16, 2020
Merged

[Documentation] Removing inconsistencies in botskills documentation#3567
peterinnesmsft merged 7 commits intomicrosoft:masterfrom
southworks:feature/southworks/botskills-documentation-inconsistencies

Conversation

@Batta32
Copy link
Collaborator

@Batta32 Batta32 commented Jul 17, 2020

Fix #3489

Purpose

What is the context of this pull request? Why is it being done?
There were some inconsistences between documentation and the argument's explanation of botskills.

Changes

Are there any changes that need to be called out as significant or particularly difficult to grasp? (Include illustrative screenshots for context if applicable.)
We fixed the inconsistencies in the documentation and updated some outdated docs.

Tests

Is this covered by existing tests or new ones? If no, why not?
-

Feature Plan

Are there any remaining steps or dependencies before this issue can be fully resolved? If so, describe and link to any relevant pull requests or issues.
-

Checklist

General

  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the appropriate tests
  • I have updated related documentation

@saikumaru
Copy link
Contributor

saikumaru commented Jul 31, 2020

For this part here, docs/_docs/skills/handbook/add-skills-to-a-virtual-assistant.md (or relevant place, Im not sure if its documented)

The --luisFolder parameter can be used to point the Skill CLI at the source LU files for trigger utterances (defaults to deployment/resources/skills/ inside your assistant folder). The CLI will automatically traverse locale folder hierarchies. This can be omitted for any of the skills we provide as the LU files are provided locally. Also, you have to specify the --cs (for C#) or --ts (for TypeScript) argument for determining the coding language of your assistant, since each language takes different folder structures that need to be taken into consideration.

Can you please mention how the skill's LU file end up in the folder deployment/resources/skills/ inside your assistant folder.
Are these supposed to be manually picked from the skills folder and put into the assistant's above folder?

@Batta32
Copy link
Collaborator Author

Batta32 commented Jul 31, 2020

@saikumaru - thanks for your feedback! We will be reviewing this and we will back to you as soon as possible 😊.

@Batta32
Copy link
Collaborator Author

Batta32 commented Aug 6, 2020

@saikumaru - we updated the documentation explaining how the Skill's LU ends up in the Skills folder of the Virtual Assistant.

Note: The Bot Framework Team added the Skill's LU inside the Skill folder of the Virtual Assistant just to simplify the botskills execution as by default the tool search in the Skills folder. The Skills can be found in the botframework-skills repository.

As soon as the TypeScript 1.0 is released, using the generator-bot-virtualassistant, you will be able to create your TypeScript Virtual Assistant which will contain the Skill folder inside it. Related to the C#, you can find it in the master branch.

We will be attentive to your answer 😊.

The `--luisFolder` parameter can be used to point the Skill CLI at the source LU files for trigger utterances. For Skills provided within this repo these can be found in the `Deployment/Resources/LU` folder of each Skill. The CLI will automatically traverse locale folder hierarchies. This can be omitted for any of the skills we provide as the LU files are provided locally. Also, you have to specify the `--cs` (for C#) or `--ts` (for TypeScript) argument for determining the coding language of your assistant, since each language takes different folder structures that need to be taken into consideration.
The `--luisFolder` parameter can be used to point the Skill CLI at the source LU files for trigger utterances (defaults to `deployment/resources/skills/` inside your assistant folder). The CLI will automatically traverse locale folder hierarchies. This can be omitted for any of the skills we provide as the LU files are provided locally. Also, you have to specify the `--cs` (for C#) or `--ts` (for TypeScript) argument for determining the coding language of your assistant, since each language takes different folder structures that need to be taken into consideration.

> Note: The Bot Framework Team added the Skill's LU inside the Skill folder of the Virtual Assistant just to simplify the botskills execution as by default the tool search in the Skills folder. The Skills can be found in the [botframework-skills](https://github.com/microsoft/botframework-skills) repository.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably remove this, per the conversation around the fact that this was to support automation pipelines. Think the right guidance is to direct to the LU files in the botframework-skills repo.

```

The `--luisFolder` parameter can be used to point the Skill CLI at the source LU files for trigger utterances. For Skills provided within this repo these can be found in the `Deployment/Resources/LU` folder of each Skill. The CLI will automatically traverse locale folder hierarchies. This can be omitted for any of the skills we provide as the LU files are provided locally. Also, you have to specify the `--cs` (for C#) or `--ts` (for TypeScript) argument for determining the coding language of your assistant, since each language takes different folder structures that need to be taken into consideration.
The `--luisFolder` parameter can be used to point the Skill CLI at the source LU files for trigger utterances (defaults to `deployment/resources/skills/` inside your assistant folder). The CLI will automatically traverse locale folder hierarchies. This can be omitted for any of the skills we provide as the LU files are provided locally. Also, you have to specify the `--cs` (for C#) or `--ts` (for TypeScript) argument for determining the coding language of your assistant, since each language takes different folder structures that need to be taken into consideration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'This can be omitted for any of the skills we provide as the LU files are provided locally.' - This feels a little confusing to me, on the basis that I think they are now intended to be used from botframework-skills.


The `--luisFolder` parameter can be used to point the Skill CLI at the source LU files for trigger utterances. For Skills provided within this repo these can be found in the `Deployment/Resources/LU` folder of each Skill. The CLI will automatically traverse locale folder hierarchies. This can be omitted for any of the skills we provide as the LU files are provided locally. Also, you have to specify the `--cs` (for C#) or `--ts` (for TypeScript) argument for determining the coding language of your assistant, since each language takes different folder structures that need to be taken into consideration.

> Note: The Bot Framework Team added the Skill's LU inside the Skill folder of the Virtual Assistant just to simplify the botskills execution as by default the tool search in the Skills folder. The Skills can be found in the [botframework-skills](https://github.com/microsoft/botframework-skills) repository.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment here as above.

```
npm install -g botdispatch @microsoft/botframework-cli
```
1. [.NET Core runtime](https://dotnet.microsoft.com/download/dotnet-core/2.1#runtime-2.1.0) 2.1.0 or higher but lower than 3.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would consider using semver range representation - it should be pretty readable and standard to most people looking at this documentation I believe.

```shell
npm install -g botdispatch @microsoft/botframework-cli
```
- [.NET Core runtime](https://dotnet.microsoft.com/download/dotnet-core/2.1#runtime-2.1.0) 2.1.0 or higher but lower than 3.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

semver range?

npm install -g botdispatch @microsoft/botframework-cli
```

1. [.NET Core runtime](https://dotnet.microsoft.com/download/dotnet-core/2.1#runtime-2.1.0) 2.1.0 or higher but lower than 3.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

semver range?

Copy link
Contributor

@peterinnesmsft peterinnesmsft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - couple of minor things per recent discussion on the Skills LU files that are still under the deployment resources folder.

@Batta32
Copy link
Collaborator Author

Batta32 commented Aug 13, 2020

Thanks @peterinnesmsft! We will be applying the feedback 😊.

@Batta32
Copy link
Collaborator Author

Batta32 commented Aug 13, 2020

@peterinnesmsft - we already incorporated the requested changes!

We will be attentive to your answer 😊.

@peterinnesmsft peterinnesmsft self-assigned this Aug 31, 2020
@peterinnesmsft peterinnesmsft added the Area: Docs Documentation issue (missing needs updates, etc.) label Aug 31, 2020
@peterinnesmsft peterinnesmsft merged commit e6b4351 into microsoft:master Oct 16, 2020
@pr-triage pr-triage bot added the PR: merged label Oct 16, 2020
@Batta32 Batta32 deleted the feature/southworks/botskills-documentation-inconsistencies branch October 16, 2020 19:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Differences in botskills --luisfolder parameter definition and usage[Docs]

5 participants