-
Notifications
You must be signed in to change notification settings - Fork 1
/
scheme.py
50 lines (48 loc) · 1.17 KB
/
scheme.py
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
// Basic scheme for your functions. Structure -> intent : name of func, slots : varName, varType
// Have to be downloaded to developer.amazon.com in your skill
{
"intents":
[
{
"intent": "MyMoodIntent",
"slots":
[
{
"name" : "mood",
"type" : "LIST_OF_MOODS"
}
]
}, {
"intent" : "whatIsYourName",
"slots":
[
{
"name" : "nickname",
"type" : "AMAZON.US_FIRST_NAME"
}
]
}, {
"intent": "whatIsMyTempIntent"
}, {
"intent" : "ifHungry",
"slots" :
[
{
"name" : "hunger",
"type" : "LIST_OF_HUNGERS"
}
]
},{
"intent" : "AMAZON.StopIntent"
}, {
"intent" : "MyTempIntent",
"slots" :
[
{
"name" : "newTemp",
"type" : "LIST_OF_NUMBERS"
}
]
}
]
}