云客服-语义识别业务请求接口:报文样例

时间:2025-02-12 14:54:34

报文样例

  • 请求消息样例
    {"userId": "1649209493813571405","sentence": "查询话费","tenantId": "202205125916","language": "zh_CN","targetIntentCount": "2","confidence2Top": "0.5","authToken": "Xun4*******************yAmResnf",        "context":"查询话费",        "domainList":[10039],        "faqGroupList":[10952,10950]}
  • 响应消息样例
    {    "intentsResponses": [        {            "scenarioStatus": "finish",            "confidence": 1.0,            "responses": "尊敬的用户,您当前话费账户余额为56元。",            "scenarioName": "话费查询",            "commands": "查询话费"        }    ],    "errorCode": 0}
  • 请求消息样例(包含FAQ问答)
    {"userId": "1649209493813571405","sentence": "优惠套餐推荐","tenantId": "202205125916","language": "zh_CN","targetIntentCount": "2","confidence2Top": "0.5","authToken": "Xun4vb*******************mResnf",        "context":"",        "domainList":[10039],        "faqGroupList":[10952,10950]}
  • 响应消息样例
    {    "intentsResponses": [        {            "simQuestions": [                "有实惠一点的流量套餐可以办理"            ],            "scenarioStatus": "SUC CES S",            "confidence": 23.0,            "responses": "本月特惠,10元3G流量。",            "scenarioName": "1721756338",            "commands": "systemQA"        }    ],    "errorCode": 0}
support.huaweicloud.com/api-ccfs-cec/cec_07_2053.html