FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support extracting more modelTypeId in luis:test command by cosmicshuai · Pull Request #1229 · microsoft/botframework-cli · GitHub

This repository was archived by the owner on Jan 15, 2025. It is now read-only.
/ botframework-cli Public archive

Support extracting more modelTypeId in luis:test command - #1229

Merged
Shuai Wang (cosmicshuai) merged 5 commits into
mainfrom
shuwan/testLuisTest
May 18, 2021
Merged

Support extracting more modelTypeId in luis:test command#1229
Shuai Wang (cosmicshuai) merged 5 commits into
mainfrom
shuwan/testLuisTest

Conversation

Shuai Wang (cosmicshuai) commented May 6, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

currently, in luis:test, only those entities with modelTypeId is 1 or 4, or those entities have roles will be included.

if (entity.modelTypeId === 1 || entity.modelTypeId === 4 || (entity.role !== undefined && entity.role !== '')) {

In this PR, all modelTypeId 1 or 4 or 10, or those entities have roles will be included.

Shuai Wang (cosmicshuai) marked this pull request as ready for review May 10, 2021 02:00
Shuai Wang (cosmicshuai) changed the title Support extracting all modelTypeId in luis:test command Support extracting more modelTypeId in luis:test command May 10, 2021

Copy link
Copy Markdown
Contributor

Should we add a test?

Copy link
Copy Markdown
Contributor Author

Should we add a test?

I slightly modified a test to cover the case when the modelTypeId is 10

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL