Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Multiple instances of entity still breaks ludown #189

Closed
srozga opened this issue May 16, 2018 · 1 comment
Closed

Multiple instances of entity still breaks ludown #189

srozga opened this issue May 16, 2018 · 1 comment
Assignees
Labels
bug Your classic code defect ludown-cli ludown issue

Comments

@srozga
Copy link

srozga commented May 16, 2018

Describe the bug
Bug #187 has been marked as fixed but when I run 1.0.25 I now see a different, arguably worse, issue.

Thanks!
-s

Input

{
  "luis_schema_version": "3.0.0",
  "versionId": "0.1",
  "name": "Repro",
  "desc": "",
  "culture": "en-us",
  "intents": [
    {
      "name": "None"
    },
    {
      "name": "TestIntent"
    }
  ],
  "entities": [
    {
      "name": "EntityOne",
      "roles": []
    },
    {
      "name": "EntityTwo",
      "roles": []
    }
  ],
  "composites": [],
  "closedLists": [],
  "patternAnyEntities": [],
  "regex_entities": [],
  "prebuiltEntities": [],
  "model_features": [],
  "regex_features": [],
  "patterns": [],
  "utterances": [
    {
      "text": "this is a one and a two and a one again",
      "intent": "TestIntent",
      "entities": [
        {
          "entity": "EntityOne",
          "startPos": 30,
          "endPos": 32
        },
        {
          "entity": "EntityTwo",
          "startPos": 20,
          "endPos": 22
        },
        {
          "entity": "EntityOne",
          "startPos": 10,
          "endPos": 12
        }
      ]
    }
  ]
}

Output

> ! Automatically generated by [LUDown CLI](https://github.com/Microsoft/botbuilder-tools/tree/master/Ludown), Wed May 16 2018 06:26:28 GMT-0400 (Eastern Daylight Time)

> ! Source LUIS JSON file: .\repro3.json

> ! Source QnA TSV file: Not Specified


> # Intent definitions

## None


## TestIntent
- this is a one and a two and a {E{E{EntityOne=one}tyTwo=two}tyOne=one} again


> # Entity definitions

$EntityOne:simple

$EntityTwo:simple


> # PREBUILT Entity definitions


> # Phrase list definitions


> # List entities


@vishwacsena vishwacsena self-assigned this May 16, 2018
@vishwacsena vishwacsena added ludown-cli ludown issue bug Your classic code defect labels May 16, 2018
vishwacsena pushed a commit that referenced this issue Jun 30, 2018
@vishwacsena
Copy link
Contributor

@srozga: Thanks and apologies the fix took a while. This is now fixed in ludown v1.0.29

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Your classic code defect ludown-cli ludown issue
Projects
None yet
Development

No branches or pull requests

2 participants