Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Conversation

@cosmicshuai
Copy link
Contributor

closes: #1171
In this fix, as the hierarchy of a project. a.lu and b.qna are able to reference files out side App when running
bf luis:cross-train -i App -o App/DialogGen --config App/train.config.json --force

--- App
   -- LUIS
      -- a.lu
   -- QnA
      -- b.qna
   -- train.config.json
--- ExternalLuis
   -- c.lu
--- ExternalQnA
   -- d.qna

It generated files will include interruptions defined in the external files.

@cosmicshuai cosmicshuai requested a review from munozemilio as a code owner April 7, 2021 07:56
@cosmicshuai
Copy link
Contributor Author

@munozemilio Hi Emilio, could you help review this PR? This fix an issue reported from a customer.

Copy link
Contributor

@munozemilio munozemilio left a comment

Choose a reason for hiding this comment

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

Please refactor to avoid code duplication

@cosmicshuai cosmicshuai requested a review from munozemilio April 14, 2021 06:31
@munozemilio munozemilio merged commit fc92e9b into main Apr 20, 2021
@munozemilio munozemilio deleted the shuwan/fixImportPath branch April 20, 2021 05:48
munozemilio added a commit that referenced this pull request Apr 28, 2021
* init

* add path resovle

* fix import path resolve issue

* add tests

* fix lint and unused imports

* modify config name

* retrigger

* refactor

Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>
munozemilio added a commit that referenced this pull request Apr 28, 2021
* fix luis cross train unable to reference external files (#1181)

* init

* add path resovle

* fix import path resolve issue

* add tests

* fix lint and unused imports

* modify config name

* retrigger

* refactor

Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>

* fix luis:build write out version in luis setting when the directVersionPublish is not set (#1215)

* init

* fix tests

* retrigger

* remove redundent ()

* up versioned orchestrator-core to 4.13.1 (#1211)

* Update package.json

Use orchestrator-core v 4.13.1

* Update pnpm-lock.yaml

* skip empty lu file, added empty lu file to test

* Update orchestratorhelper.ts

fixed lint issues

* use forward slash for file path in orchestrator.settings.json to be compatible with non windows platform

* addressed PR comments

Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>

* fix luis-cross train does not find imported files with locale (#1209)

* fix import file with locale

* simplify test

* change folder structures

* remove only

* add cross train config

* fix spelling

* modify test

* change naming

* fix readme

* fix typo

Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>

Co-authored-by: Shuai Wang <shuwan@microsoft.com>
Co-authored-by: Tien Suwandy <tiens@microsoft.com>
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.

bf luis:cross-training not working as expected when referencing external file which is in a folder above folder specified in the -i parameter

2 participants