Skip to content

Instantly share code, notes, and snippets.

Avatar

Carlos Ordonez softwarechido

View GitHub Profile
View gist:6d26c340724b0bbd424aefa6ec8f5ae0
//
// 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 = {
@softwarechido
softwarechido / un saludo
Created Sep 10, 2020
Voice Meme - Un saludo - index.js
View un saludo
// 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
@softwarechido
softwarechido / Skill Flow Builder - Mi primer historia
Created Apr 27, 2020
Crea tu primer Historia con Alexa Skill Flow Builder
View Skill Flow Builder - Mi primer historia
// abcConfig.json
{
"prod": {},
"beta": {},
"alpha": {},
"dev": {},
"prod-es-mx": {},
"beta-es-mx": {},
"alpha-es-mx": {},
View Curiosidades Espaciales V3 - Model
{
"interactionModel": {
"languageModel": {
"invocationName": "curiosidades espaciales",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
View Curiosidades Espaciales V2 - Model
{
"interactionModel": {
"languageModel": {
"invocationName": "curiosidades espaciales",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
View Curiosidades Espaciales V1 - Model
{
"interactionModel": {
"languageModel": {
"invocationName": "curiosidades espaciales",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
View Trivia do Brasil - V1
//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');
@softwarechido
softwarechido / Trivia de México - V2
Last active Nov 12, 2019
Trivia de México - Skill de Ejemplo para crear skills de trivia. Para generar las preguntas, visita: http://softwarechido.com/alexa/trivia/
View Trivia de México - V2
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Licensed under the Amazon Software License
// http://aws.amazon.com/asl/
/* eslint-disable func-names */
/* eslint-disable no-console */
const Alexa = require('ask-sdk-core');
const questions = require('./questions');
const i18n = require('i18next');
@softwarechido
softwarechido / Trivia de México - V1
Last active Feb 1, 2020
Trivia de México - Skill de Ejemplo para crear skills de trivia. Para generar las preguntas, visita: http://softwarechido.com/alexa/trivia/
View Trivia de México - V1
// 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');
@softwarechido
softwarechido / Ejemplo APL Intermedio
Last active Jul 18, 2019
Ejemplo APL Intermedio
View Ejemplo APL Intermedio
{
"type": "APL",
"version": "1.1",
"theme": "dark",
"import": [
{
"name": "alexa-layouts",
"version": "1.1.0"
}
],