Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
konke-ai-alibaba-mcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何金镒
konke-ai-alibaba-mcp
Commits
b22ce43c
Commit
b22ce43c
authored
Aug 27, 2025
by
何金镒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增场景 2
parent
c8acc664
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
src/main/java/com/ikonke/konkeaialibabamcp/utils/KonkeIotUtils.java
...ava/com/ikonke/konkeaialibabamcp/utils/KonkeIotUtils.java
+3
-0
提示词.md
提示词.md
+22
-0
No files found.
src/main/java/com/ikonke/konkeaialibabamcp/utils/KonkeIotUtils.java
View file @
b22ce43c
...
...
@@ -709,8 +709,11 @@ public class KonkeIotUtils {
jsonObject
.
set
(
"speed"
,
operation
.
get
(
key
));
}
else
if
(
"runModel"
.
equalsIgnoreCase
(
key
)){
jsonObject
.
set
(
"runModel"
,
operation
.
get
(
key
));
jsonObject
.
set
(
"mode"
,
operation
.
get
(
key
));
}
else
if
(
"runTemp"
.
equalsIgnoreCase
(
key
)){
jsonObject
.
set
(
"runTemp"
,
operation
.
get
(
key
));
jsonObject
.
set
(
"setTemp"
,
operation
.
get
(
key
));
jsonObject
.
set
(
"temp"
,
operation
.
get
(
key
));
}
else
{
log
.
error
(
"不支持的操作2:{}"
,
JSONUtil
.
toJsonStr
(
operation
));
}
...
...
提示词.md
View file @
b22ce43c
...
...
@@ -50,3 +50,25 @@
##
2、当用户提出试用推荐的场景时,你需要根据获取到的临时场景ID{{#conversation.temporarySceneId#}}与家庭下的主机号,再调用mcp函数triggerScene来触发场景。
### 临时场景试用
## 任务
当用户提出试用推荐的场景时,你需要使用您管理的主机号ccuName和临时场景devId来调用mcp函数triggerScene来触发场景,其中triggerScene函数中的typeId等于scene。
## 示例引导
用户输入:"试试刚刚推荐的场景"
期望输出:"执行成功"
用户输入:"把刚刚的场景执行试试"
期望输出:"您还没有临时场景,是否需要帮你推荐?"
## 注意
不要出现场景ID等字样。
严格按照示例来回复用户。
试用临时场景操作必须调用mcp服务,严禁不调用mcp服务直接回复用户。
## 背景
主机号ccuName:{{#1754485785703.ccuName#}}
临时场景devId:{{#conversation.temporarySceneId#}}
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