IntentNoRespDelete - 删除意图负向例句
所有文档
menu

客悦智能客服专业版

IntentNoRespDelete - 删除意图负向例句

立即使用

API访问域名

请求方式 POST
base url https://keyue.cloud.baidu.com
后缀接口 /open/v1/api/v3/intent/deleteNoResp
Authentication token为API Key

说明

请求参数

Header参数

名称 类型 必选 中文名 说明
Content-Type string 内容类型 固定值:application/json
token string API KEY 集成-API-API Key处获取。
详细获取方式参考:准备工作
uid string 用户ID 鼠标移动至页面右上角账户头像即可获取。
详细获取方式参考:准备工作
username string 用户名 鼠标移动至页面右上角账户头像即可获取。
详细获取方式参考:准备工作

Body参数

名称 类型 必填 中文名 说明
nameZh string 意图名称 意图名称
noResps array 意图负例对象 详见noResps子数据

noResps子数据

名称 类型 必填 中文名 说明
id string 意图负例Id

响应参数

名称 类型 必选 中文名 说明
time integer 时间 1716985128196
data null 数据 null
code integer 状态码 200
msg string 状态信息 OK

请求示例

curl --location --request POST 'https://keyue.cloud.baidu.com/open/v1/api/v3/intent/deleteNoResp' \
--header 'token: 6de9a5db-792c-434a-9d58-7711c974142a' \
--header 'Content-Type: application/json' \
--header 'uid: cf7d9692703d45d1b5517a30ab3efa53' \
--header 'username: pnstest5' \
--data '{
    "nameZh": "肯定意图",
    "noResps": [
        {
            "id": "ceca9a98-35e6-4f74-9ad3-73d41062bc4b"
        }
    ]
}'

响应示例

{
    "time": 1719305246201,
    "data": null,
    "code": 200,
    "msg": "OK"
}
上一篇
IntentNoRespUpdate - 修改意图负向例句
下一篇
lntentNorespList - 查看意图负向例句列表