Skip to content
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.

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

@chrimc62

Description

@chrimc62

Describe the bug

File1:
@ list blah=

  • something:

@ composite foo = [blah]

File2:

utterances

  • @{foo= something}

File3:
Include both File1 and File2

Try to do luis:build on file3.

You will get an error: Entity names must be unique. Duplicate definition found for "foo". Prior definition - '@ ml foo'

The reason is that the collator on file 2 ends up assuming foo is an ml entity which conflicts with its definition as a composite.

Expected behavior

You can distribute definitions including labeling.

[bug]

Metadata

Metadata

Assignees

Labels

lunon luis api commands

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions