Commit 1bcbd16a by 张蕴鹏

feat(intent): 添加备注 intent 支持 model 配置

parent af094ce3
Showing with 15 additions and 1 deletions
......@@ -162,6 +162,19 @@
],
"intentDefs": [
{
"name": "addUserRemark",
"label": "添加备注-userMember",
"action": "addMemo",
"when": "1",
"enabled": "1",
"model": "UserMember",
"parameters": {
"id": "{{host.invokeModelFunc('chat_for_advisory', 'getUserMemberId', object.uniplat_uid.value)}}",
"enableRemarkType": true,
"enableAttachments": false
}
},
{
"name": "otherAction",
"label": "调用其他模型",
"container": "dialog",
......@@ -805,6 +818,7 @@
"delete"
],
"intents": [
"addUserRemark",
"executeActionOther",
"showListPlanListSidebar",
"showListPlanList",
......@@ -886,7 +900,7 @@
"update",
"delete"
],
"intents": ["executeActionOther"]
"intents": ["addUserRemark","executeActionOther"]
}
]
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment