def on_intent(intent_request, session):
print("<STR_LIT>" + intent_request['<STR_LIT>'] +<EOL>"<STR_LIT>" + session['<STR_LIT>'])<EOL>intent = intent_request['<STR_LIT>']<EOL>intent_name = intent_request['<STR_LIT>']['<STR_LIT:name>']<EOL>if intent_name == "<STR_LIT>":<EOL><INDENT>return set_color_in_session(intent, session)<EOL><DEDENT>elif intent_name == "<STR_LIT>":<EOL><INDENT>return get_color_from_session(intent, session)<EOL><DEDENT>elif intent_name == "<STR_LIT>":<EOL><INDENT>return get_welcome_response()<EOL><DEDENT>elif intent_name == "<STR_LIT>" or intent_name == "<STR_LIT>":<EOL><INDENT>return handle_session_end_request()<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>
Called when the user specifies an intent for this skill