Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
uniplat-example
/
intent-example
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1bcbd16a
authored
May 13, 2022
by
张蕴鹏
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
feat(intent): 添加备注 intent 支持 model 配置
parent
af094ce3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
models/Example1.json
models/Example1.json
View file @
1bcbd16a
...
@@ -162,6 +162,19 @@
...
@@ -162,6 +162,19 @@
],
],
"intentDefs"
:
[
"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"
,
"name"
:
"otherAction"
,
"label"
:
"调用其他模型"
,
"label"
:
"调用其他模型"
,
"container"
:
"dialog"
,
"container"
:
"dialog"
,
...
@@ -805,6 +818,7 @@
...
@@ -805,6 +818,7 @@
"delete"
"delete"
],
],
"intents"
:
[
"intents"
:
[
"addUserRemark"
,
"executeActionOther"
,
"executeActionOther"
,
"showListPlanListSidebar"
,
"showListPlanListSidebar"
,
"showListPlanList"
,
"showListPlanList"
,
...
@@ -886,7 +900,7 @@
...
@@ -886,7 +900,7 @@
"update"
,
"update"
,
"delete"
"delete"
],
],
"intents"
:
[
"executeActionOther"
]
"intents"
:
[
"
addUserRemark"
,
"
executeActionOther"
]
}
}
]
]
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment