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

Composer overwrites recognizer settings #4205

@tomlm

Description

@tomlm

Describe the bug

Recognizers have settings, in particular LUIS Recognizer has settings. Composer overwrites the .lu.dialog file instead of maintaining the settings.

Version

1.1.1

Browser

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Create a LU file
  2. Change the settings on the lu file
  3. starting the bot will blow away your settings
{
    "$kind": "Microsoft.LuisRecognizer",
    "id": "LUIS_msmeeting-actions",
    "applicationId": "=settings.luis.msmeeting_actions_en_us_lu",
    "endpoint": "=settings.luis.endpoint",
    "endpointKey": "=settings.luis.endpointKey",
    "predictionOptions": {
        "includeInstanceData": true
    },
}

THIS IS WHAT THE COMPOSER GENERATES:

{
    "$kind": "Microsoft.LuisRecognizer",
    "id": "LUIS_msmeeting-actions",
    "applicationId": "=settings.luis.msmeeting_actions_en_us_lu",
    "endpoint": "=settings.luis.endpoint",
    "endpointKey": "=settings.luis.endpointKey"
}

Expected

  1. It should not rewrite the file if it doesn't need to
  2. It should maintain settings if it does.

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions