Skip to content

Commit

Permalink
improve speech for sandbox feature
Browse files Browse the repository at this point in the history
  • Loading branch information
hchiam committed Apr 24, 2018
1 parent 100d9f3 commit a4a0d2c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Code-Tutor/intents/1.5 sound effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1524527071,
"lastUpdate": 1524529885,
"fallbackIntent": false,
"events": []
}
4 changes: 2 additions & 2 deletions Code-Tutor/intents/1.5 sound effects_usersays_en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"id": "e03cecdc-53fe-4dc4-b8d2-a8cfe3afdc0c",
"id": "e0fc3219-e2a5-4e6f-9a45-648577bf363a",
"data": [
{
"text": "play with sound effects",
Expand All @@ -12,7 +12,7 @@
"updated": 1523583450
},
{
"id": "d6f503db-73e8-4822-8d96-a5e9c9e008b3",
"id": "939a9d2d-4f66-45f6-99fd-3b5550f5754f",
"data": [
{
"text": "let\u0027s play with sound effects",
Expand Down
8 changes: 4 additions & 4 deletions Code-Tutor/intents/1.7 sandbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"platform": "google",
"lang": "en",
"customizeAudio": true,
"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?\"",
"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?\""
"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",
"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?\""
},
{
"type": 0,
"lang": "en",
"speech": "Here\u0027s what you can say:"
"speech": "You found one of the hidden features!"
}
],
"defaultResponsePlatforms": {
Expand All @@ -39,7 +39,7 @@
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1524427757,
"lastUpdate": 1524530252,
"fallbackIntent": false,
"events": []
}
4 changes: 2 additions & 2 deletions Code-Tutor/intents/1.7 sandbox_usersays_en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"id": "a84cf034-a81a-4f57-a0b6-2d64ee5b1589",
"id": "6f9c9d31-301b-440c-9a21-d86cd7120a78",
"data": [
{
"text": "sandbox",
Expand All @@ -9,6 +9,6 @@
],
"isTemplate": false,
"count": 0,
"updated": 1524365067
"updated": 1524530174
}
]

0 comments on commit a4a0d2c

Please sign in to comment.