* added dispatcher package
* added orchestratorlib
* added orchestrator cli package
* make orchestrator cli installed with bf cli install
* cleaned up dependency, removed extra file
* Update package.json
* Update pnpm-lock.yaml
updated reference to bf-lu in dispatcher to local reference (from "next")
* Addressed review comments
- Updated orchestrator unit test code to use test base model URL, so not to confuse our download stats for customers
- Updated dispatcher and orchestratorlib readme to include internal MS use only text
- Updated dispatcher package.json to exclude oclif
- Removed unecessary files
* fullEmbeddings parameter should be taken from env var
* Added missing scripts per Emilio's PR comment and removed unneeded dependencies from orchestratorlib
* Update package.json
fixed posttest script
* Refactored base model download for testing
* Addressed review feedback
1. Added orchestrator command documentation on main cli package
2. Removed travil.yml from orchestrator package
3. Removed .vscode from orchestrator package
4. Removed "return 0;" from the command sources
* Updated Orchestrator package README
Removed specific install instructions for Linux Ubuntu.
* fixed build errors
* new interfaces and strengthed null-exception logic
* remove composer sampler tests and reduce unnecessary "as"
* Remove functional tests
* updated orchestrator core package, added versions script to orchestrator package
* Removed debugging logs
* correct index.ts
* fixed build error
* remove no longer required tests
* README.md and command documents
* Update orchestrator bf-cli to point at release candidate
* fix eslint issues
* remove the eslint map testcase
* Update pnpm-lock.yaml
* more refactoring to interfaces
* Update pnpm-lock.yaml
* Update orchestratorhelper.ts
removed unecessary comments
* clean up comments
* refactor comments
* more comment refactoring
* removing unused imports
* more interfaces and others
Co-authored-by: Hung-chih Yang <hunyang@microsoft.com>
Co-authored-by: Dave Taniguchi <daveta@microsoft.com>
Co-authored-by: daveta <6182197+daveta@users.noreply.github.com>
* Scoped packages bug
Fix bug where scoped packages in node would have all of their imported
assets removed.
* Resolve relative negative patterns.
* Add test files.
Co-authored-by: Chris McConnell <chrimc>
* Add support for verifying $policies.
* Remove unneed package reference.
Co-authored-by: Chris McConnell <chrimc>
Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>
* Move to npm run test in vscode launch config
* Fix dialog build for non-ES friendly packages
AJV v7 beta has better support for ES style import but is not a trivial
upgrade to make.
This commit also upgrades `tslib` across all packages to maintain
consistency with latest typescript version.
* Shared root tsconfig.json with overrides
Also move test hook to repo root and reference in mocha.opts
* Fix dialog compilation issues
* Luis compilation issue fixes
* Chatdown test fixes
* Luis test fixes
* Fix dialog verify test
* Bump ts-node and clean up test tsconfigs
* Topo sort in progress.
* Update sort.
* Working sort
* Breadth first sort.
* Move to building component tree.
* Normalize slash in tests.
* Update documentation
* Add --nugetRoot switch.
* Add $package to app.schema.
* Intermediate progress to switch machines.
* Update to move machines.
* Update to offical URLS.
Upgrade json-ptr to 1.3
Full uischema test examples.
* Oracles and working tests.
* All csproj tests working
* All tests work.
* Fix packages.config.
* Add copying C# asset files into output
* Renable test
* Order uischema keys and update oracles.
* Move write outside of loop.
* Add missing .uischema files.
* Use / in paths
* Update documentation.
* Update docs.
Co-authored-by: Tom Laird-McConnell <tomlm@microsoft.com>
* Initial check-in.
* Allof Working.
* Move definitions local.
* Launch to sdk.
* Everything working for new merge.
* schema: working
* Working except that allof expansion does not expand
local references.
* Simplification and some analysis working.
* Add extends.
* Everything working.
* Update help
* Fix typo
* Expand allOf and validate final schema.
* Missing as warning and validate schema.
* Update tests.
* Update test to pass on server.
* Normalize paths.
* Check normalize for mac
* Update for mac paths and lint.
* Address review comments.
* Update documentation and fix $id bugs.
* Address review commehts
* Fix bad merge.
* Documentation and update verify to work with latest
schemas.
* Fix extra import.
* Luconfig reflects CLI args.
Added deleteOldVersion to cli.
Update config:set:luis to include authoringKey.
* Address lint issues.
* Initial check-in.
* Allof Working.
* Move definitions local.
* Launch to sdk.
* Everything working for new merge.
* schema: working
* Working except that allof expansion does not expand
local references.
* Simplification and some analysis working.
* Add extends.
* Everything working.
* Update help
* Fix typo
* Expand allOf and validate final schema.
* Missing as warning and validate schema.
* Update tests.
* Update test to pass on server.
* Normalize paths.
* Check normalize for mac
* Update for mac paths and lint.
* Address review comments.
* add qna cross training
* Revert "remove cross-train cli related changes and only keep the api"
This reverts commit ab1fb84df2.
* call qnaCrossTrain
* add qna cross traini
* expose function
* optimize and add more corner test cases
* rename crossTrainer class
* remove cli code pieces and optimize tests
* move cross-train.ts to lu folder
* optimize function headers and naming
* typo: dialogname to dialogName
* add more test cases
* remove unused '
* add cross-train.ts cli file for test convenience and will remove it once review done
* fix bugs
* trigger ci
* update qna cross train based on feedbacks
* add config path parameter to specify the config file
* fix posttest failure
* remove dup utterances in interuption intents
* remove dup 1
* optimize all de-dup logic
* resolve all feedbacks
* add test cases to test dedup functions
* fix tslint errors
* add more friendly description for config CLI parameter
* fix config full path issue and remove uncessary loop validation
* move cross train CLI to a new package named cross-train
* fix build error in CI validation
* add missing package in package.json
* remove unused file
* fix typo
* optimize dedep logic and resolve feedbacks
* adjust test cases
* support qna source, id, prompts reconstruction in cross training
* typo: interuption to interruption
* move CLI test cases from lu to cross-train
* adjust test cases of cross-train CLI to make it more readable
* update some function to support load file content
* support auto detect config based on root dialog and file system
* update some code style
* update some ref
* optimize config parameter
* add fileHelper.ts
* fix typo
* remove semicolon
* add the object
* change the value
* make all the path the same parttern
* optimize
* adjust test cases to use file name as id
* fix typo
* update fileHelper.ts
* fix config id issue
* update pnpm lock
* update pnpm
* fix test cases
* fix tslint
* optimzie cross train to care only trigger intents and allow empty trigger intent or dialog
* merge PR 706 and adjust test cases to cover more corner cases
* support multi trigger intents point to same lu file
* optimize config structure
* optimize config object parser
* fix bug
* adjust pnpm
* fix minor typo
* docs.
* remove cross-train from top level command and add it to luis command
* fix test
* add cross train in qna maker cli
* support to write corsstrained recognizer
* support crosstrained recognizer in qnamaker
* refine the write dialog logic to support crosstrained dialog
* update docs
* fix crosstrained recognizer configuration issue
* remove patterns from lu in crosstrained qna queations
* fix test case
* fix tslint
* fix comments of reviewer
Co-authored-by: leilzh <leilzh@microsoft.com>
Co-authored-by: Vishwac Sena Kannan <vishwack@hotmail.com>
Co-authored-by: Vishwac Sena Kannan <vkannan@microsoft.com>
This is in preparation to move this to experimental and out of CLI.
Fix a bug in luis:build where --dialog generates $type instead of $kind.
Redo how the generator works so that less is in the code and more in the templates. In particular templates can generate the default $entities and include other templates.
Added templates to support manipulating enum arrays including add/remove/clear/show.
Added hash codes to all generated files.
Co-authored-by: Chris Anderson <chrande@microsoft.com>
Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>
* fix case issue of utterances and patterns
* remove lower function for entities
* adjust test cases
* use a better solution to compare utterances
* add tests to verify the fixes
* move new added tests to luis package from lu package
* add test cases for luConfig parameter in lubuild CLI
* fix error not throw out bug
* resolve comments of CLIError
* remove uncessary semicolon
* Updates and fixes
* Updates
* updating tests.
* Updates for PR feedback, fix settings out path
* updates
* fix build errors
* fix command parameter issue in test cases
* fix tslint errors
* remove lubuild.js which is not necessary
* fixing bad merge
* fix tslint and expose more in index.js and composerindex.js
* remove lubuild module in index.js
Co-authored-by: Emilio Munoz <munoz_emilio@hotmail.com>
Co-authored-by: Vishwac Sena Kannan <vishwack@hotmail.com>
* Fixing CI telemetry prompting
* Adding lock file changes
* Fixing tests to detect CI
* Modifying logic to favor existing config file
* Removing condition on function
* filter position and not require markdown
* Fixing qnaSection.js
* Cross train with tests
* Import support in .qna.
* getting tests to pass
* multi-turn support in qna file format
* fixing multi-turn context-only
* Finalizing multiturn payload
* Updating multi-turn support.
* support for ID in .qna
* Support for parsing qna source via app description
* removing diskio from helper.
* doc updates
* updates for multi-turn flat
* multi-turn in JsonToQnA
* Fixing existing tests.
* fixing tests
* adding multi-turn tests
* finalizing
* more tests
* PR feedback.
* getting tests to pass
* initial dispatcher check-in
* inital dispatcher check-in
* commit before class file naming convention change
* class filename naming convention
* revise L1L2 logic, refactor UnitTest timeout logic
* refactor lu vs. columnar names, and revise README.md
* Use formal bf-lu 4.6.0 release
* bf-lu verstion to 1.0.0 and recommended tslint
* minor README.md revision
* tslint compatibility revision
* refactor unit test flag and add lint commands
* revised based on Emilio comments .1
* index.ts, confusion matrix metrics, resources
* remove bf-lu from dev
* revise index.js location in package.json
* CrossValidator output, main entry in package.json
* Fixing build sequence to export lu before being used as dependency
* Setting build sequence
* Setting build secquence
* refactoring
* Predictor, Tester, and EntityAnnotatedCorpus data
* unit tests for EntityAnnotatedCorpus data
* Changes to match rush requirements
* Setting sequence to rush.json
* Update lock.yaml
* Delete main package.json
* Fixing versions in package.json
* Add Reporter classes
* removed unused comments per Dave's review
Co-authored-by: Emilio Munoz <munoz_emilio@hotmail.com>
Co-authored-by: Christopher Anderson <chrande@microsoft.com>
* Updated documentation.
* Revert build.ts
* Have generator create missing directories.
Change how LUIS related files are organized and scripted to support
bf luis:build.
* Update readme.
* build: add version script
* build: add error message to rush
* ci: add artifact publishing
* ci: ensure doesn't run version on PR
* ci: just use version to detect whether to publish
* ci: fix variable syntax
* ci: fix job name
* build: add rimraf to lu/qnamaker
* ci: change to use build number
* ci: fix syntax
* ci: typo
* ci: syntax error
* ci: fix syntax error
* ci: fix syntax error
* ci: fix syntax error
* ci: fix syntax error...
* ci: fix syntax error
* ci: fix syntax error
* ci: fix syntax error
* ci: fallback to buildVersion
* ci: fix buildId
* ci: try a different syntax
* build: remove parallelism because deadlock
* fix: do not hang on non-tty
* revert: revert the tty fix
* build: remove doc gen in CI for time being
* build: remove docs from version