Cloud 音调分析器教程;代码";:400,”;子代码:&引用;C00012"&引用;错误";:&引用;第1行第2列的JSON输入无效;

Cloud 音调分析器教程;代码";:400,”;子代码:&引用;C00012"&引用;错误";:&引用;第1行第2列的JSON输入无效;,cloud,Cloud,我正在尝试建议的json数据,其中包含{“text”:“团队,我知道形势很艰难!过去三个季度的产品销售一直令人失望。我们有一个有竞争力的产品,但我们需要更好地销售它!”}但没有成功。请告知。API文档中有错误。该服务需要不同的json格式,如下所示: { "utterances": [ { "text": "Hello, I'm having a problem with your product.",

我正在尝试建议的json数据,其中包含
{“text”:“团队,我知道形势很艰难!过去三个季度的产品销售一直令人失望。我们有一个有竞争力的产品,但我们需要更好地销售它!”}
但没有成功。请告知。

API文档中有错误。该服务需要不同的json格式,如下所示:

{
  "utterances": [
    {
      "text": "Hello, I'm having a problem with your product.",
      "user": "customer"
    },
    {
      "text": "OK, let me know what's going on, please.",
      "user": "agent"
    },
    {
      "text": "Well, nothing is working :(",
      "user": "customer"
    },
    {
      "text": "Sorry to hear that.",
      "user": "agent"
    }
  ]
}
请参见此处的教程