-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLex_Bot_MachineTemperature.json
More file actions
executable file
·78 lines (78 loc) · 2.02 KB
/
Lex_Bot_MachineTemperature.json
File metadata and controls
executable file
·78 lines (78 loc) · 2.02 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
70
71
72
73
74
75
76
77
78
{
"metadata": {
"schemaVersion": "1.0",
"importType": "LEX",
"importFormat": "JSON"
},
"resource": {
"name": "MachineTemperature",
"version": "1",
"intents": [
{
"name": "SetTemperatureForMachine",
"version": "1",
"sampleUtterances": [
"Reduce the degrees of machine {machine} to {temperature} degrees",
"Up the temperature of machine {machine} to {temperature} degrees",
"Change machine {machine} temperature to {temperature} degrees",
"Set machine {machine} to {temperature} degrees"
],
"slots": [
{
"sampleUtterances": [],
"slotType": "AMAZON.NUMBER",
"slotConstraint": "Required",
"valueElicitationPrompt": {
"messages": [
{
"contentType": "PlainText",
"content": "What machine number?"
}
],
"maxAttempts": 2
},
"priority": 1,
"name": "machine"
},
{
"sampleUtterances": [],
"slotType": "AMAZON.NUMBER",
"slotConstraint": "Required",
"valueElicitationPrompt": {
"messages": [
{
"contentType": "PlainText",
"content": "How many degrees?"
}
],
"maxAttempts": 2
},
"priority": 2,
"name": "temperature"
}
]
}
],
"voiceId": "Matthew",
"childDirected": false,
"locale": "en-US",
"idleSessionTTLInSeconds": 60,
"clarificationPrompt": {
"messages": [
{
"contentType": "PlainText",
"content": "Sorry, can you please repeat that?"
}
],
"maxAttempts": 5
},
"abortStatement": {
"messages": [
{
"contentType": "PlainText",
"content": "Sorry, I could not understand. Goodbye."
}
]
}
}
}