Does it comply with Amazon guidelines if I trigger Alexa notifications from Alexa skill lambda itself without an external lambda? ie directly calling api.amazonalexa.com/v2/notifications without any external triggers?
Original Alexa notification flow
My implementation
This architecture is approved by Alexa team. The skill is live now. Hence we can conclude that it conforms to Amazon guidelines.
Related
i want to add utterances/slot values in the skill, without using Amazon Developer console (i.e. from my project using an API provided by amazon for uploading alexa training set).
Is there any API available that could do this ?
Yes, this is possible using the ASK CLI. If you're just trying to update the skill's model, you can either use the deploy command with the --target model option or the update-model command.
Is there any API to create intents and utterances in alexa from a third party system like "Magento".
Any help would be highly appreciated.
Check Voice Apps and Invocable
These are 3rd party online tools to help you build and publish Alexa Skills with drag and drop facility. You can easily create intents, slots and add utterances.
I think you're looking for Alexa Skill Management API (SMAPI). This is official and You'll need to create a Amazon app to use it. All details can be found here
SMAPI provides RESTful HTTP interfaces for programmatically performing Alexa skill management tasks, such as creating a new skill or updating an interaction model.
You'll can first create a Skill using the above API, then create/update intents and slots using Interaction Model Management. To do this you'll need to be comfortable with Interaction Model Schemas and a sample Scheme can be found here
I am working on an e-commerce website and would like to integrate with Google Voice assistant or Amazon alexa. I have gone through the dialogflow on how to build a voice assistant. But how It'll be available in amazon alexa or google home that shipped to every household ?
Both Alexa and Google Assistant let you develop things that work very much like websites - Alexa calls them Skills, Google calls them Actions. These are programs that run on your (or a) web server, get HTTPS calls from Amazon or Google with JSON information about what the user has said, and are expected to return JSON information that replies to what has been said.
Amazon requires you to use the Alexa Skills Kit to do the development of these sites, but Dialogflow can export its model to Alexa. Google is a little more open, but since they own Dialogflow, integrating a Dialogflow agent with Actions on Google is very straightforward.
You will need to register your Skill/Action with the appropriate company, but once you have done so, it is available to the users. Alexa users need to "install" the Skill from the Skills directory, although that really just means that they can activate it. The Assistant doesn't require users to activate it this way, but it will be listed in the directory. In both cases, users can then trigger it by saying something like "open Skill Name" or "talk to Action Name".
I have created new Skill using Ask CLI.
And deploy both skill & lambda function.
Now I was trying to test skill using ask simulate CLI command but got an error message that Skill is currently disabled in the development stage. Please enable skill in order to call this API.
However, I was still able to test it in Alexa Skill Console (web)
I was used below command for testing.
ask simulate --skill-id amzn1.ask.skill.bc889dcf-fc17-4a64-bbb3-077f6a4f5e39 --text "my newcls
skill" --locale en-US
Did you install the skill?
Check your Alexa app for the list of installed skills to see if it is there. I don't think that creating a skill automatically installs it.
You may even need to reinstall it if a 'live' version was previously installed.
I have worked on the Skill that can be invoked by an Alexa command. Now I want to know if I can invoke the Skill without an Alexa command? Can a Skill be invoked by itself by some mechanism?
There must be some type of activity to invoke skill, otherwise there is no mechanism yet to invoke automatically at the time of answering your question.
We have confirmed by the official team of Alexa.