BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

14.nlp-with-dispatch: luis_schema_version missing in Weather.json

Open anusharr opened this issue 6 years ago • 1 comments

Github issues for C# / JS

Sample information

  1. Sample type: [samples]
  2. Sample language: [dotnetcore & nodejs]
  3. Sample name: 14.nlp-with-dispatch

Describe the bug

The Weather.json file in the CognitiveModels folder does not contain the luis_schema_version and hence is throwing up this error "BadArgument: Invalid luis schema version. Failed to parse application json." when you try to import Weather.json.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'www.luis.ai'
  2. Click on 'New App for conversion > Import as JSON'
  3. Select Weather.json file from CognitiveModels of 14.nlp-with-dispatch sample.
  4. See error "BadArgument: Invalid luis schema version. Failed to parse application json."

Expected behavior

The Weather.json file should be imported successfully without any errors.

Fix

Add "luis_schema_version": "3.2.0" in the Weather.json file across both the C# and nodejs samples.

image

Additional context

As reported by the Cx in https://github.com/microsoft/BotBuilder-Samples/issues/2643

[bug]

anusharr avatar Aug 05 '20 18:08 anusharr

It didn't work for me

onomemillion avatar Jul 14 '22 19:07 onomemillion