This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Lambda | |
/* eslint-disable func-names */ | |
/* eslint-disable no-console */ | |
const Alexa = require('ask-sdk-core'); | |
const questions = require('./questions'); | |
const i18n = require('i18next'); | |
const sprintf = require('i18next-sprintf-postprocessor'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Alexa Fact Skill - Sample for Beginners | |
// | |
// sets up dependencies | |
const Alexa = require('ask-sdk-core'); | |
const i18n = require('i18next'); | |
// core functionality for fact skill | |
const GetNewFactHandler = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This sample demonstrates handling intents from an Alexa skill using the Alexa Skills Kit SDK (v2). | |
// Please visit https://alexa.design/cookbook for additional examples on implementing slots, dialog management, | |
// session persistence, api calls, and more. | |
const Alexa = require('ask-sdk-core'); | |
var saludo = '<speak> Ok, lo haré con estilo. <prosody rate="medium" pitch="high"> Bienveniddos</prosody>.<prosody rate="medium" pitch="high"> ¿Qué passssó?</prosody>.<prosody rate="medium" pitch="high"> ¿Qué le ddoy?</prosody>.<prosody rate="medium" pitch="high"> ¿Qué va querer?</prosody>.<prosody rate="medium" pitch="high"> ¿Qué va llevar?</prosody>. <prosody rate="medium" pitch="high"> Paeso estoy</prosody>. <prosody rate="medium" pitch="high"> Paservirle</prosody>.<prosody rate="fast" pitch="x-high">uuuh! uuuh!</prosody>.<break time="1s"></break><say-as interpret-as="interjection">wórales</say-as>. cuanta creatividad ¿no?... Fuera de broma, bienvenidos, me da mucho gusto que estén aquí </speak>'; | |
const LaunchR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Lambda | |
const Alexa = require('ask-sdk-core'); | |
const LaunchRequestHandler = { | |
canHandle(handlerInput) { | |
const request = handlerInput.requestEnvelope.request; | |
return request.type === 'LaunchRequest' | |
}, | |
handle(handlerInput) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// abcConfig.json | |
{ | |
"prod": {}, | |
"beta": {}, | |
"alpha": {}, | |
"dev": {}, | |
"prod-es-mx": {}, | |
"beta-es-mx": {}, | |
"alpha-es-mx": {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interactionModel": { | |
"languageModel": { | |
"invocationName": "curiosidades espaciales", | |
"intents": [ | |
{ | |
"name": "AMAZON.CancelIntent", | |
"samples": [] | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interactionModel": { | |
"languageModel": { | |
"invocationName": "curiosidades espaciales", | |
"intents": [ | |
{ | |
"name": "AMAZON.CancelIntent", | |
"samples": [] | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interactionModel": { | |
"languageModel": { | |
"invocationName": "curiosidades espaciales", | |
"intents": [ | |
{ | |
"name": "AMAZON.CancelIntent", | |
"samples": [] | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
// Licensed under the Amazon Software License | |
// http://aws.amazon.com/asl/ | |
//Lambda | |
/* eslint-disable func-names */ | |
/* eslint-disable no-console */ | |
const Alexa = require('ask-sdk-core'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Lambda | |
const Alexa = require('ask-sdk-core'); | |
const LaunchRequestHandler = { | |
canHandle(handlerInput) { | |
const request = handlerInput.requestEnvelope.request; | |
return request.type === 'LaunchRequest' | |
}, |
NewerOlder