botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Unicode Null Characters & Adding Entity to Luis.ai causes Training to Fail

Open oztheozoz opened this issue 10 years ago • 1 comments

If you have no custom entities created on Luis.ai but get a training failed error as soon as you add one, you may want to check if you have unicode null characters in your exported JSON. A couple of weeks back we added training utterances with multiple spaces before the start of the utterance. This caused unicode null chars ("\u0000") to be added to our JSON. There were no problems until we tried to add an entity a few weeks later. Once these chars are removed, Luis will be able to train again. I tried reproducing the issue, but it looks like the Luis.ai team has fixed the problem. I reporting this issue so people don't have to spend hours trying to figure out what is wrong.

oztheozoz avatar Sep 13 '16 21:09 oztheozoz

Closing because this is fixed.

oztheozoz avatar Sep 13 '16 21:09 oztheozoz