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

Comments

Various fixes to bf-lu#813

Merged
vishwacsena merged 8 commits intomasterfrom
vishwac/bf-lu-fixes
May 22, 2020
Merged

Various fixes to bf-lu#813
vishwacsena merged 8 commits intomasterfrom
vishwac/bf-lu-fixes

Conversation

@vishwacsena
Copy link
Contributor

Fixes address and enable end to end generated dialogs experience.

errors.push(BuildDiagnostic({
message: "Invalid utterance definition found. Did you miss a '{' or '}'?",
context: normalIntentStr
}))
Copy link
Contributor

@feich-ms feich-ms May 21, 2020

Choose a reason for hiding this comment

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

Only this error type will be thrown out from visitNormalIntentStringContext? How about throw this error inside visitNormalIntentStringContext function?

Copy link

@chrimc62 chrimc62 left a comment

Choose a reason for hiding this comment

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

:shipit:

});

throw (new exception(retCode.errorCode.INVALID_INPUT, error.toString(), [error]));
if (!isChildEntity(entity, entitiesFound)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This operation is repetitive and can be a function that receives the error message

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.

Small details that will be addressed as part of the R10 refactor

@vishwacsena vishwacsena merged commit c0e8483 into master May 22, 2020
@vishwacsena vishwacsena deleted the vishwac/bf-lu-fixes branch May 22, 2020 06:38
@vishwacsena vishwacsena added lu non luis api commands BF:Patch:4.9 Items we should include in May 27 hotfix. labels May 26, 2020
@munozemilio
Copy link
Contributor

@vishwac can you please provide what the fixes are about and provide some release notes as well including issues

@vishwacsena
Copy link
Contributor Author

@munozemilio sure

  • BF-LU parser now throws an error if there are mismatched number of braces in an utterance.
 add {{@AddToQuantity={@number=99}}, {{@AddToQuantity={@number=215}} and {{@AddToQuantity={@number=99}}
  • Various fixes related to merging as well as validations for new nDepth (hierarchical ML) entity
    • Upon merging (collate), nDepth entities with incompatible types throw
    • Upon merging (collate), nDepth entities are correctly merged via reference
    • Added logic to verify ml entity both at root as well as child level is handled correctly
    • Added validation to ensure every child must have its parent labelled in an utterance
    • Relaxed validations to allow prebuilt child entity type to be labelled in an utterance
    • Relaxed validations to allow list child entity type to be labelled in an utterance

munozemilio pushed a commit that referenced this pull request May 26, 2020
* various fixes.

* fixes

* updates

* updates

* fix for luis:build issue.

* updates for nDepth reference resolver.

* Update luis:build to create result using luis()

Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@MININT-GO8OQNV.redmond.corp.microsoft.com>
Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@Vishwacs-MBP.guest.corp.microsoft.com>
Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@za-lyshange1811.africa.corp.microsoft.com>
munozemilio added a commit that referenced this pull request May 27, 2020
* Update dialog:merge tests around projects (#784)

* Updating tests.

* Merge branch '4.9' into chrimc/test
Add nuget semver.

* Change test to avoid checking path parts.

* Follow package.json dependencies.

* Fix merge match.

* fix (#792)

Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@MININT-GO8OQNV.redmond.corp.microsoft.com>

* Fix to remove validation. (#793)

Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@Vishwacs-MBP.guest.corp.microsoft.com>

* fix the priority of stdin and in (#796)

* fix the priority of stdin and in

* fix the same issue in bf luis:generate

* repalce all priority between stdin and --in

* fix logic

* remove only in luis build tests

* Fix for direct luis direct version publish  (#798)

* Remove LUIS sdk and replace with direct http request

* Removing unused line of code

* fix (#802)

Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@MININT-GO8OQNV.redmond.corp.microsoft.com>

* fix (#803)

Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@MININT-GO8OQNV.redmond.corp.microsoft.com>
Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>

* Various fixes to bf-lu (#813)

* various fixes.

* fixes

* updates

* updates

* fix for luis:build issue.

* updates for nDepth reference resolver.

* Update luis:build to create result using luis()

Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@MININT-GO8OQNV.redmond.corp.microsoft.com>
Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@Vishwacs-MBP.guest.corp.microsoft.com>
Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@za-lyshange1811.africa.corp.microsoft.com>

* Set build version

* resolve qnamaker build issues (#812)

* write out endpointKeys to console for qnamaker build

* qnamaker:build do not write .dialog if no --out is specified

* fix typo

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

* resolve luis build issues (#804)

* luis build do not write dialogs if no --out specified

* qnamaker:build do not write .dialog if no --out is specified

* fix suffix issue in luis build

* revert qnamaker changes in this PR and add to another

* fix typo

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

* Adding missing code lost in merges

* Fixing merge

* Adding missing test files

* Fixing readme files

Co-authored-by: Chris McConnell <chrimc@microsoft.com>
Co-authored-by: Vishwac Sena Kannan <vishwack@hotmail.com>
Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@MININT-GO8OQNV.redmond.corp.microsoft.com>
Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@Vishwacs-MBP.guest.corp.microsoft.com>
Co-authored-by: Fei Chen <43032123+feich-ms@users.noreply.github.com>
Co-authored-by: Vishwac Sena Kannan <vishwacsenakannan@za-lyshange1811.africa.corp.microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

BF:Patch:4.9 Items we should include in May 27 hotfix. lu non luis api commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants