From 40a8d391a750c07bef203b603f717abe3cdb5a5b Mon Sep 17 00:00:00 2001 From: Sarah Dwyer Date: Wed, 28 Nov 2018 12:41:53 -0800 Subject: [PATCH] Minor change to agent template Change-Id: Iae335cb385c91cda749411bc403c17f44d06ddc6 --- dialogflow-agent.zip | Bin 8861 -> 7399 bytes dialogflow-agent/agent.json | 7 +- .../intents/Default Welcome Intent.json | 4 +- .../Default Welcome Intent_usersays_en.json | 60 +++++++++--------- dialogflow-agent/intents/makeAdlibStory.json | 10 +-- .../intents/makeAdlibStory_usersays_en.json | 36 +++++------ functions/index.js | 2 +- 7 files changed, 60 insertions(+), 59 deletions(-) diff --git a/dialogflow-agent.zip b/dialogflow-agent.zip index ffbf494804804399b9f0479ed857493516623e39..ef6180e51c3c9d7d6a17734066affb5181c9b4ef 100644 GIT binary patch literal 7399 zcmdT|by!sS8XiGpq@_z3S_J8CP(VPsySqaW3kQ%cksKWmnL$!QLR3^bq(c;tP>>t} zfyDuYJGhG;xU9S0`_Jy2=R7m>$NB2_e&6?=S4$21C^-m>xmfM4s)GO@JP--U+R@&_ zkH^K=(?j2g0Mxy?Z5o2P*+1%9y6dUy4)c-JtZ-3h&a;Nb>v*us-Enr}RH^opNRKV| zPiaXkh(|ytUKl2##>q7@jBDOq+x)F4lbDE@EH2DBpPMt?jGnzUoP->LkBbuqZj)$g zeW@^RWYYf<>-v4X4=2RIA?7XpSf<|UuKk1!E`}_4NIYmdza97a`OJ)KZ)9&gn$!3I z^YT4&_Qa^ll{;cO_Bbh09*hRgYZ2W2>XcRyNTpMEZj-P^BWm5W`1G6P5pW%*=Fbc} zV!fr)9<=eRMdd}_)=`!(hQGWv;vNf>Yn`7-YrYh-@n!s~7eNfMu9OUI4#(NJSu|$| z`SOQZ8d>PpLLYPFcx7VSU2~1|53!aF*cb;F1qiX6d0)AiHp1;?9W6g*FB%T6bgjRw zGB)2pa@H6$lqilm+@42ka}kE%QL?s>e(IRAuZZGYzA+@E6i8jEV)t-sl-dEODOSk>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+L&)YjMRak;9 zm!?0-wr-cRIt$8QZS}patvrFbvVJo4d&?N# z438w(RZ_ZYWY;-DjA`M8tGRw?3G;ZdPuhb3ZoO=f3zCeAoVfftEgF47>IOO zUGDIr2XX|ktgACPeZv8)M)q&oBplJMS z-9kgBIQ44~fjZg10}vpk_8%V!1a$uwbrykhIB^3i?qi&Mna4%J*pbZKZ|;9hL~sr# zB0nL1nSnY_pg@7hgbtxX9G#9Fx9C?7g*rMQK!HO*;imw{MiMxHgOLQPQTvw=RHLX+ zP%@!3$gb_sFYaTy`fBU zRJ-<%0aZmhi((f7x`Bdla;x}9dx!%#&<0V>J3hZ7MFHQD9KuIAbRY# zbm2yU%7oG)-9Dtt0o30}RL4#JMQ+qvGabr02q+=4$vA*NnuY&jAAW(N8qbCTnhD(^ zKGFDph>v>TVMW15KtGfGGWy^UPrmd1^_HMo&x3-V3H?rXqV@mnLa6N=>Ou(U-045N z@wa{3f98?M5syYGf9uizV@=em&yKPt0y;wV%ekWme?o)ypE<>cvOp#@isnS8{>!!Y rD>f=6$d0TPgd8d#Mk7l7{+V-sW*|&t#sdH-kl%C27RZop|G)nO33tLQ diff --git a/dialogflow-agent/agent.json b/dialogflow-agent/agent.json index e303470..bd5807c 100755 --- a/dialogflow-agent/agent.json +++ b/dialogflow-agent/agent.json @@ -4,6 +4,7 @@ "disableInteractionLogs": false, "disableStackdriverLogs": true, "googleAssistant": { + "autoPreviewEnabled": true, "googleAssistantCompatible": true, "project": "basic-slotfilling", "welcomeIntentSignInRequired": false, @@ -19,14 +20,13 @@ "voiceType": "MALE_1", "capabilities": [], "protocolVersion": "V2", - "autoPreviewEnabled": true, "isDeviceAgent": false }, "defaultTimezone": "America/Los_Angeles", "webhook": { "url": "https://us-central1-basic-slotfilling.cloudfunctions.net/dialogflowFirebaseFulfillment", "headers": { - "":"" + "": "" }, "available": true, "useForDomains": false, @@ -40,5 +40,6 @@ "onePlatformApiVersion": "v2", "analyzeQueryTextSentiment": false, "enabledKnowledgeBaseNames": [], - "knowledgeServiceConfidenceAdjustment": -0.4 + "knowledgeServiceConfidenceAdjustment": -0.4, + "dialogBuilderMode": false } diff --git a/dialogflow-agent/intents/Default Welcome Intent.json b/dialogflow-agent/intents/Default Welcome Intent.json index ee6e5ab..2e2ef3d 100755 --- a/dialogflow-agent/intents/Default Welcome Intent.json +++ b/dialogflow-agent/intents/Default Welcome Intent.json @@ -16,7 +16,7 @@ "speech": "Hey there, welcome to Ad Libs! All I need is a country, year, and color for a great story." } ], - "defaultResponsePlatforms": {}, + "defaultResponsePlatforms": { "google": true }, "speech": [] } ], @@ -30,4 +30,4 @@ "name": "WELCOME" } ] -} \ No newline at end of file +} diff --git a/dialogflow-agent/intents/Default Welcome Intent_usersays_en.json b/dialogflow-agent/intents/Default Welcome Intent_usersays_en.json index d6bddd0..7b4e7a3 100755 --- a/dialogflow-agent/intents/Default Welcome Intent_usersays_en.json +++ b/dialogflow-agent/intents/Default Welcome Intent_usersays_en.json @@ -1,9 +1,9 @@ [ { - "id": "92ba1374-fb90-488a-bcc2-aee8386ff6ce", + "id": "6e863af7-b867-4fdb-8543-4148bccac618", "data": [ { - "text": "just going to say hi", + "text": "hello hi", "userDefined": false } ], @@ -12,10 +12,10 @@ "updated": 0 }, { - "id": "88784995-6838-434e-8432-d4203ff45911", + "id": "ba9487ab-d740-4f50-93de-8b6ecaad7ecb", "data": [ { - "text": "a good day", + "text": "hi", "userDefined": false } ], @@ -24,10 +24,10 @@ "updated": 0 }, { - "id": "921059e3-55de-4263-a715-92d194b64d53", + "id": "8ed23d0a-81a7-47d4-a4bf-04ddccf14cc1", "data": [ { - "text": "hey there", + "text": "hello there", "userDefined": false } ], @@ -36,10 +36,10 @@ "updated": 0 }, { - "id": "6e863af7-b867-4fdb-8543-4148bccac618", + "id": "43997ccc-52d1-4a4a-9ef5-12113d694798", "data": [ { - "text": "hello hi", + "text": "hello", "userDefined": false } ], @@ -60,10 +60,10 @@ "updated": 0 }, { - "id": "ba9487ab-d740-4f50-93de-8b6ecaad7ecb", + "id": "65b9e20a-2157-4daa-981e-8af1bc147c7f", "data": [ { - "text": "hi", + "text": "hey", "userDefined": false } ], @@ -72,10 +72,10 @@ "updated": 0 }, { - "id": "a7977d0c-87dd-42c4-b70f-9ebb3679166d", + "id": "88784995-6838-434e-8432-d4203ff45911", "data": [ { - "text": "greetings", + "text": "a good day", "userDefined": false } ], @@ -84,10 +84,10 @@ "updated": 0 }, { - "id": "cccf2add-5470-4f21-bdfa-850f4b818a8b", + "id": "921059e3-55de-4263-a715-92d194b64d53", "data": [ { - "text": "howdy", + "text": "hey there", "userDefined": false } ], @@ -108,22 +108,22 @@ "updated": 0 }, { - "id": "228474be-7b90-4e1f-9290-770d3ee5a5bb", + "id": "a6a4458c-a511-4eae-81fd-35a11a4394a9", "data": [ { - "text": "heya", + "text": "hi there", "userDefined": false } ], "isTemplate": false, - "count": 0, + "count": 1, "updated": 0 }, { - "id": "8ed23d0a-81a7-47d4-a4bf-04ddccf14cc1", + "id": "c1cb51d6-d229-469a-8c63-1f50365f9273", "data": [ { - "text": "hello there", + "text": "hello again", "userDefined": false } ], @@ -132,22 +132,22 @@ "updated": 0 }, { - "id": "a6a4458c-a511-4eae-81fd-35a11a4394a9", + "id": "4ff5bca4-e61e-4450-aca4-e43167dc5c77", "data": [ { - "text": "hi there", + "text": "lovely day isn\u0027t it", "userDefined": false } ], "isTemplate": false, - "count": 1, + "count": 0, "updated": 0 }, { - "id": "43997ccc-52d1-4a4a-9ef5-12113d694798", + "id": "cccf2add-5470-4f21-bdfa-850f4b818a8b", "data": [ { - "text": "hello", + "text": "howdy", "userDefined": false } ], @@ -156,10 +156,10 @@ "updated": 0 }, { - "id": "c1cb51d6-d229-469a-8c63-1f50365f9273", + "id": "a7977d0c-87dd-42c4-b70f-9ebb3679166d", "data": [ { - "text": "hello again", + "text": "greetings", "userDefined": false } ], @@ -168,10 +168,10 @@ "updated": 0 }, { - "id": "65b9e20a-2157-4daa-981e-8af1bc147c7f", + "id": "92ba1374-fb90-488a-bcc2-aee8386ff6ce", "data": [ { - "text": "hey", + "text": "just going to say hi", "userDefined": false } ], @@ -180,10 +180,10 @@ "updated": 0 }, { - "id": "4ff5bca4-e61e-4450-aca4-e43167dc5c77", + "id": "228474be-7b90-4e1f-9290-770d3ee5a5bb", "data": [ { - "text": "lovely day isn\u0027t it", + "text": "heya", "userDefined": false } ], diff --git a/dialogflow-agent/intents/makeAdlibStory.json b/dialogflow-agent/intents/makeAdlibStory.json index f3085cb..3f618dc 100755 --- a/dialogflow-agent/intents/makeAdlibStory.json +++ b/dialogflow-agent/intents/makeAdlibStory.json @@ -17,7 +17,7 @@ "prompts": [ { "lang": "en", - "value": "Oops you forgot $geo-country" + "value": "I need a country!" } ], "isList": false @@ -31,7 +31,7 @@ "prompts": [ { "lang": "en", - "value": "You forgot $number, give me any number" + "value": "What\u0027s a random year?" } ], "isList": false @@ -45,7 +45,7 @@ "prompts": [ { "lang": "en", - "value": "Please tell me a $color" + "value": "Give me a random color" } ], "isList": false @@ -55,7 +55,7 @@ { "type": 0, "lang": "en", - "speech": "So according to David Attenborough, back in the year $number, the nearly extinct yet exquisite, $color -bellied fox was introduced to $geo-country and now flourishes in over 236 distinct regions." + "speech": "So according to Professor David, back in the year $number, the nearly extinct yet exquisite, $color -bellied fox was introduced to $geo-country and now flourishes in over 236 distinct regions." } ], "defaultResponsePlatforms": {}, @@ -65,7 +65,7 @@ "priority": 500000, "webhookUsed": true, "webhookForSlotFilling": true, - "lastUpdate": 1534450427, + "lastUpdate": 1543435799, "fallbackIntent": false, "events": [] } \ No newline at end of file diff --git a/dialogflow-agent/intents/makeAdlibStory_usersays_en.json b/dialogflow-agent/intents/makeAdlibStory_usersays_en.json index 19ae918..dd043a8 100755 --- a/dialogflow-agent/intents/makeAdlibStory_usersays_en.json +++ b/dialogflow-agent/intents/makeAdlibStory_usersays_en.json @@ -1,11 +1,11 @@ [ { - "id": "193c247d-1614-4cce-8ec1-89f47fd3fb15", + "id": "7ae7e292-ce3e-4fcc-b6cd-9ef068ffb025", "data": [ { - "text": "Canada", - "alias": "geo-country", - "meta": "@sys.geo-country", + "text": "orange", + "alias": "color", + "meta": "@sys.color", "userDefined": true }, { @@ -13,9 +13,9 @@ "userDefined": false }, { - "text": "green", - "alias": "color", - "meta": "@sys.color", + "text": "Iceland", + "alias": "geo-country", + "meta": "@sys.geo-country", "userDefined": true }, { @@ -23,10 +23,10 @@ "userDefined": false }, { - "text": "1955", + "text": "1985", "alias": "number", "meta": "@sys.number", - "userDefined": true + "userDefined": false } ], "isTemplate": false, @@ -34,12 +34,12 @@ "updated": 1534441427 }, { - "id": "7ae7e292-ce3e-4fcc-b6cd-9ef068ffb025", + "id": "193c247d-1614-4cce-8ec1-89f47fd3fb15", "data": [ { - "text": "orange", - "alias": "color", - "meta": "@sys.color", + "text": "Canada", + "alias": "geo-country", + "meta": "@sys.geo-country", "userDefined": true }, { @@ -47,9 +47,9 @@ "userDefined": false }, { - "text": "Iceland", - "alias": "geo-country", - "meta": "@sys.geo-country", + "text": "green", + "alias": "color", + "meta": "@sys.color", "userDefined": true }, { @@ -57,10 +57,10 @@ "userDefined": false }, { - "text": "1985", + "text": "1955", "alias": "number", "meta": "@sys.number", - "userDefined": false + "userDefined": true } ], "isTemplate": false, diff --git a/functions/index.js b/functions/index.js index deddc35..195f9c3 100644 --- a/functions/index.js +++ b/functions/index.js @@ -44,7 +44,7 @@ else if (missingSlots.length === 3){ agent.add(`Ok, I need all 3 things still: a ${missingSlots[0]}, ${missingSlots[1]}, and ${missingSlots[2]}`); } else { - agent.add(`So according to David Attenborough, back in the year + agent.add(`So according to Professor David, back in the year ${year}, the nearly extinct yet exquisite, ${color}-bellied fox was introduced to ${nation} and now flourishes in over 361 regions.`); }