Created
June 19, 2018 20:25
-
-
Save FabricatiDiem/702090a804c2fee02d588b3cdc5cb874 to your computer and use it in GitHub Desktop.
Example Lex Response
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
def lambda_handler(event, context): | |
return { | |
'sessionAttributes': event['sessionAttributes'], | |
'dialogAction': { | |
'type': 'ElicitIntent', | |
'message': { | |
'contentType': 'PlainText', | |
'content': "Your request was successfully received. How else can I help you?" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment