This is an Alexa skill that gives interesting and new facts about fruits.
Step 1Create a Lambda function, select the Fact Skill template, and paste the provided code.
Copy the ARN in the top-right corner. This allows your skill to contact your function.
Create a new Alexa skill by plugging in the skill name, invocation name, language, and more. Then go to the Interaction Model tab and paste the utterances and intent schema provided.
Schema
{
"intents": [
{
"intent": "GetNewFactIntent"
},
{
"intent": "AMAZON.HelpIntent"
},
{
"intent": "AMAZON.StopIntent"
},
{
"intent": "AMAZON.CancelIntent"
}
]
}
Sample Utterances:
GetNewFactIntent a fact
GetNewFactIntent a fruit fact
GetNewFactIntent tell me a fact
GetNewFactIntent tell me a fruit fact
GetNewFactIntent give me a fact
GetNewFactIntent give me a fruit fact
GetNewFactIntent tell me trivia
GetNewFactIntent tell me a fruit trivia
GetNewFactIntent give me trivia
GetNewFactIntent give me a fruit trivia
GetNewFactIntent give me some information
GetNewFactIntent give me some fruit information
GetNewFactIntent tell me something
GetNewFactIntent give me something
Step 4Go to the configuration tab, select Amazon Resource Name, and paste your ARN. Fill in the other required information, and you should be set!
Step 5Go to the publishing information tab, fill in the information and submit your images, and submit for certification.
Comments