This sample shows how to use entity resolution in a simple quiz.
Let's say Alexa asks, "Who is credited with suggesting the word "hello" be used when answering the telephone?"
The user can answer with, "Thomas Edison" or similar phrases like "Edison" or "Menlo Park".
If they say Edison, your code will get "Edison" as what they said as well as "Thomas Edison" which is what that resolves to.
- Amazon Developer Account
- Amazon Web Services Account
- The sample code on GitHub.
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 Hello World example, substituting the Model and the skill code when called for.
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.
To start the demo say "alexa open entity resolution quiz demo". Answer the question as you see fit, trying different synonyms.
Check out Pet Match for a skill sample that includes entity resolution and other features related to dialog management.