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.

bf orchestrator:create over LU files fails on the second call #1272

Copy link
Copy link
@chrimc62

Description

@chrimc62
Issue body actions

Versions

@microsoft/bf-orchestrator-cli 4.14.1

Describe the bug

If you have an LU file with entity labels in it and call orchestrator:create twice, then you will get an undefine entity name.

To Reproduce

Steps to reproduce the behavior:

  1. Create an LU file a.lu that includes an entity label.
  2. Call bf orchestrator:create -i a.lu
  3. Call bf orchestrator:create -i a.lu again
  4. The second call will fail

Expected behavior

It should not fail when you have a .blu file already.

Additional context

The issue is that the BLU labels are passed to addNewEntityLabelUtterance which is expecting entities structured by the LU parser. Instead of {name, span{offset, length}} it should be {entity, startPos, endPos}.

[bug]

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.

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.