-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathprofile.json
More file actions
69 lines (69 loc) · 1.43 KB
/
profile.json
File metadata and controls
69 lines (69 loc) · 1.43 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
69
{
"chatbotID": "bot007",
"dicts": [
{
"name": "food",
"type": "vocab",
"dictwords": [
{
"word": "汉堡",
"synonyms": "汉堡包;漢堡;漢堡包"
},
{
"word": "蕃茄酱"
}
]
},
{
"name": "phoneNumber",
"type": "regex",
"patterns": ["[1]([3-9])[0-9]{9}"]
}
],
"intents": [
{
"name": "take_out",
"description": "下外卖订单",
"slots": [
{
"name": "time",
"dictname": "@TIME",
"requires": true,
"question": "您想什么时候送到?"
},
{
"name": "loc",
"dictname": "@LOC",
"requires": true,
"question": "您希望该订单送到哪里?"
},
{
"name": "food",
"dictname": "food",
"requires": true,
"question": "您需要什么食物?"
},
{
"name": "phone",
"dictname": "phoneNumber",
"requires": true,
"question": "您的手机号是什么?"
}
],
"utters": [
{
"utterance": "我想订一份{food}"
},
{
"utterance": "我想点外卖"
},
{
"utterance": "我想点一份外卖,{time}用餐"
},
{
"utterance": "我想点一份{food},送到{loc}"
}
]
}
]
}