Skip to content

Instantly share code, notes, and snippets.

@FabricatiDiem
Created June 19, 2018 20:25
Show Gist options
  • Save FabricatiDiem/702090a804c2fee02d588b3cdc5cb874 to your computer and use it in GitHub Desktop.
Save FabricatiDiem/702090a804c2fee02d588b3cdc5cb874 to your computer and use it in GitHub Desktop.
Example Lex Response
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