def set_color_in_session(intent, session):
card_title = intent['<STR_LIT:name>']<EOL>session_attributes = {}<EOL>should_end_session = False<EOL>if '<STR_LIT>' in intent['<STR_LIT>']:<EOL><INDENT>favorite_color = intent['<STR_LIT>']['<STR_LIT>']['<STR_LIT:value>']<EOL>session_attributes = create_favorite_color_attributes(favorite_color)<EOL>speech_output = "<STR_LIT>" +favorite_color +"<STR_LIT>""<STR_LIT>"<EOL>reprompt_text = "<STR_LIT>""<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>speech_output = "<STR_LIT>""<STR_LIT>"<EOL>reprompt_text = "<STR_LIT>""<STR_LIT>""<STR_LIT>"<EOL><DEDENT>return build_response(session_attributes, build_speechlet_response(<EOL>card_title, speech_output, reprompt_text, should_end_session))<EOL>
Sets the color in the session and prepares the speech to reply to the
    user.