Skip to content

Instantly share code, notes, and snippets.

View ldelcasti's full-sized avatar

Luis Alberto Del Castillo ldelcasti

View GitHub Profile
{
"interactionModel": {
"languageModel": {
"invocationName": "guía universitaria",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
// Añadir antes de la respuesta para dispositivos APL
if (!APLsupport(handlerInput)) {
return handlerInput.responseBuilder
.speak(speechOutput)
.withSimpleCard(SKILL_NAME, randomFact)
.withShouldEndSession(true)
.getResponse();
}
//@Ldelcasti
// Lambda update
// Añadir antes de la respuesta para dispositivos APL
if (!APLsupport(handlerInput)) {
return handlerInput.responseBuilder
.speak(speechOutput)
.withSimpleCard(SKILL_NAME, randomFact)
.withShouldEndSession(true)