{"componentChunkName":"component---src-templates-docs-js","path":"/training/workshops/sample2","result":{"data":{"site":{"siteMetadata":{"title":"Dabble Lab","docsLocation":"https://github.com/dabblelab/dabblelab-documentation-site","docsLocationType":"github","editable":true}},"mdx":{"fields":{"id":"5bd31393-efb8-515a-a6b0-362814f5e54b","title":"Entity Resolution Quiz Demo","slug":"/training/workshops/sample2"},"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Entity Resolution Quiz Demo\",\n  \"order\": 1\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"section\", null, mdx(\"h1\", {\n    parentName: \"section\"\n  }, \"Entity Resolution Quiz Demo\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"This sample shows how to use entity resolution in a simple quiz.\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Let's say Alexa asks, \\\"Who is credited with suggesting the word \\\"hello\\\" be used when answering the telephone?\\\"\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"The user can answer with, \\\"Thomas Edison\\\" or similar phrases like \\\"Edison\\\" or \\\"Menlo Park\\\".\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"If they say Edison, your code will get \\\"Edison\\\" as what they said as well as \\\"Thomas Edison\\\" which is what that resolves to.\")), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"What You Will Need\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", _extends({\n    parentName: \"li\"\n  }, {\n    \"href\": \"http://developer.amazon.com/alexa\"\n  }), \"Amazon Developer Account\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"a\", _extends({\n    parentName: \"li\"\n  }, {\n    \"href\": \"http://aws.amazon.com/\"\n  }), \"Amazon Web Services Account\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The sample code on \", mdx(\"a\", _extends({\n    parentName: \"li\"\n  }, {\n    \"href\": \"https://github.com/alexa/alexa-cookbook/tree/master/feature-demos/skill-demo-entity-resolution/\"\n  }), \"GitHub\"), \".\"))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Setting Up the Demo\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"This folder contains the interaction model and skill code.  It is structured to make it easy to deploy if you have the ASK CLI already setup.  If you would like to use the Developer Portal, you can follow the steps outlined in the \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://github.com/alexa/skill-sample-nodejs-hello-world\"\n  }), \"Hello World\"), \" example, substituting the \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"./models/en-US.json\"\n  }), \"Model\"), \" and the \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"./lambda/custom/index.js\"\n  }), \"skill code\"), \" when called for.\")), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Exploring Entity Resolution\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Once the skill is configured, naviagate to the Build tab in the skill builder, and explore the intents, slots, sample utterances and prompts.  Pay attention to the answerValues custom slot type.\")), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Running the Demo\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"To start the demo say \\\"alexa open entity resolution quiz demo\\\".  Answer the question as you see fit, trying different synonyms.\")), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Next Steps\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Check out \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://github.com/alexa/skill-sample-nodejs-petmatch\"\n  }), \"Pet Match\"), \" for a skill sample that includes entity resolution and other features related to dialog management. \")));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#entity-resolution-quiz-demo","title":"Entity Resolution Quiz Demo","items":[{"url":"#what-you-will-need","title":"What You Will Need"},{"url":"#setting-up-the-demo","title":"Setting Up the Demo"},{"url":"#exploring-entity-resolution","title":"Exploring Entity Resolution"},{"url":"#running-the-demo","title":"Running the Demo"},{"url":"#next-steps","title":"Next Steps"}]}]},"timeToRead":1,"parent":{"__typename":"File","relativePath":"training/workshops/sample2.md","fields":{"gitLogLatestAuthorName":"Steven Tingiris","gitLogLatestAuthorEmail":"steve@dabblelab.com","gitLogLatestDate":"a day ago"}},"frontmatter":{"metaTitle":null,"showMetadata":null,"editable":null,"showPreviousNext":null,"showToc":null}},"gitBranch":{"name":"13c9979"},"gitCommit":{"hash":"13c9979ef74a5bc3bfd9b8fc61bafb99ba140d64","date":"2020-11-05 06:24"}},"pageContext":{"id":"5bd31393-efb8-515a-a6b0-362814f5e54b"}},"staticQueryHashes":["12478684","12478684","2882937274","2882937274","353167761","353167761","3812332637","3812332637"]}