修改意图时报conditions 必传字段为空
dafeng_cao 发布于2019-06 浏览:1564 回复:1
0
收藏

通过管理api修改意图报282900,conditions 必传字段为空

{
    "botId":"51998",
    "skillId":"0",
    "intentData":{
        "intentId":"75518",
        "intentName":"APPLY",
        "intentClarifyName":"确认",
        "intentCategory":"user",
        "intentType":"dialog",
        "slots":[
        ],
        "answer":[
            {
                "answerId":"106182",
                "answerName":"apply_satisfy",
                "customReply":"",
                "say":"确认",
                "conditions": [
                  [
                    {
                   	  "exp": "lastIntent",
                      "detail":{ "intentId": 68299,"equal": 1}, 
                  	}
                  ],
                ]
            }
        ],

        "actionPrioritys":[
            {
                "actionType":"answer",
                "priority":1
            }
        ],
    }
}
收藏
点赞
0
个赞
共1条回复 最后由半醉半醒半疯Z回复于2019-07
#2半醉半醒半疯Z回复于2019-07

answer的格式可以参考这个方式去写

"answer": {
"say": "hhh",
"conditions": [
[
{
"exp": "sessionSlot",
"detail": {
"slotId":39864 ,
"filled": 1
}
},
{
"exp": "sessionSlot",
"detail": {
"slotId":39864 ,
"filled": 1
}
}
]
]
},

 

你的结构和有些参数都有问题

0
TOP
切换版块