def get_story(request_payload): simple_response = ga.make_simple_response_message( "Kicked off in 2012 as a once-per-year event at I/O by then VP " "of Google[x] Megan Smith, Women Techmakers is now led by Head " "of Global Programs Natalie Villalobos and a global team of " "Googlers who are passionate about empowering women in " "technology.") title = "Want to know more about the pillars of the program?" items = [] option_info = ga.make_option_info("visibility", "visibility") item = ga.make_item(option_info, "Visibility ", "What does visibility mean here?", "") items.append(item) option_info = ga.make_option_info("community", "community") item = ga.make_item(option_info, "Community", "What does community mean here?", "") items.append(item) option_info = ga.make_option_info("resources", "resources") item = ga.make_item(option_info, "Resources", "What does resources mean here?", "") items.append(item) carousel_card_msg = ga.make_list_card_response_message(title, items) msgs = [simple_response, carousel_card_msg] return msgs
def get_scholarship_details(request_payload): simple_response = ga.make_simple_response_message( "I can assist you with the scholarship program. Which scholarship program do you want to hear about?" ) items = [] option_info = ga.make_option_info("WTM Scholarship", "WTM Scholarship") item = ga.make_item( option_info, "Women Techmakers Scholars Program ", "Through the Women Techmakers Scholars " "program, we are working to further Dr. " "Anita Borg/'s vision of creating gender " "equality in the field of computer " "science, and to encourage and support " "women in tech to become active role " "models and leaders in the field.", "") items.append(item) option_info = ga.make_option_info("Udacity Scholarship", "Udacity Scholarship") item = ga.make_item( option_info, "Women Techmakers Udacity Scholarship", "Women Techmakers is offering fully funded scholarships for a year of access to one of four " "technical online degree programs from Udacity, as well as extra support, special access, " "and connection to the global Women Techmakers community.", "") items.append(item) carousel_card_msg = ga.make_carousel_card_message(items) msgs = [simple_response, carousel_card_msg] return msgs
def get_membership_careerlevel_details(request_payload): simple_response = ga.make_simple_response_message( "Here are the various career levels at Women Techmakers.") items = [] option_info = ga.make_option_info("early_career", "early_career") item = ga.make_item(option_info, "Early Career ", "0-5 years of industry experience", "") items.append(item) option_info = ga.make_option_info("mid_career", "mid_career") item = ga.make_item(option_info, "Mid career", "6-10 years of industry experience", "") items.append(item) option_info = ga.make_option_info("established_career", "established_career") item = ga.make_item(option_info, "Established career", "11+ years of industry experience", "") items.append(item) carousel_card_msg = ga.make_carousel_card_message(items) msgs = [simple_response, carousel_card_msg] return msgs
def get_membership_details(request_payload): simple_response = ga.make_simple_response_message( "I can assist you with the membership program.") title = "What do you want to know on the membership program?" items = [] option_info = ga.make_option_info("become_a_member", "become_a_member") item = ga.make_item(option_info, "Become a member ", "How to become a member?", "") items.append(item) option_info = ga.make_option_info("member_benefits", "member_benefits") item = ga.make_item(option_info, "Membership Benefits", "What are the benefits of being a member?", "") items.append(item) option_info = ga.make_option_info("career_levels", "career_levels") item = ga.make_item( option_info, "Career Levels", "What are the career levels associated with membership program?", "") items.append(item) option_info = ga.make_option_info("skillsets", "skillsets") item = ga.make_item( option_info, "Skillsets", "What are the skillsets that you can acquire by being a member?", "") items.append(item) carousel_card_msg = ga.make_list_card_response_message(title, items) msgs = [simple_response, carousel_card_msg] return msgs
def get_welcome_message(request_payload): simple_response = ga.make_simple_response_message(_WTM) title = "What do you want to know on the Women Techmakers program?" items = [] option_info = ga.make_option_info("Our Story", "Our Story") item = ga.make_item(option_info, "Our Story ", _STORY, "") items.append(item) option_info = ga.make_option_info("Membership", "Membership") item = ga.make_item( option_info, "Membership ", "Here are more details on the Women Techmakers Membership Program", "") items.append(item) option_info = ga.make_option_info("Scholarships", "Scholarships") item = ga.make_item( option_info, "Scholarships", "Here are the various scholarships that you can avail as a part of the Women Techmakers program", "") items.append(item) option_info = ga.make_option_info("Meetups", "Meetups") item = ga.make_item( option_info, "Meetups", "Here are the details about Meetups that happen under Women Techmakers program", "") items.append(item) option_info = ga.make_option_info("IWD Summit", "IWD Summit") item = ga.make_item(option_info, "IWD Summit", "International Women's Day Global Event Series", "") items.append(item) list_card_msg = ga.make_list_card_response_message(title, items) msgs = [simple_response, list_card_msg] return msgs
def get_member_benefits_details(request_payload): simple_response = ga.make_simple_response_message( "Here are the Women Techmakers membership benefits.") items = [] option_info = ga.make_option_info("benefit_1", "benefit_1") item = ga.make_item(option_info, "Work how you work ", "Begin unbiasing + increase impact", "") items.append(item) option_info = ga.make_option_info("benefit_2", "benefit_2") item = ga.make_item(option_info, "Find a local tech entrepreneurship hub", "Join the Campus community", "") items.append(item) option_info = ga.make_option_info("benefit_3", "benefit_3") item = ga.make_item(option_info, "Empower your organization to support women", "Access tools and research to support women in tech", "") items.append(item) option_info = ga.make_option_info("benefit_4", "benefit_4") item = ga.make_item(option_info, "Lead, learn and connect locally", "Meet women in tech near you", "") items.append(item) option_info = ga.make_option_info("benefit_5", "benefit_5") item = ga.make_item(option_info, "Stay informed", "Updates on women in tech", "") items.append(item) list_card_msg = ga.make_carousel_card_message(items) msgs = [simple_response, list_card_msg] return msgs