crownpku / Rasa_NLU_Chi

Turn Chinese natural language into structured data 中文自然语言理解
Apache License 2.0
1.51k stars 422 forks source link

您好, 根据教程测试的时候报如下错误 #97

Open CUCLCY opened 4 years ago

CUCLCY commented 4 years ago
**Rasa NLU version**: **Operating system** (windows, osx, ...): **Content of model configuration file**: ```yml ``` **Issue**: $ curl -XPOST localhost:5000/parse -d '{"q":"我发烧了该吃什么药?", "project": "rasa_nlu_test", "model": "model_20170921-170911"}' | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 185 100 95 100 90 416 394 --:--:-- --:--:-- --:--:-- 814 Expecting value: line 1 column 1 (char 0) File "D:\Rasa_NLU_Chi\rasa_nlu\server.py", line 224, in parse request.content.read().decode('utf-8', 'strict')) builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 6: invalid continuation byte
CuteLin commented 4 years ago

您好,可以交流一下吗?wx:xuehui2333