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

Comments

LU fixes#657

Merged
vishwacsena merged 3 commits intomasterfrom
vishwac/652-653
Mar 13, 2020
Merged

LU fixes#657
vishwacsena merged 3 commits intomasterfrom
vishwac/652-653

Conversation

@vishwacsena
Copy link
Contributor

Fixes #652 #653

Vishwac Sena Kannan added 2 commits March 11, 2020 15:53
if (entity.Type !== INTENTTYPE) {
entity.Name = entity.Name.replace(/^[\'\"]|[\'\"]$/g, "");
let entityName = entity.Name;
let entityName = entity.Name.endsWith('=') ? entity.Name.slice(0, entity.Name.length - 1) : entity.Name;

Choose a reason for hiding this comment

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

entity.Name.endsWith('=') [](start = 33, length = 25)

This will work, but isn't there a limited set of chars allowed in entity names for LUIS?

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:

@vishwacsena vishwacsena merged commit dd9dad4 into master Mar 13, 2020
@vishwacsena vishwacsena deleted the vishwac/652-653 branch March 13, 2020 17:25
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.

luis:build turns all labels into ml even if defined as composite in another file

2 participants