lib.Tektronix.alexa
Tag 0
Node
Javascript
Python
Ruby
Shell
Description
No description field found in package.json
# Your StdLib Alexa Skill This is a template for your StdLib Alexa Skill. It's easy to get started, to create a new intent simply create a file with the name of your intent in `./functions/intents/`. You'll see a sample `HelloWorld` intent already in there (the name is matched without the `.js` file.) ## Sample Intent: HelloWorld ```javascript /** * @param {string} name Intent Name (Automatically Populated by Handler) * @param {object} slots Slot Information, {name, value} * @returns {any} */ module.exports = (name = '', slots = {}, callback) => { return callback(null, `Hello World`); }; ``` This intent will cause Alexa to respond with "Hello World." You can see that intents defined in this way receive `slots` automatically, and are executed with a `callback` - the first parameter is an `Error` parameter, and if provided, Alexa will respond with an error. Otherwise Alexa will respond with the string provided by the second parameter. For more information on Alexa Skills please check out https://developer.amazon.com/.
Info
url https://Tektronix.lib.id/alexa/
context enabled
bg info
pricing Free
rate limits
Parameters (click to modify)
Type Param Description
{string}
name
= ""
Intent Name to trigger
{object}
slots
= {}
Slot Information
{object}
request
= {}
Request Object (required)
Basic "Hello World" intent, can receive a `name` parameter
Info
url https://Tektronix.lib.id/alexa/intents/HelloWorld/
context disabled
bg info
pricing Free
rate limits
Parameters (click to modify)
Type Param Description
{string}
name
= "World"
Your name