As a photographer, you have to know various terms used in the photography. Sometimes it gets really overwhelming to know each and every term and what does it mean, especially, when you are an amateur.
That's why I decide to write a skill for Alexa. So, the next time I want to know any term, I'll just ask Alexa.
Here is the link to the published skill.
Let's get into the detail of writing the skill.
Step1: Define your skillComplete the Skill Information Page.
Application Id: The ID for this skill
(Non-editable, but this is your this is your generated application ID)
Skill Type (Required)
You can choose a Skill API or define the interaction model.
Custom Interaction Model
Smart Home Skill API
For this project we are using "Custom Interaction Model"
Name (Required)
The name of this skill. This is the name displayed in the Alexa App.
Invocation Name (Required)
The name users will say to interact with this skill. This does not have to be the same as the skill name. The invocation name must comply with the Invocation Name Guidelines
Step 2: Define your Interaction modelComplete the Interaction Model Page.
Intent Schema (Required)
The schema of user intents in JSON format. For more information, see Intent Schema.
Also see built-in slots and built-in intents.
Scroll down to the code section to see the Intent schema for this skill.
Sample Utterances (Required)
Phrases end users say to interact with the skill. For better results, provide as many samples as you can.
Note that you must select three of these to use as your Example Phrases on the Description tab.
Scroll down to the code section to see the Sample utterances for this skill.
Step 3: ConfigurationEndpoint (Required)
Lambda ARN url for Smart Home Adapter.
How to integrate AWS Lambda with Alexa
Here is where you map the web service that drives the back end interaction with the Alexa Skill. Here is where you point you skill at that service will describe in code section. You can map it to your own hosted service or a service you construct in AWS Lambda.
Account Linking
Do you allow users to create an account or link to an existing account with you?Learn more
We are not using Account Linking in this project.Step 4: Testing
This is where you test your service. You can past your Utterances in the "Enter Utterance" field and click the "Ask Your Service Name" button to test the interaction.
You will see the formatted Lambda Request and Lambda Response in the boxes below.Step 5: Publish
Here is where you get really creative... You describe what your Skill will do in both short and long form for display in the Skills directory. Also specify so example Utterances, Icons, Keywords and Testing Instructions for the Certification process.Step 6. Privacy & Compliance
Complete the privacy questionnaire regarding if the Skill requires purchases or the exchange of money. If personal information is collected. You can also link any Privacy statements or Terms of Use URLS.Step 7. Submission
When you are tested and ready to go, submit your Skill for certification. Note: once you submit it, you can no longer edit or test the service.
Comments