云客服-POST /CCSQM/rest/ccisqm/v1/sentencemanage/createSentence:报文样例

时间:2023-11-01 16:19:54

报文样例

  • 场景描述:创建句子

    请求头:

    x-app-key:************************************  X-UserID:1611917095665261978  Authorization:Bearer ********************************

    请求参数:

    {  "category_id": "1070149256381206528",  "sentence_name": "句子名称87",  "tagDataList": [    {      "tag_type": "dialogue_act",      "pos_sentences": [        {          "name": "同义语料88"        }      ],      "neg_sentences": [        {          "name": "反义语料28"        }      ]    },    {      "tag_type": "keyword",      "pos_sentences": [        {          "name": "关键字11192"        },        {          "name": "关键字22222"        }      ]    },    {      "tag_type": "regular_exp",      "pos_sentences":[{           "name": "正则表达式2221"       }]     }  ]}

    响应参数:

    {    "sentence_id": "10849",    "resultCode": "0403000",    "id": "10849",    "resultDesc": "操作成功"}
support.huaweicloud.com/api-ccfs-cec/cec_05_7312.html