Skip to content

Commit a4a0d2c

Browse files
committed
improve speech for sandbox feature
1 parent 100d9f3 commit a4a0d2c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Code-Tutor/intents/1.5 sound effects.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"priority": 500000,
4848
"webhookUsed": false,
4949
"webhookForSlotFilling": false,
50-
"lastUpdate": 1524527071,
50+
"lastUpdate": 1524529885,
5151
"fallbackIntent": false,
5252
"events": []
5353
}

Code-Tutor/intents/1.5 sound effects_usersays_en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"id": "e03cecdc-53fe-4dc4-b8d2-a8cfe3afdc0c",
3+
"id": "e0fc3219-e2a5-4e6f-9a45-648577bf363a",
44
"data": [
55
{
66
"text": "play with sound effects",
@@ -12,7 +12,7 @@
1212
"updated": 1523583450
1313
},
1414
{
15-
"id": "d6f503db-73e8-4822-8d96-a5e9c9e008b3",
15+
"id": "939a9d2d-4f66-45f6-99fd-3b5550f5754f",
1616
"data": [
1717
{
1818
"text": "let\u0027s play with sound effects",

Code-Tutor/intents/1.7 sandbox.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"platform": "google",
2222
"lang": "en",
2323
"customizeAudio": true,
24-
"textToSpeech": "Apple equals 1... Repeat 3 times... Say hi... If banana equals fruit... Run code... If you need this list again, just say \"what\u0027s on the list?\"",
25-
"displayText": "* apple equals 1\n* repeat 3 times\n* say hi\n* if banana equals fruit\n* run code\n\nIf you need this list again, just say \"what\u0027s on the list?\""
24+
"ssml": "\u003cspeak\u003e\u003caudio src\u003d\"https://actions.google.com/sounds/v1/cartoon/wood_plank_flicks.ogg\"\u003e\u003c/audio\u003eIn this \"sandbox\", you have a little freedom to create any code you want. Here\u0027s examples of instructions you can say: \u003cbreak time\u003d\"1s\"/\u003e Apple equals 1. \u003cbreak time\u003d\"1s\"/\u003e Repeat 3 times. \u003cbreak time\u003d\"1s\"/\u003e Say hi. \u003cbreak time\u003d\"1s\"/\u003e If banana equals fruit. \u003cbreak time\u003d\"1s\"/\u003e When you\u0027re done, say \"run code\", and I\u0027ll follow the instructions. \u003cbreak time\u003d\"1s\"/\u003e If you need this list again, just say \"what\u0027s on the list\"\u003c/speak\u003e",
25+
"displayText": "In this \"sandbox\", you have a little freedom to create any code you want. Here\u0027s examples of instructions you can say:\n\n* apple equals 1\n* repeat 3 times\n* say hi\n* if banana equals fruit\n\nWhen you\u0027re done, say \"run code\", and I\u0027ll follow the instructions.\n\nIf you need this list again, just say \"what\u0027s on the list?\""
2626
},
2727
{
2828
"type": 0,
2929
"lang": "en",
30-
"speech": "Here\u0027s what you can say:"
30+
"speech": "You found one of the hidden features!"
3131
}
3232
],
3333
"defaultResponsePlatforms": {
@@ -39,7 +39,7 @@
3939
"priority": 500000,
4040
"webhookUsed": false,
4141
"webhookForSlotFilling": false,
42-
"lastUpdate": 1524427757,
42+
"lastUpdate": 1524530252,
4343
"fallbackIntent": false,
4444
"events": []
4545
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"id": "a84cf034-a81a-4f57-a0b6-2d64ee5b1589",
3+
"id": "6f9c9d31-301b-440c-9a21-d86cd7120a78",
44
"data": [
55
{
66
"text": "sandbox",
@@ -9,6 +9,6 @@
99
],
1010
"isTemplate": false,
1111
"count": 0,
12-
"updated": 1524365067
12+
"updated": 1524530174
1313
}
1414
]

0 commit comments

Comments
 (0)