Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

LU parser can generate erroneous entity output in LUIS JSON output #1244

Copy link
Copy link
@hcyang

Description

@hcyang
Issue body actions

Versions

What CLI version are you using.
the 'main' branch

What Nodejs version are you using
v12.14.1

What command-line interpreters are you using
API

What OS are you using
Windows 10

Describe the bug

Below is the code snippet using bf-cli's LU parser and generate a LUIS JSON object. It can generate an erroneous entity label which is not specified in the input LU file.
Will share the LU input and JSON through email as the files are under NDA.

const luisBuildNoValidate: any = require('@microsoft/bf-lu/lib/parser/luis/luisCollate').build;

const luObject: any = {
  content: luContent,
  id: luFile,
};
const luisObject: any = await luisBuildNoValidate([luObject], false, '', OrchestratorHelper.findLuFiles);

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Give a clear and concise description of what you expected to happen.
LU Parser should not generate an entity label in JSON if not specified in the LU input.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

[bug]

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

P0Must Fix. Release-blockerMust Fix. Release-blockerbugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.lunon luis api commandsnon luis api commands

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.