in src/lambda_functions/banker_bot/lambda_function.py [0:0]
def dispatch(intent_request):
intent_name = intent_request['sessionState']['intent']['name']
response = None
# Dispatch to your bot's intent handlers
if intent_name == 'CheckBalance':
return CheckBalance(intent_request)
elif intent_name == 'FollowupCheckBalance':
return FollowupCheckBalance(intent_request)
raise Exception('Intent with name ' + intent_name + ' not supported')