This repository was archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
fix luis-cross train does not find imported files with locale #1209
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2555007
fix import file with locale
cosmicshuai c9d610e
simplify test
cosmicshuai e0e18ee
change folder structures
cosmicshuai 3a5cde1
remove only
cosmicshuai 08d7789
add cross train config
1af891c
fix spelling
1274969
modify test
cosmicshuai 4b0a9a3
change naming
dff9db9
Merge branch 'shuwan/fixImportLocale' of https://github.com/microsoft…
949c309
fix readme
cosmicshuai c917901
Merge branch 'main' into shuwan/fixImportLocale
5f61180
fix typo
cosmicshuai d498586
Merge branch 'shuwan/fixImportLocale' of https://github.com/microsoft…
cosmicshuai 159c6b8
Merge branch 'main' into shuwan/fixImportLocale
munozemilio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -431,6 +431,8 @@ OPTIONS | |
| --[no-]intra-dialog Only do intra dialog cross train | ||
|
|
||
| --log Writes out log messages to console | ||
|
|
||
| --exclude Excludes given folders under the input directory, for example, --exclude bin,obj,lib, this will ignore the /bin, /obj, /lib folders under the input path | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FYI This will be overriden by the doc script. |
||
| ``` | ||
|
|
||
| _See code: [src/commands/luis/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/luis/src/commands/luis/cross-train.ts)_ | ||
|
|
||
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
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
Empty file.
1 change: 1 addition & 0 deletions
1
packages/luis/test/fixtures/testcases/testImportWithLocale/ChitchatDialog.en-us.qna
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| [import](chitchat_professional.source.qna) |
43 changes: 43 additions & 0 deletions
43
packages/luis/test/fixtures/testcases/testImportWithLocale/assistant_core.en-us.lu
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # BotTour | ||
| - bot tour | ||
| - onboarding | ||
| - get started | ||
| - start the tour | ||
| - what can you do | ||
| - what can i ask you | ||
|
|
||
| # Cancel | ||
| - cancel | ||
| - quit | ||
| - abort | ||
| - exit | ||
| - never mind | ||
| - forget about it | ||
| - just stop already | ||
| - end this now | ||
|
|
||
| # Help | ||
| - help | ||
| - im stuck | ||
| - how do you work | ||
| - what can you do | ||
| - what can you help me with | ||
| - i need help | ||
| - i need some assistance | ||
|
|
||
| # Feedback | ||
| - i want to give feedback | ||
| - i have a problem | ||
| - something is broken | ||
| - this is a bad experience | ||
| - fill out survey | ||
|
|
||
| # None | ||
| - where is my car? | ||
| - I want to order a pizza | ||
| - place an item on hold | ||
| - Is it going to rain? | ||
| - turn on the lights | ||
| - check my account balance | ||
| - do unicorns really exist | ||
| - duck |
Empty file.
56 changes: 56 additions & 0 deletions
56
packages/luis/test/fixtures/testcases/testImportWithLocale/bin/extra.en-us.lu
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # Why | ||
| - help | ||
| - what can I say | ||
| - why do you need my name? | ||
| - why age? | ||
| - what do you need my profile for? | ||
| - why do you ask? | ||
| - why do you need that information? | ||
|
|
||
| @ phraselist Test1 | ||
| - t1 | ||
| - q1 | ||
|
|
||
| @ phraselist Test2 | ||
| - t2 | ||
| - q2 | ||
|
|
||
| @ phraselist Test3 | ||
| - t3 | ||
| - q3 | ||
|
|
||
| @ phraselist Test4 | ||
| - t4 | ||
| - q4 | ||
|
|
||
| @ phraselist Test5 | ||
| - t5 | ||
| - q5 | ||
|
|
||
| @ phraselist Test6 | ||
| - t6 | ||
| - q6 | ||
|
|
||
| @ phraselist Test7 | ||
| - t7 | ||
| - q7 | ||
|
|
||
| @ phraselist Test8 | ||
| - t8 | ||
| - q8 | ||
|
|
||
| @ phraselist Test9 | ||
| - t9 | ||
| - q9 | ||
|
|
||
| @ phraselist Test10 | ||
| - t10 | ||
| - q10 | ||
|
|
||
| @ phraselist Test11 | ||
| - t11 | ||
| - q11 | ||
|
|
||
| @ phraselist Test12 | ||
| - t12 | ||
| - q1 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.