-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.sample.json
More file actions
68 lines (68 loc) · 1.28 KB
/
Copy pathcommands.sample.json
File metadata and controls
68 lines (68 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[
{
"keyword": "天气怎么样",
"step": [
{
"type": "request",
"mute": true,
"request": {
"url": "http://www.weather.com.cn/data/sk/101010100.html",
"data": "",
"method": "",
"headers": "",
"out": "res.data",
"useCmd": false,
"wait": true,
"useEdgeTTS": false,
"edgeTTSVoice": "zh-CN-XiaoxiaoNeural"
}
}
]
},
{
"keyword": "我是谁",
"mute": true,
"step": [
{
"type": "tts",
"tts": {
"out": "你猜呀~",
"useCmd": false,
"wait": true,
"useEdgeTTS": true,
"edgeTTSVoice": "zh-CN-XiaoxiaoNeural"
}
}
]
},
{
"keyword": "关灯",
"mute": true,
"step": [
{
"type": "action",
"action": {
"text": "",
"silent": false
}
}
]
},
{
"keyword": "开启高级对话",
"mute": true,
"step": [
{
"type": "chat",
"chat": {
"endFlag": "关闭高级对话",
"stream": true,
"useCmd": false,
"wait": true,
"useEdgeTTS": false,
"edgeTTSVoice": "zh-CN-XiaoxiaoNeural"
}
}
]
}
]