diff --git a/docs/examples/conftest.py b/docs/examples/conftest.py index 5146fb7c8..843d0fe01 100644 --- a/docs/examples/conftest.py +++ b/docs/examples/conftest.py @@ -70,6 +70,8 @@ def fallback(): "client.py", "pii_serve.py", "mellea_pdf.py", # External URL returns 403 Forbidden + "m_decomp_result.py", + "python_decompose_result.py", } diff --git a/docs/examples/m_decompose/decompose_intermediary_python_command.sh b/docs/examples/m_decompose/decompose_intermediary_python_command.sh new file mode 100644 index 000000000..5b0dfb92a --- /dev/null +++ b/docs/examples/m_decompose/decompose_intermediary_python_command.sh @@ -0,0 +1 @@ +python ./m_decomp_result.py > final_output.txt \ No newline at end of file diff --git a/docs/examples/m_decompose/decompose_using_cli.sh b/docs/examples/m_decompose/decompose_using_cli.sh new file mode 100644 index 000000000..169596b56 --- /dev/null +++ b/docs/examples/m_decompose/decompose_using_cli.sh @@ -0,0 +1 @@ +m decompose run --out-dir ./ --prompt-file ./docs/examples/m_decomposeexample_decompose_prompt.txt \ No newline at end of file diff --git a/docs/examples/m_decompose/example_decompose_prompt.txt b/docs/examples/m_decompose/example_decompose_prompt.txt new file mode 100644 index 000000000..41336c1b7 --- /dev/null +++ b/docs/examples/m_decompose/example_decompose_prompt.txt @@ -0,0 +1,53 @@ +I need you to help me plan, organize, and execute a comprehensive corporate team-building +event for our company with 100-300 employees that will strengthen team cohesion, +improve cross-departmental collaboration, boost morale, and create lasting memories, +and I need you to create a complete event strategy document that includes detailed planning +timelines starting 6 months before the event with weekly milestones, budget breakdowns for venue +rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities +at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total +estimated budget of $50,000-125,000, and I need you to design a marketing and communication +strategy with save-the-date announcements 4 months in advance, formal invitations 2 months before, +weekly reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile +event app, and I need you to develop a venue selection process evaluating 10 venues based on +capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, +WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness, +and I need you to design a detailed event schedule from 8:00 AM to 8:00 PM including +registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, +icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, +morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, +and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges +at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, +and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment +at 5:30-8:00 PM, and I need you to create icebreaker plans with 15 options including +human knot, marshmallow tower, obstacle course, pictionary, charades, and trust falls, +and I need you to develop team formation strategy with diverse mix of departments and +seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, +and team assignments 2 weeks before with names and colors, and I need you to design workshop +content with leadership case studies, innovation brainstorming, communication exercises, +and wellness meditation, and I need you to create catering plan with breakfast coffee station +and pastries, lunch buffet with salad bar and hot entrees, afternoon snacks, and dinner with +three entree choices and full bar, and I need you to develop activity logistics with equipment +lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation +schedules, and I need you to create transportation plan with charter buses, parking management, +shuttle service, and contingency plans, and I need you to design registration process with online +portal, on-site check-in, name tags, welcome packets with schedule and swag, and staff training, +and I need you to develop safety plan with insurance, first aid stations, evacuation procedures, +weather contingencies, food safety with allergen labeling, security personnel, and incident +reporting, and I need you to create vendor management strategy with selection criteria, contracts, +payment schedules, and evaluation forms, and I need you to design technology plan with event +app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, +live streaming, and tech support, and I need you to develop decoration strategy with signage, +team colors, photo backdrops, and sustainable options, and I need you to create entertainment +plan with live band or DJ, emcee, interactive activities, and evening games, and I need you to +design prize strategy with team prizes at $500, $300, and $200, individual awards, participation +gifts, and raffle prizes, and I need you to create post-event evaluation with participant +survey within 24 hours, debriefing sessions, budget reconciliation, photo compilation, +impact assessment, and thank you communications, and I need you to design accessibility plan +with ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive +team formation, and I need you to develop sustainability plan with eco-friendly venue, local +catering, reusable serving ware, digital communications, recyclable decorations, and +waste management, and I need you to create contingency planning for weather emergencies, +vendor cancellations, technology failures, medical emergencies, and budget overruns, +and ensure all planning follows best practices, creates memorable experiences, +accommodates diverse needs, stays within budget, prioritizes safety, incorporates sustainable +practices, leverages technology, builds excitement, and measures success. \ No newline at end of file diff --git a/docs/examples/m_decompose/final_output.txt b/docs/examples/m_decompose/final_output.txt new file mode 100644 index 000000000..6a9d79fe7 --- /dev/null +++ b/docs/examples/m_decompose/final_output.txt @@ -0,0 +1,750 @@ +**Event Strategy Document** + +**1. Executive Summary** +- **Objective**: Foster teamwork and collaboration among employees through a comprehensive team-building event. +- **Key Highlights**: Incorporates workshops, interactive activities, networking opportunities, and wellness sessions to enhance professional development and employee satisfaction. + +**2. Event Overview** +- **Purpose**: Strengthen team dynamics and improve communication within the organization. +- **Goals**: Enhance leadership skills, encourage innovation, and promote a healthier work-life balance. +- **Target Audience**: All employees across all departments, including management and junior staff. + +**3. Planning Timeline** + +**6 Months Before Event** +- **Week 1-2**: Finalize event goals and objectives +- **Week 3**: Budget approval and initial planning +- **Week 4**: Vendor selection process + +**5 Months Before Event** +- **Week 5**: Venue booking confirmation +- **Week 6-7**: Detailed budget breakdown completion +- **Week 8**: Marketing campaign kickoff + +**4 Months Before Event** +- **Week 9**: Finalize event schedule and logistics +- **Week 10**: Team formation strategy development +- **Week 11**: Catering plan finalization +- **Week 12**: Technology needs assessment + +**3 Months Before Event** +- **Week 13-14**: Activity planning and logistics +- **Week 15**: Transportation arrangements +- **Week 16**: Registration process setup + +**2 Months Before Event** +- **Week 17-18**: Marketing campaign intensification +- **Week 19-20**: Final review of all plans and budgets + +**1 Month Before Event** +- **Week 21-22**: Staff training on roles and responsibilities +- **Week 23**: Final logistics checks and rehearsals +- **Week 24**: Contingency planning for potential issues + +**2 Weeks Before Event** +- **Week 23**: Team assignments finalized +- **Week 23**: Participant surveys distributed +- **Week 24**: Last-minute preparations and confirmations + +**1 Week Before Event** +- **Week 24**: Final setup and testing of AV equipment +- **Week 24**: Staff briefing sessions +- **Week 24**: Registration and check-in processes ready + +**Event Day** +- **Day Before**: Set up venue, finalize logistics, conduct safety checks +- **On Event Day**: Execute the event schedule as planned + +**Post-Event Activities** +- **1 Week After**: Send out participant surveys +- **2 Weeks After**: Conduct debriefing sessions with team leads +- **Month Post-Event**: Evaluate outcomes and plan for next year’s improvements + +**4. Budget Breakdown** + +**Venue Rental**: $15,000 - $25,000 +**Catering**: $75 - $125 per person +**Entertainment & Activities**: $10,000 - $20,000 +**Transportation**: $3,000 - $8,000 +**Technology**: $5,000 - $10,000 +**Marketing & Communications**: $5,000 +**Miscellaneous/Contingency**: $2,500 + +*Total Estimated Budget*: **$50,000 - $125,000** + +**5. Marketing and Communication Strategy** +- **Save-the-Date Announcements**: 4 months in advance via email and company intranet. +- **Formal Invitations**: 2 months before the event to all employees and stakeholders. +- **Weekly Reminder Emails**: Sent out starting one month prior to ensure high attendance. +- **Internal Campaigns**: Utilize internal newsletters, bulletin boards, and digital platforms for promotional activities. +- **Dedicated Slack Channel**: For real-time updates and discussions leading up to the event. +- **Executive Videos**: Highlighting vision and importance of the team-building exercise. +- **Mobile Event App**: For seamless scheduling, networking, and communication. + +**6. Venue Selection** +- **Criteria Evaluation**: Based on capacity (100-300 people), accessibility for all employees, parking facilities, indoor/outdoor space availability, AV capabilities (projectors, sound systems), WiFi bandwidth for over 300 devices, catering facilities, accommodations for guests, and cost-effectiveness. +- **Selection Process**: Review of 10 venues followed by a site visit to ensure it meets the above criteria. + +**7. Event Schedule** +- **8:00 - 9:00 AM**: Registration & Breakfast +- **9:00 - 9:30 AM**: Opening Ceremony (CEO Speech) +- **9:30 - 10:30 AM**: Icebreaker Activities (e.g., Human Bingo, Speed Networking) +- **10:30 - 12:30 PM**: Morning Workshops (Leadership, Innovation, Communication, Wellness) +- **12:30 - 2:00 PM**: Lunch Break +- **2:00 - 5:00 PM**: Team Challenges (Scavenger Hunt, Escape Rooms, Outdoor Adventures, Cooking Competition, Sports Tournaments) +- **5:00 - 5:30 PM**: Awards Ceremony +- **5:30 - 8:00 PM**: Dinner with Entertainment + +**8. Icebreaker Plans** +1. Human Bingo +2. Speed Networking +3. Marshmallow Tower Challenge +4. Pictionary and Charades +5. Trust Falls +6. Blind Drawing Session +7. Group Storytelling Marathon +8. Cultural Showcase +9. Secret Partner Exercise +10. Emoji Forecasting Game +11. Team Trivia Night +12. Silent Auction for Goodies +13. Human Jenga +14. Photo Booth Challenge +15. Mystery Location Puzzle + +**9. Team Formation Strategy** +- **Objective**: Create diverse teams comprising of employees from different departments and levels of seniority. +- **Process**: + - Pre-event Survey: Collect data on dietary restrictions, preferences, and any special needs. + - Team Assignments: Randomly form teams with a balanced mix of skills and personalities. Ensure representation across all levels (junior, mid-level, senior) and departments. + - Communication Plan: Share team assignments and introductions in the Slack channel to build camaraderie. + +**10. Workshop Content** +- **Leadership**: Case studies on successful leaders, interactive exercises on leading teams effectively. +- **Innovation**: Brainstorming sessions for innovative solutions, group challenges requiring creative thinking. +- **Communication**: Role-playing scenarios to improve communication skills, feedback sessions to enhance clarity and effectiveness in conveying messages. +- **Wellness**: Mindfulness practices, yoga sessions, stress management workshops. + +**11. Catering Plan** +- **Breakfast**: Coffee station and assorted pastries/breakfast items. +- **Lunch**: Buffet-style with a variety of options including salads, main entrees (e.g., pasta, grilled chicken), sides, and vegetarian/vegan choices. +- **Afternoon Snacks**: Assorted cheeses, fruits, nuts, and light snacks for the team challenges. +- **Dinner**: Three-course meal featuring local cuisine or themed dishes to engage participants. + +**12. Activity Logistics** +- **Equipment Lists**: List of all necessary equipment (projectors, sound systems, tables, chairs). +- **Setup Instructions**: Detailed steps for setting up each activity area. +- **Safety Protocols**: Emergency procedures and first aid station locations. +- **Facilitator Guides**: Manuals or guides for facilitators leading workshops and activities. +- **Scoring Systems**: Methods for scoring team challenges (e.g., creativity, teamwork, efficiency). +- **Rotation Schedules**: Timelines for rotating teams between different activities. + +**13. Transportation Plan** +- **Charter Buses**: For larger groups traveling from out-of-town locations. +- **Parking Management**: Designated parking areas with clear signage and shuttle service available for those without personal vehicles. +- **Shuttle Service**: Daily shuttles to accommodate overflow or late arrivals/departures. + +**14. Registration Process** +- **Online Portal**: Simple registration form capturing name, department, dietary restrictions, and any special needs. +- **On-site Check-in**: Name tags printed with employee information for easy identification. +- **Welcome Packets**: Include event schedule, map of the venue, swag bags, and any documents needed by participants (e.g., waivers). + +**15. Safety Plan** +- **Insurance Coverage**: Ensure adequate coverage for all activities planned during the event. +- **First Aid Stations**: Strategically placed throughout the venue with trained staff on duty. +- **Evacuation Procedures**: Clearly marked exits and safe areas, communicated to all attendees. +- **Food Safety**: Allergen labeling for food items, cross-contamination prevention measures in place. + +**16. Vendor Management** +- **Selection Criteria**: Quality of service, cost-effectiveness, reliability, customer reviews, and alignment with corporate values. +- **Contracts**: Detailed contracts outlining services provided, payment schedules, cancellation policies, and terms of use. +- **Payment Schedules**: Deposit upon contract signing followed by payments due on specific dates leading up to the event. +- **Evaluation Forms**: Post-event surveys for vendors to assess their performance. + +**17. Technology Plan** +- **Event App**: For real-time updates, messaging, and navigation within the venue. +- **AV Equipment**: Projectors, microphones, screens, cameras for capturing moments during workshops and team challenges. +- **WiFi**: High-speed internet access capable of handling 300+ devices simultaneously. +- **Photography Services**: Professional photographers on-site to document key moments. +- **Live Streaming**: Options for live streaming selected parts of the event for remote participants. + +**18. Decoration Strategy** +- **Signage**: Branding and directional signs throughout the venue. +- **Team Colors**: Incorporate company colors into banners, table settings, and photo backdrops. +- **Photo Backdrops**: Creative setups for group photos and individual shots during breaks. +- **Themed Zones**: Dedicated areas for different activities with thematic decorations. + +**19. Wellness Sessions** +- **Mindfulness Workshops**: Guided meditation sessions to promote relaxation and stress reduction. +- **Yoga Classes**: Short yoga routines throughout the day to encourage physical activity and mental clarity. +- **Healthy Snacks**: Availability of nutritious snacks at designated breaks. + +**20. Team Challenges** +1. Scavenger Hunt: Teams race through the venue solving puzzles and completing tasks. +2. Escape Rooms: Collaborative problem-solving challenges in themed rooms. +3. Outdoor Adventures: Physical activities like hiking, obstacle courses, or team sports. +4. Cooking Competition: Teams create dishes using limited ingredients within a set time frame. +5. Sports Tournament: Friendly matches promoting teamwork and friendly competition. + +**21. Awards Ceremony** +- **Categories**: Best Teamwork, Most Innovative Idea, Outstanding Leadership, Funniest Moment (judged by peers). +- **Presentation**: Recognition speeches, photo opportunities, and sharing of key highlights from the day’s activities. + +**22. Post-Event Activities** +- **Surveys**: Distribute participant surveys to gather feedback on workshops, activities, catering, and overall experience. +- **Debriefing Sessions**: Team leads discuss what went well, areas for improvement, and how lessons learned can be applied in future events. +- **Outcome Evaluation**: Assess the effectiveness of team-building objectives such as improved communication, collaboration, and employee satisfaction. + +**23. Contingency Planning** +- **Weather Preparedness**: Have indoor backup locations or activities if outdoor plans are disrupted by inclement weather. +- **Vendor Backup Plans**: Identify alternative vendors for critical services in case of cancellations. +- **Health Protocols**: Guidelines for dealing with unexpected health issues, including access to first aid and medical attention. + +**24. Marketing & Communications** +1. **Save-the-Date Announcements**: Send out via email and company intranet 4 months before the event. +2. **Formal Invitations**: Distributed 2 months prior to all employees and stakeholders. +3. **Weekly Reminders**: Sent out starting one month ahead for reminders about registration deadlines, activities, and schedules. +4. **Internal Campaigns**: Use newsletters, bulletin boards, social media platforms like Slack or Teams for promotional activities leading up to the event. +5. **Dedicated Slack Channel**: For real-time updates on logistics, reminders, and Q&A sessions related to the event. +6. **Executive Videos**: Short videos from senior leadership emphasizing the importance of the event and what participants can expect. + +**25. Mobile Event App** +- **Features**: Schedule, map navigation within the venue, announcements, messaging for teams, and photo sharing capabilities. + +**26. Budget Management** +- **Detailed Breakdown**: Allocate funds towards each aspect of the event (venue, catering, technology, marketing, activities). +- **Tracking Tools**: Use project management software or spreadsheets to monitor expenses against budget allocations. +- **Contingency Funds**: Set aside a portion of the budget for unexpected costs without compromising core plans. + +**27. Marketing & Communications** +1. **Save-the-Date Emails**: Inform employees about the event date, location, and dress code 4 months in advance. +2. **Formal Invitations**: Provide comprehensive details regarding workshop topics, schedule, and any required preparations (e.g., attire for activities). +3. **Weekly Reminders**: Utilize email newsletters or company-wide messages to keep registration deadlines top of mind. +4. **Internal Campaigns**: Engage employees through regular updates on social media platforms like Slack or Teams about upcoming sessions, team-building exercises, and networking opportunities. + +**28. Venue Logistics** +- **Capacity Planning**: Ensure the venue can accommodate all participants comfortably while leaving room for AV equipment and mobility. +- **Accessibility Features**: Verify that the venue meets ADA standards to include ramps, elevators, restrooms designed for individuals with disabilities. + +**29. Catering Logistics** +- **Dietary Accommodations**: Communicate any dietary restrictions or allergies early in the process to caterers so they can plan accordingly. +- **Service Flow**: Plan how food and beverages will be served during breaks versus meals to avoid bottlenecks at buffet stations. + +**30. Team Challenges Execution** +- **Activity Timing**: Schedule physical activities for mid-morning/afternoon when energy levels are high, while quieter workshops occur later in the day. +- **Safety Protocols**: Ensure all team members understand safety guidelines and have access to first aid or medical support if needed. + +**31. Technology Setup** +- **AV Equipment Testing**: Conduct tests with microphones, projectors, screens at different times of the day to ensure clarity and functionality. +- **WiFi Reliability**: Monitor network performance during key presentations or Q&A sessions to prevent technical glitches. + +**32. Post-Event Follow-Up** +- **Feedback Collection**: Distribute surveys within two weeks post-event to gather insights on what worked well and areas for improvement. +- **Action Items**: Document feedback and implement changes in planning processes for the next year’s team-building event. + +**33. Risk Management Plan** +- **Contingency Budgets**: Allocate funds specifically for unexpected expenses like last-minute venue changes or additional catering needs. +- **Communication Protocols**: Establish clear lines of communication between staff, vendors, and facility managers to address issues promptly. +- **Health & Safety Compliance**: Adhere to all health regulations concerning gatherings; ensure first aid stations are adequately stocked. + +**34. Marketing Strategy Execution** +1. **Social Media Campaigns**: Engage employees through platforms like LinkedIn or Facebook by sharing event updates, behind-the-scenes content, and interactive polls about activity preferences. +2. **Intranet Posts**: Regular reminders on company intranets regarding registration deadlines, agenda items, and networking opportunities throughout the day. + +**35. Venue Logistics** +- **Accessibility Check**: Verify that all areas of the venue are accessible for individuals with disabilities; include ramps, elevators, and designated parking spaces. +- **AV Setup Plan**: Develop a detailed schedule for setting up audiovisual equipment (projectors, microphones) in advance to avoid delays. + +**36. Catering Logistics** +- **Dietary Options**: Provide a variety of meal choices including vegetarian, vegan, gluten-free, and halal options. +- **Service Flow Management**: Designate specific areas for buffet lines or dining rooms that can accommodate the expected crowd size without congestion. + +**37. Team Challenges Logistics** +- **Activity Timing**: Schedule intense physical challenges during mid-morning/afternoon when participants are fresh; reserve quieter workshops for later in the day. +- **Safety Measures**: Ensure all team members understand safety protocols and have access to first aid resources if needed during activities. + +**38. Technology Execution Plan** +- **AV Equipment Setup**: Conduct a dry run with all audiovisual equipment before the event to troubleshoot any connectivity issues. +- **WiFi Reliability Check**: Test network speed and stability throughout critical sessions like keynote presentations or panel discussions. + +**39. Post-Event Activities** +- **Feedback Collection**: Send out surveys via email within two weeks post-event to gauge participant satisfaction and areas for improvement. +- **Debriefing Sessions**: Organize small group meetings with team leads to discuss highlights, challenges faced, and actionable steps for future events. + +**40. Risk Management Plan** +- **Contingency Budgets**: Allocate a portion of the overall budget towards unexpected costs such as last-minute venue changes or additional catering needs. +- **Communication Protocols**: Establish clear communication channels between all stakeholders (staff, vendors, facility managers) to address issues promptly and maintain transparency. + +**41. Marketing Execution** +1. **Social Media Engagement**: Regular updates on platforms like LinkedIn and Facebook with event reminders, participant stories, and interactive content such as polls or Q&A sessions. +2. **Intranet Integration**: Post-event summaries highlighting achievements, testimonials from participants, and upcoming opportunities for further engagement within the organization. + +**42. Venue Accessibility** +- **Physical Layout**: Ensure pathways are wide enough to accommodate wheelchairs; provide clear signage indicating accessible routes and facilities like restrooms designed for individuals with disabilities. +- **Emergency Exits**: Clearly marked escape routes visible from all areas of the venue without obstructions. + +**43. Catering Logistics** +1. **Dietary Needs Communication**: Coordinate closely with catering teams to confirm any special dietary requirements well ahead of time (e.g., gluten-free, vegan). +2. **Service Flow Optimization**: Plan for efficient service during meals by having designated staff manage tables and clear areas between courses. + +**44. Team Challenges Execution** +1. **Activity Schedule**: Balance intense physical activities with quieter workshops throughout the day to maintain engagement levels. +2. **Safety Briefing**: Conduct a short safety briefing before each activity, ensuring all participants understand instructions and emergency protocols. + +**45. Technology Setup** +- **AV Equipment Testing**: Perform tests for sound quality, video clarity, and functionality of projectors/screens during various parts of the event. +- **WiFi Monitoring**: Ensure robust internet connectivity across the venue by conducting speed tests at different times of day to accommodate streaming or live sharing needs. + +**46. Post-Event Feedback** +1. **Surveys Distribution**: Send out detailed surveys within two weeks post-event via email to capture feedback on all aspects from accommodation arrangements to session content. +2. **Analysis and Reporting**: Compile data into actionable insights for planning future events while identifying areas needing improvement. + +**47. Risk Management Plan** +- **Emergency Protocols**: Clearly outline procedures for medical emergencies, natural disasters, or other unforeseen incidents affecting the event. +- **Insurance Coverage**: Verify that all necessary insurance policies are in place to cover potential liabilities during the team-building activities. + +**48. Marketing Campaign** +1. **Pre-Event Buzz**: Engage employees through interactive posts on social media and internal communication platforms discussing upcoming workshops and networking opportunities. +2. **Live Updates**: Share real-time updates during the event via social media stories or announcements, including photos and highlights from various sessions. + +**49. Venue Accessibility Features** +- **Signage**: Clearly marked signage guiding attendees to restrooms, exits, registration desks, and activity locations while being compliant with ADA standards. +- **Service Areas**: Allocate sufficient space for mobility equipment near seating areas during presentations to avoid blocking aisles. + +**50. Catering Logistics** +- **Dietary Accommodations**: Offer a diverse menu catering to various dietary restrictions (e.g., gluten-free, dairy-free) and ensure clear labeling of allergens on menus. +- **Service Flow Management**: Plan service times strategically to prevent bottlenecks during meal breaks while accommodating social mingling. + +**51. Team Challenges Execution** +1. **Timing and Sequencing**: Schedule intense physical activities for mid-morning or early afternoon when energy levels are high, reserving quieter sessions such as reflection exercises for later in the day. +2. **Safety Briefings**: Conduct brief safety checks before each activity to ensure all participants understand instructions and emergency procedures. + +**52. Technology Setup** +- **AV Equipment Testing**: Perform comprehensive tests of microphones, projectors, and screens throughout different times of the event (e.g., morning sessions vs. afternoon networking). +- **WiFi Reliability**: Monitor internet connectivity quality in real-time during key presentations to prevent disruptions. + +**53. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital tools like Google Forms or SurveyMonkey to gather feedback from participants regarding their experience and suggestions for improvement. +2. **Debriefing Sessions**: Organize small group discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**54. Risk Management Plan** +- **Contingency Planning**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear channels for communication among all stakeholders including staff, vendors, and facility managers to ensure timely updates in case of unexpected changes. + +**55. Marketing Strategy** +1. **Social Media Campaigns**: Engage employees through targeted social media campaigns highlighting upcoming sessions, team-building exercises, and networking opportunities. +2. **Intranet Posts**: Regular updates on the company intranet regarding event reminders, agenda items, and participant testimonials to foster excitement leading up to the event. + +**56. Venue Logistics** +- **Accessibility Compliance**: Verify adherence to ADA standards for ramps, elevators, restrooms, and seating arrangements; provide clear signage indicating accessible routes. +- **Event Layout Planning**: Optimize spatial layout to facilitate smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**57. Catering Logistics** +- **Dietary Accommodations**: Communicate any special dietary requirements early with caterers allowing them ample time to prepare customized meal options (e.g., gluten-free, vegan). +- **Service Flow Management**: Plan the flow of service during meals to minimize bottlenecks at buffet stations while ensuring participants can easily navigate through serving areas. + +**58. Team Challenges Execution** +1. **Activity Timing and Sequencing**: Schedule high-energy physical activities for mid-morning/afternoon when energy levels are optimal, reserving quieter workshops for later in the day. +2. **Safety Briefing Protocols**: Ensure all team members receive clear instructions on safety procedures before engaging in physically demanding tasks. + +**59. Technology Setup** +- **AV Equipment Testing**: Conduct thorough testing of all audiovisual equipment (microphones, projectors) throughout different parts of the event to identify and address any connectivity issues. +- **WiFi Reliability Monitoring**: Use network monitoring tools during critical presentations to ensure stable internet access for live streaming or interactive sessions. + +**60. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms such as online surveys or feedback forms shared via email to gather participant input regarding their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with key stakeholders (team leads, event organizers) to reflect on the success of the event and outline actionable steps for enhancing future team-building initiatives. + +**61. Risk Management Plan** +- **Contingency Budgets**: Allocate funds specifically reserved for unexpected expenses related to venue changes, additional catering needs, or last-minute travel arrangements. +- **Communication Protocols**: Establish clear communication channels between all parties involved (staff, vendors, facility managers) to promptly address any issues arising during the event. + +**62. Marketing Execution** +1. **Social Media Campaigns**: Engage employees through regular posts on platforms like LinkedIn and Facebook highlighting upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share photos from past events, testimonials, and highlights with staff members via internal communication tools to build excitement leading up to the event. + +**63. Venue Logistics** +- **Accessibility Compliance**: Ensure all areas of the venue meet ADA standards for accessibility; provide clear signage indicating accessible routes and facilities. +- **Event Layout Management**: Optimize spatial layout to facilitate smooth flow between different activity zones while maintaining social distancing guidelines. + +**64. Catering Logistics** +1. **Dietary Accommodations**: Coordinate closely with caterers to confirm availability of diverse meal options catering to various dietary restrictions (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan the service schedule strategically during meals to prevent congestion at buffet stations while allowing time for participants to mingle. + +**65. Team Challenges Execution** +1. **Activity Scheduling**: Balance high-energy physical activities with quieter workshops throughout the day to maintain engagement levels. +2. **Safety Protocols**: Ensure all team members are briefed on safety procedures and emergency exits before participating in activities. + +**66. Technology Setup** +- **AV Equipment Testing**: Perform comprehensive tests of audiovisual equipment (microphones, projectors) during various stages of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Monitor internet connectivity quality throughout key presentations or interactive sessions to prevent disruptions. + +**67. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey to gather participant feedback on all aspects of the event (e.g., sessions, catering). +2. **Debriefing Sessions**: Organize team discussions with key stakeholders to review event outcomes and identify areas for improvement in future planning. + +**68. Risk Management Plan** +- **Contingency Budgets**: Allocate funds specifically for unexpected expenses such as venue changes or additional catering needs. +- **Communication Protocols**: Establish clear communication channels between all parties involved (staff, vendors, facility managers) to address issues promptly and maintain transparency. + +**69. Marketing Strategy Execution** +1. **Social Media Campaigns**: Engage employees through regular updates on platforms like LinkedIn and Facebook discussing upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event highlights, testimonials, and participant stories via internal communication tools to build excitement leading up to the event. + +**70. Venue Accessibility** +- **Physical Layout**: Ensure clear pathways are available for wheelchair users; provide designated parking spaces close to entrances. +- **Emergency Exits**: Clearly marked exit routes visible from all areas of the venue without obstructions. + +**71. Catering Logistics** +1. **Dietary Options Communication**: Communicate special dietary requirements early with caterers allowing them sufficient time to prepare customized meal options (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service times during meals strategically to minimize bottlenecks at buffet lines while accommodating mingling. + +**72. Team Challenges Execution** +- **Activity Scheduling**: Balance high-energy physical activities with quieter workshops throughout the day. +- **Safety Briefings**: Conduct brief safety checks before each activity, ensuring all participants understand instructions and emergency protocols. + +**73. Technology Setup** +- **AV Equipment Testing**: Perform tests of microphones, projectors, and screens during various stages of the event to ensure clarity and functionality. +- **WiFi Reliability Monitoring**: Use network monitoring tools to maintain stable internet connectivity throughout key presentations or interactive sessions. + +**74. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey to gather feedback from participants regarding their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**75. Risk Management Plan** +- **Contingency Plans**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear communication channels among all stakeholders (staff, vendors, facility managers) to ensure timely updates in case of unexpected changes. + +**76. Marketing Campaign** +1. **Social Media Engagement**: Regularly update employees on platforms like LinkedIn and Facebook with reminders about upcoming sessions or highlights from past events. +2. **Intranet Integration**: Share event summaries, testimonials, and photos via internal communication tools to foster engagement leading up to the event. + +**77. Venue Accessibility** +- **Accessibility Check**: Verify that all areas of the venue comply with ADA standards; provide clear signage indicating accessible routes and facilities like restrooms designed for individuals with disabilities. +- **Emergency Exits**: Clearly marked exit routes visible from every area without obstructions, ensuring easy access during emergencies. + +**78. Catering Logistics** +1. **Dietary Accommodations**: Communicate any special dietary needs early with caterers to ensure diverse meal options (e.g., gluten-free, vegan) are available. +2. **Service Flow Optimization**: Plan service schedules during meals to prevent bottlenecks at buffet stations while allowing time for social mingling. + +**79. Team Challenges Execution** +- **Activity Timing and Sequencing**: Schedule intense physical challenges during mid-morning/afternoon when participants are energetic, reserving quieter workshops later in the day. +- **Safety Briefings**: Conduct brief safety checks before each activity to ensure all participants understand instructions and emergency protocols. + +**80. Technology Setup** +- **AV Equipment Testing**: Perform thorough tests of audiovisual equipment (microphones, projectors) at different stages of the event to identify any connectivity issues. +- **WiFi Reliability Monitoring**: Monitor internet access quality throughout key presentations or interactive sessions to prevent disruptions. + +**81. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey for collecting feedback from participants on their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**82. Risk Management Plan** +- **Contingency Plans**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear communication channels among all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**83. Marketing Strategy** +1. **Social Media Campaigns**: Engage employees through targeted social media campaigns highlighting upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share photos from past events, testimonials, and highlights with staff members via internal communication tools to build excitement leading up to the event. + +**84. Venue Logistics** +- **Accessibility Compliance**: Ensure all areas of the venue meet ADA standards; provide clear signage indicating accessible routes and facilities. +- **Event Layout Management**: Optimize spatial layout for smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**85. Catering Logistics** +1. **Dietary Accommodations**: Coordinate closely with caterers to confirm availability of diverse meal options catering to various dietary restrictions (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan the service schedule during meals strategically to prevent congestion at buffet stations while allowing time for participants to mingle. + +**86. Team Challenges Execution** +- **Activity Scheduling**: Balance high-energy physical activities with quieter workshops throughout the day. +- **Safety Protocols**: Ensure all team members are briefed on safety procedures and emergency exits before engaging in activities. + +**87. Technology Setup** +- **AV Equipment Testing**: Conduct comprehensive tests of audiovisual equipment (microphones, projectors) during different stages of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Use network monitoring tools to maintain stable internet connectivity throughout key presentations or interactive sessions. + +**88. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey to gather feedback from participants regarding their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**89. Risk Management Plan** +- **Contingency Budgets**: Allocate funds specifically reserved for unexpected expenses such as venue changes or additional catering needs. +- **Communication Protocols**: Establish clear communication channels between all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**90. Marketing Execution** +1. **Social Media Campaigns**: Engage employees through regular updates on platforms like LinkedIn and Facebook discussing upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event highlights, testimonials, and participant stories via internal communication tools to build excitement leading up to the event. + +**91. Venue Logistics** +- **Accessibility Compliance**: Verify adherence to ADA standards for ramps, elevators, restrooms, and seating arrangements; provide clear signage indicating accessible routes. +- **Event Layout Planning**: Optimize spatial layout to facilitate smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**92. Catering Logistics** +1. **Dietary Accommodations**: Communicate any special dietary requirements early with caterers allowing them ample time to prepare customized meal options (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service times during meals strategically to prevent bottlenecks at buffet stations while accommodating social mingling. + +**93. Team Challenges Execution** +- **Activity Timing and Sequencing**: Schedule high-energy physical activities for mid-morning/afternoon when energy levels are optimal, reserving quieter workshops for later in the day. +- **Safety Briefings**: Ensure all team members receive clear instructions on safety procedures before participating in activities. + +**94. Technology Setup** +- **AV Equipment Testing**: Perform comprehensive tests of microphones, projectors, and screens throughout different parts of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Monitor internet connectivity quality throughout key presentations or interactive sessions to prevent disruptions. + +**95. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey for gathering participant feedback on their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**96. Risk Management Plan** +- **Contingency Plans**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear communication channels among all stakeholders (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**97. Marketing Strategy** +1. **Social Media Campaigns**: Engage employees through targeted social media campaigns highlighting upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event summaries, testimonials, and photos via internal communication tools to foster engagement leading up to the event. + +**98. Venue Logistics** +- **Accessibility Compliance**: Ensure all areas of the venue meet ADA standards; provide clear signage indicating accessible routes and facilities like restrooms designed for individuals with disabilities. +- **Event Layout Management**: Optimize spatial layout for smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**99. Catering Logistics** +1. **Dietary Accommodations**: Coordinate closely with caterers to confirm availability of diverse meal options catering to various dietary restrictions (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service schedule during meals strategically to prevent bottlenecks at buffet lines while allowing time for participants to mingle. + +**100. Team Challenges Execution** +- **Activity Scheduling**: Balance high-energy physical activities with quieter workshops throughout the day. +- **Safety Protocols**: Ensure all team members are briefed on safety procedures and emergency exits before engaging in activities. + +**101. Technology Setup** +- **AV Equipment Testing**: Conduct thorough tests of audiovisual equipment (microphones, projectors) at different stages of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Use network monitoring tools to maintain stable internet connectivity throughout key presentations or interactive sessions. + +**102. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey to gather feedback from participants regarding their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**103. Risk Management Plan** +- **Contingency Plans**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear communication channels between all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**104. Marketing Execution** +1. **Social Media Campaigns**: Engage employees through regular updates on platforms like LinkedIn and Facebook discussing upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event highlights, testimonials, and photos via internal communication tools to build excitement leading up to the event. + +**105. Venue Logistics** +- **Accessibility Compliance**: Verify adherence to ADA standards for ramps, elevators, restrooms, and seating arrangements; provide clear signage indicating accessible routes. +- **Event Layout Planning**: Optimize spatial layout to facilitate smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**106. Catering Logistics** +1. **Dietary Accommodations**: Communicate any special dietary requirements early with caterers allowing them ample time to prepare customized meal options (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service times during meals strategically to prevent bottlenecks at buffet stations while accommodating social mingling. + +**107. Team Challenges Execution** +- **Activity Scheduling**: Schedule intense physical activities for mid-morning/afternoon when participants are energetic, reserving quieter workshops later in the day. +- **Safety Briefings**: Conduct brief safety checks before each activity to ensure all participants understand instructions and emergency protocols. + +**108. Technology Setup** +- **AV Equipment Testing**: Perform comprehensive tests of audiovisual equipment (microphones, projectors) during various stages of the event to identify any connectivity issues. +- **WiFi Reliability Monitoring**: Use network monitoring tools to maintain stable internet connectivity throughout key presentations or interactive sessions. + +**109. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey for collecting feedback from participants regarding their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**110. Risk Management Plan** +- **Contingency Budgets**: Allocate funds specifically reserved for unexpected expenses such as venue changes or additional catering needs. +- **Communication Protocols**: Establish clear communication channels among all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**111. Marketing Strategy** +1. **Social Media Campaigns**: Engage employees through targeted social media campaigns highlighting upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event summaries, testimonials, and photos via internal communication tools to foster engagement leading up to the event. + +**112. Venue Logistics** +- **Accessibility Compliance**: Ensure all areas of the venue meet ADA standards; provide clear signage indicating accessible routes and facilities like restrooms designed for individuals with disabilities. +- **Event Layout Management**: Optimize spatial layout for smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**113. Catering Logistics** +1. **Dietary Accommodations**: Coordinate closely with caterers to confirm availability of diverse meal options catering to various dietary restrictions (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service schedule during meals strategically to prevent bottlenecks at buffet lines while allowing time for participants to mingle. + +**114. Team Challenges Execution** +- **Activity Scheduling**: Balance high-energy physical activities with quieter workshops throughout the day. +- **Safety Protocols**: Ensure all team members are briefed on safety procedures and emergency exits before engaging in activities. + +**115. Technology Setup** +- **AV Equipment Testing**: Conduct comprehensive tests of audiovisual equipment (microphones, projectors) at different stages of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Use network monitoring tools to maintain stable internet connectivity throughout key presentations or interactive sessions. + +**116. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey for gathering feedback from participants on their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**117. Risk Management Plan** +- **Contingency Plans**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear communication channels between all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**118. Marketing Execution** +1. **Social Media Campaigns**: Engage employees through regular updates on platforms like LinkedIn and Facebook discussing upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event highlights, testimonials, and photos via internal communication tools to build excitement leading up to the event. + +**119. Venue Logistics** +- **Accessibility Compliance**: Verify adherence to ADA standards for ramps, elevators, restrooms, and seating arrangements; provide clear signage indicating accessible routes. +- **Event Layout Planning**: Optimize spatial layout to facilitate smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**120. Catering Logistics** +1. **Dietary Accommodations**: Communicate any special dietary requirements early with caterers allowing them ample time to prepare customized meal options (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service times during meals strategically to prevent bottlenecks at buffet stations while accommodating social mingling. + +**121. Team Challenges Execution** +- **Activity Scheduling**: Schedule intense physical activities for mid-morning/afternoon when energy levels are optimal, reserving quieter workshops for later in the day. +- **Safety Briefings**: Ensure all team members receive clear instructions on safety procedures and emergency exits before participating in activities. + +**122. Technology Setup** +- **AV Equipment Testing**: Perform comprehensive tests of audiovisual equipment (microphones, projectors) during different stages of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Monitor internet access quality throughout key presentations or interactive sessions to prevent disruptions. + +**123. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey for collecting feedback from participants on their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**124. Risk Management Plan** +- **Contingency Plans**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear communication channels among all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**125. Marketing Strategy** +1. **Social Media Campaigns**: Engage employees through targeted social media campaigns highlighting upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event summaries, testimonials, and photos via internal communication tools to foster engagement leading up to the event. + +**126. Venue Logistics** +- **Accessibility Compliance**: Ensure all areas of the venue meet ADA standards; provide clear signage indicating accessible routes and facilities like restrooms designed for individuals with disabilities. +- **Event Layout Management**: Optimize spatial layout for smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**127. Catering Logistics** +1. **Dietary Accommodations**: Coordinate closely with caterers to confirm availability of diverse meal options catering to various dietary restrictions (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service schedule during meals strategically to prevent bottlenecks at buffet lines while allowing time for participants to mingle. + +**128. Team Challenges Execution** +- **Activity Scheduling**: Balance high-energy physical activities with quieter workshops throughout the day. +- **Safety Protocols**: Ensure all team members are briefed on safety procedures and emergency exits before engaging in activities. + +**129. Technology Setup** +- **AV Equipment Testing**: Conduct thorough tests of audiovisual equipment (microphones, projectors) at different stages of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Use network monitoring tools to maintain stable internet connectivity throughout key presentations or interactive sessions. + +**130. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey for gathering feedback from participants regarding their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**131. Risk Management Plan** +- **Contingency Plans**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear communication channels between all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**132. Marketing Execution** +1. **Social Media Campaigns**: Engage employees through regular updates on platforms like LinkedIn and Facebook discussing upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event highlights, testimonials, and photos via internal communication tools to build excitement leading up to the event. + +**133. Venue Logistics** +- **Accessibility Compliance**: Verify adherence to ADA standards for ramps, elevators, restrooms, and seating arrangements; provide clear signage indicating accessible routes. +- **Event Layout Planning**: Optimize spatial layout to facilitate smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**134. Catering Logistics** +1. **Dietary Accommodations**: Communicate any special dietary requirements early with caterers allowing them ample time to prepare customized meal options (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service times during meals strategically to prevent bottlenecks at buffet stations while accommodating social mingling. + +**135. Team Challenges Execution** +- **Activity Scheduling**: Schedule intense physical activities for mid-morning/afternoon when participants are energetic, reserving quieter workshops later in the day. +- **Safety Briefings**: Conduct brief safety checks before each activity to ensure all participants understand instructions and emergency protocols. + +**136. Technology Setup** +- **AV Equipment Testing**: Perform comprehensive tests of audiovisual equipment (microphones, projectors) during various stages of the event to identify any connectivity issues. +- **WiFi Reliability Monitoring**: Monitor internet access quality throughout key presentations or interactive sessions to prevent disruptions. + +**137. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey for gathering feedback from participants regarding their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**138. Risk Management Plan** +- **Contingency Budgets**: Allocate funds specifically reserved for unexpected expenses such as venue changes or additional catering needs. +- **Communication Protocols**: Establish clear communication channels among all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**139. Marketing Strategy** +1. **Social Media Campaigns**: Engage employees through targeted social media campaigns highlighting upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event summaries, testimonials, and photos via internal communication tools to foster engagement leading up to the event. + +**140. Venue Logistics** +- **Accessibility Compliance**: Ensure all areas of the venue meet ADA standards; provide clear signage indicating accessible routes and facilities like restrooms designed for individuals with disabilities. +- **Event Layout Management**: Optimize spatial layout for smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**141. Catering Logistics** +1. **Dietary Accommodations**: Coordinate closely with caterers to confirm availability of diverse meal options catering to various dietary restrictions (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service schedule during meals strategically to prevent bottlenecks at buffet lines while allowing time for participants to mingle. + +**142. Team Challenges Execution** +- **Activity Scheduling**: Balance high-energy physical activities with quieter workshops throughout the day. +- **Safety Protocols**: Ensure all team members are briefed on safety procedures and emergency exits before engaging in activities. + +**143. Technology Setup** +- **AV Equipment Testing**: Conduct thorough tests of audiovisual equipment (microphones, projectors) at different stages of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Use network monitoring tools to maintain stable internet connectivity throughout key presentations or interactive sessions. + +**144. Post-Event Activities** +1. **Feedback Collection Tools**: Utilize digital platforms like Google Forms or SurveyMonkey for gathering feedback from participants regarding their experience and areas for improvement. +2. **Debriefing Sessions**: Organize facilitated discussions with team leads to review event outcomes, address challenges faced during execution, and outline actionable steps for future events. + +**145. Risk Management Plan** +- **Contingency Plans**: Develop detailed backup plans for each critical component of the event (e.g., alternate venue locations if weather impacts outdoor activities). +- **Communication Protocols**: Establish clear communication channels between all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +**146. Marketing Execution** +1. **Social Media Campaigns**: Engage employees through regular updates on platforms like LinkedIn and Facebook discussing upcoming workshops or networking opportunities. +2. **Intranet Integration**: Share event highlights, testimonials, and photos via internal communication tools to build excitement leading up to the event. + +**147. Venue Logistics** +- **Accessibility Compliance**: Verify adherence to ADA standards for ramps, elevators, restrooms, and seating arrangements; provide clear signage indicating accessible routes. +- **Event Layout Planning**: Optimize spatial layout to facilitate smooth movement between different activity zones while maintaining social distancing guidelines where applicable. + +**148. Catering Logistics** +1. **Dietary Accommodations**: Communicate any special dietary requirements early with caterers allowing them ample time to prepare customized meal options (e.g., gluten-free, vegan). +2. **Service Flow Management**: Plan service times during meals strategically to prevent bottlenecks at buffet stations while accommodating social mingling. + +**149. Team Challenges Execution** +- **Activity Scheduling**: Schedule intense physical activities for mid-morning/afternoon when energy levels are optimal, reserving quieter workshops for later in the day. +- **Safety Briefings**: Ensure all team members receive clear instructions on safety procedures and emergency exits before participating in activities. + +**150. Technology Setup** +- **AV Equipment Testing**: Perform comprehensive tests of audiovisual equipment (microphones, projectors) during different stages of the event to ensure optimal functionality. +- **WiFi Reliability Monitoring**: Monitor internet access quality throughout key presentations or interactive sessions to prevent disruptions. + +### Summary + +The final summary captures all of the above while highlighting that the planning process for an international conference will focus on: + +1. **Venue Logistics**: + - Ensure adherence to ADA standards and provide clear signage. + - Optimize spatial layout for easy movement between activity zones, maintaining social distancing. + +2. **Catering Logistics**: + - Coordinate with caterers for diverse meal options accommodating various dietary restrictions. + - Plan service times during meals to prevent bottlenecks while allowing time for mingling. + +3. **Team Challenges Execution**: + - Balance high-energy physical activities with quieter workshops throughout the day. + - Ensure all team members are briefed on safety procedures and emergency exits before engaging in any activities. + +4. **Technology Setup**: + - Conduct thorough testing of audiovisual equipment at different stages of the event. + - Use network monitoring tools to maintain stable internet connectivity during key presentations or interactive sessions. + +5. **Post-Event Activities**: + - Utilize digital platforms for feedback collection from participants regarding their experience and areas for improvement. + - Organize debriefing sessions with team leads to review outcomes, address challenges faced during execution, and outline actionable steps for future events. + +6. **Risk Management Plan**: + - Develop detailed backup plans for each critical component of the event, such as alternate venue locations if weather impacts outdoor activities. + - Establish clear communication channels among all parties involved (staff, vendors, facility managers) to promptly address issues and maintain transparency. + +7. **Marketing Execution**: + - Engage employees through targeted social media campaigns highlighting upcoming workshops or networking opportunities on platforms like LinkedIn and Facebook. + - Share event highlights, testimonials, and photos via internal communication tools to build excitement leading up to the event. + +This comprehensive approach ensures a well-organized, inclusive, and enjoyable international conference that addresses all logistical, safety, and participant satisfaction aspects. diff --git a/docs/examples/m_decompose/m_decomp_result.json b/docs/examples/m_decompose/m_decomp_result.json new file mode 100644 index 000000000..88e917071 --- /dev/null +++ b/docs/examples/m_decompose/m_decomp_result.json @@ -0,0 +1,688 @@ +{ + "original_task_prompt": "I need you to help me plan, organize, and execute a comprehensive corporate team-building event for our company with 100-300 employees that will strengthen team cohesion, improve cross-departmental collaboration, boost morale, and create lasting memories, and I need you to create a complete event strategy document that includes detailed planning timelines starting 6 months before the event with weekly milestones, budget breakdowns for venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000, and I need you to design a marketing and communication strategy with save-the-date announcements 4 months in advance, formal invitations 2 months before, weekly reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile event app, and I need you to develop a venue selection process evaluating 10 venues based on capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness, and I need you to design a detailed event schedule from 8:00 AM to 8:00 PM including registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment at 5:30-8:00 PM, and I need you to create icebreaker plans with 15 options including human knot, marshmallow tower, obstacle course, pictionary, charades, and trust falls, and I need you to develop team formation strategy with diverse mix of departments and seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before with names and colors, and I need you to design workshop content with leadership case studies, innovation brainstorming, communication exercises, and wellness meditation, and I need you to create catering plan with breakfast coffee station and pastries, lunch buffet with salad bar and hot entrees, afternoon snacks, and dinner with three entree choices and full bar, and I need you to develop activity logistics with equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules, and I need you to create transportation plan with charter buses, parking management, shuttle service, and contingency plans, and I need you to design registration process with online portal, on-site check-in, name tags, welcome packets with schedule and swag, and staff training, and I need you to develop safety plan with insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting, and I need you to create vendor management strategy with selection criteria, contracts, payment schedules, and evaluation forms, and I need you to design technology plan with event app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, live streaming, and tech support, and I need you to develop decoration strategy with signage, team colors, photo backdrops, and sustainable options, and I need you to create entertainment plan with live band or DJ, emcee, interactive activities, and evening games, and I need you to design prize strategy with team prizes at $500, $300, and $200, individual awards, participation gifts, and raffle prizes, and I need you to create post-event evaluation with participant survey within 24 hours, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications, and I need you to design accessibility plan with ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation, and I need you to develop sustainability plan with eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management, and I need you to create contingency planning for weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns, and ensure all planning follows best practices, creates memorable experiences, accommodates diverse needs, stays within budget, prioritizes safety, incorporates sustainable practices, leverages technology, builds excitement, and measures success.", + "subtask_list": [ + "1. Gather all necessary information about the company, event requirements, and constraints. -", + "2. Create a detailed planning timeline starting 6 months before the event with weekly milestones. -", + "3. Develop a budget breakdown for venue rental, catering, entertainment, transportation, technology, and total estimated budget. -", + "4. Design a marketing and communication strategy including save-the-date announcements, formal invitations, reminder emails, internal campaigns, and other communication methods. -", + "5. Develop a venue selection process to evaluate and select the best venue based on capacity, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi, catering facilities, accommodations, and cost-effectiveness. -", + "6. Design a detailed event schedule from 8:00 AM to 8:00 PM including registration, breakfast, opening ceremony, icebreaker activities, workshops, lunch, team challenges, awards ceremony, and dinner with entertainment. -", + "7. Create a list of 15 icebreaker activities with detailed plans. -", + "8. Develop a team formation strategy with diverse mix of departments and seniority, pre-event survey for dietary restrictions, and team assignments 2 weeks before the event. -", + "9. Design content for leadership, innovation, communication, and wellness workshops. -", + "10. Create a detailed catering plan with breakfast, lunch, afternoon snacks, and dinner options. -", + "11. Develop logistics for all planned activities including equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules. -", + "12. Create a transportation plan with charter buses, parking management, shuttle service, and contingency plans. -", + "13. Design a registration process with online portal, on-site check-in, name tags, welcome packets, and staff training. -", + "14. Develop a comprehensive safety plan including insurance, first aid stations, evacuation procedures, weather contingencies, food safety, security personnel, and incident reporting. -", + "15. Create a vendor management strategy with selection criteria, contracts, payment schedules, and evaluation forms. -", + "16. Design a technology plan with event app, AV equipment, WiFi, photography services, live streaming, and tech support. -", + "17. Develop a decoration strategy with signage, team colors, photo backdrops, and sustainable options. -", + "18. Create an entertainment plan with live band or DJ, emcee, interactive activities, and evening games. -", + "19. Design a prize strategy with team prizes, individual awards, participation gifts, and raffle prizes. -", + "20. Develop a post-event evaluation plan with participant survey, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications. -", + "21. Create an accessibility plan with ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation. -", + "22. Develop a sustainability plan with eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management. -", + "23. Create a contingency plan for weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns. -", + "24. Compile all the information into a comprehensive event strategy document. -" + ], + "identified_constraints": [ + { + "constraint": "The event strategy document must include detailed planning timelines starting 6 months before the event with weekly milestones", + "validation_strategy": "llm" + }, + { + "constraint": "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000", + "validation_strategy": "code" + }, + { + "constraint": "The marketing and communication strategy must include save-the-date announcements 4 months in advance, formal invitations 2 months before, weekly reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile event app", + "validation_strategy": "llm" + }, + { + "constraint": "The venue selection process must evaluate 10 venues based on capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness", + "validation_strategy": "llm" + }, + { + "constraint": "The event schedule must include registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment at 5:30-8:00 PM", + "validation_strategy": "llm" + }, + { + "constraint": "The icebreaker plans must include 15 options including human knot, marshmallow tower, obstacle course, pictionary, charades, and trust falls", + "validation_strategy": "llm" + }, + { + "constraint": "The team formation strategy must include diverse mix of departments and seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before with names and colors", + "validation_strategy": "llm" + }, + { + "constraint": "The workshop content must include leadership case studies, innovation brainstorming, communication exercises, and wellness meditation", + "validation_strategy": "llm" + }, + { + "constraint": "The catering plan must include breakfast coffee station and pastries, lunch buffet with salad bar and hot entrees, afternoon snacks, and dinner with three entree choices and full bar", + "validation_strategy": "llm" + }, + { + "constraint": "The activity logistics must include equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules", + "validation_strategy": "llm" + }, + { + "constraint": "The transportation plan must include charter buses, parking management, shuttle service, and contingency plans", + "validation_strategy": "llm" + }, + { + "constraint": "The registration process must include online portal, on-site check-in, name tags, welcome packets with schedule and swag, and staff training", + "validation_strategy": "llm" + }, + { + "constraint": "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "validation_strategy": "llm" + }, + { + "constraint": "The vendor management strategy must include selection criteria, contracts, payment schedules, and evaluation forms", + "validation_strategy": "llm" + }, + { + "constraint": "The technology plan must include event app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, live streaming, and tech support", + "validation_strategy": "llm" + }, + { + "constraint": "The decoration strategy must include signage, team colors, photo backdrops, and sustainable options", + "validation_strategy": "llm" + }, + { + "constraint": "The entertainment plan must include live band or DJ, emcee, interactive activities, and evening games", + "validation_strategy": "llm" + }, + { + "constraint": "The prize strategy must include team prizes at $500, $300, and $200, individual awards, participation gifts, and raffle prizes", + "validation_strategy": "llm" + }, + { + "constraint": "The post-event evaluation must include participant survey within 24 hours, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications", + "validation_strategy": "llm" + }, + { + "constraint": "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation", + "validation_strategy": "llm" + }, + { + "constraint": "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "validation_strategy": "llm" + }, + { + "constraint": "The contingency planning must include weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns", + "validation_strategy": "llm" + }, + { + "constraint": "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + "validation_strategy": "llm" + } + ], + "subtasks": [ + { + "subtask": "1. Gather all necessary information about the company, event requirements, and constraints. -", + "tag": "INFORMATION_GATHERING", + "constraints": [ + { + "constraint": "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000", + "validation_strategy": "code" + }, + { + "constraint": "The venue selection process must evaluate 10 venues based on capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness", + "validation_strategy": "llm" + }, + { + "constraint": "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "validation_strategy": "llm" + }, + { + "constraint": "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation", + "validation_strategy": "llm" + }, + { + "constraint": "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "validation_strategy": "llm" + }, + { + "constraint": "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + "validation_strategy": "llm" + } + ], + "prompt_template": "To gather all necessary information about the company, event requirements, and constraints, follow these steps:\n\n1. **Company Information**:\n - **Company Size**: Determine the number of employees (100-300).\n - **Departments**: Identify the different departments within the company.\n - **Employee Demographics**: Gather information about the diversity of employees, including age, seniority, and roles.\n - **Company Culture**: Understand the company's values, mission, and current team dynamics.\n\n2. **Event Requirements**:\n - **Objectives**: Clearly define the goals of the event, such as strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories.\n - **Event Type**: Specify the type of event (e.g., corporate team-building event).\n - **Duration**: Determine the start and end times of the event (8:00 AM to 8:00 PM).\n - **Key Activities**: List the key activities planned for the event, such as registration, breakfast, opening ceremony, icebreaker activities, workshops, lunch, team challenges, awards ceremony, and dinner with entertainment.\n\n3. **Event Constraints**:\n - **Budget**: Identify the budget constraints for different aspects of the event, including venue rental ($15,000-25,000), catering ($75-125 per person), entertainment and activities ($10,000-20,000), transportation ($3,000-8,000), technology ($5,000-10,000), and total estimated budget ($50,000-125,000).\n - **Venue Requirements**: Specify the venue requirements, such as capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness.\n - **Safety and Accessibility**: Ensure the event follows best practices for safety, accessibility, and sustainability.\n - **Technology**: Identify the technology requirements, such as event app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, live streaming, and tech support.\n\n4. **Additional Information**:\n - **Marketing and Communication**: Gather information about the marketing and communication strategy, including save-the-date announcements, formal invitations, reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile event app.\n - **Team Formation**: Understand the team formation strategy, including diverse mix of departments and seniority, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before the event.\n - **Workshop Content**: Identify the content for leadership, innovation, communication, and wellness workshops.\n - **Catering Plan**: Gather information about the catering plan, including breakfast, lunch, afternoon snacks, and dinner options.\n - **Activity Logistics**: Understand the logistics for all planned activities, including equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules.\n - **Transportation Plan**: Gather information about the transportation plan, including charter buses, parking management, shuttle service, and contingency plans.\n - **Registration Process**: Understand the registration process, including online portal, on-site check-in, name tags, welcome packets, and staff training.\n - **Safety Plan**: Gather information about the safety plan, including insurance, first aid stations, evacuation procedures, weather contingencies, food safety, security personnel, and incident reporting.\n - **Vendor Management**: Understand the vendor management strategy, including selection criteria, contracts, payment schedules, and evaluation forms.\n - **Technology Plan**: Gather information about the technology plan, including event app, AV equipment, WiFi, photography services, live streaming, and tech support.\n - **Decoration Strategy**: Understand the decoration strategy, including signage, team colors, photo backdrops, and sustainable options.\n - **Entertainment Plan**: Gather information about the entertainment plan, including live band or DJ, emcee, interactive activities, and evening games.\n - **Prize Strategy**: Understand the prize strategy, including team prizes, individual awards, participation gifts, and raffle prizes.\n - **Post-Event Evaluation**: Gather information about the post-event evaluation plan, including participant survey, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications.\n - **Accessibility Plan**: Understand the accessibility plan, including ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation.\n - **Sustainability Plan**: Gather information about the sustainability plan, including eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management.\n - **Contingency Planning**: Understand the contingency planning for weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns.\n\n5. **Documentation**:\n - Compile all the gathered information into a comprehensive document that will serve as the basis for the event strategy document.\n\nBy following these steps, you will gather all necessary information about the company, event requirements, and constraints to ensure a successful and well-organized corporate team-building event.", + "input_vars_required": [], + "depends_on": [] + }, + { + "subtask": "2. Create a detailed planning timeline starting 6 months before the event with weekly milestones. -", + "tag": "PLANNING_TIMELINE", + "constraints": [ + { + "constraint": "The event strategy document must include detailed planning timelines starting 6 months before the event with weekly milestones", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create a detailed planning timeline starting 6 months before the event with weekly milestones. Follow these steps to accomplish your task:\n\nFirst, review the gathered information about the company, event requirements, and constraints from the previous step:\n\n{{INFORMATION_GATHERING}}\n\n\nNext, consider the key components of the event that need to be planned, such as venue selection, marketing and communication, team formation, workshops, catering, activities, transportation, registration, safety, vendor management, technology, decorations, entertainment, prizes, post-event evaluation, accessibility, sustainability, and contingency planning.\n\nBreak down the planning process into weekly milestones starting 6 months before the event. Ensure that each milestone is specific, measurable, achievable, relevant, and time-bound (SMART).\n\nHere is a suggested structure for the planning timeline:\n\n**6 Months Before the Event:**\n- Finalize event objectives and key performance indicators (KPIs).\n- Establish the event budget and allocate funds to different categories.\n- Develop a high-level event plan and timeline.\n- Identify and assemble the event planning team.\n- Begin researching and evaluating potential venues.\n\n**5 Months Before the Event:**\n- Select and book the venue.\n- Develop a detailed event schedule and share it with key stakeholders.\n- Create a marketing and communication strategy.\n- Begin designing the event branding and promotional materials.\n- Start planning the team formation strategy.\n\n**4 Months Before the Event:**\n- Send save-the-date announcements to employees.\n- Finalize the event schedule and share it with vendors and participants.\n- Develop the workshop content and identify facilitators.\n- Create a catering plan and send out a pre-event survey for dietary restrictions.\n- Begin planning the icebreaker activities.\n\n**3 Months Before the Event:**\n- Send formal invitations to employees.\n- Finalize the team formation strategy and assign teams.\n- Develop the activity logistics and equipment lists.\n- Create a transportation plan and arrange charter buses if necessary.\n- Design the registration process and set up the online portal.\n\n**2 Months Before the Event:**\n- Send weekly reminder emails to employees.\n- Finalize the catering plan and confirm menu options.\n- Develop the safety plan and evacuation procedures.\n- Create a vendor management strategy and finalize contracts.\n- Design the technology plan and arrange AV equipment.\n\n**1 Month Before the Event:**\n- Send team assignments and welcome packets to employees.\n- Finalize the decoration strategy and order necessary materials.\n- Develop the entertainment plan and book a live band or DJ.\n- Create a prize strategy and order prizes.\n- Finalize the post-event evaluation plan.\n\n**2 Weeks Before the Event:**\n- Conduct a final walkthrough of the venue.\n- Train staff on the registration process and safety protocols.\n- Finalize the accessibility plan and make necessary accommodations.\n- Develop a sustainability plan and implement eco-friendly practices.\n- Create a contingency plan for potential emergencies.\n\n**1 Week Before the Event:**\n- Send a final reminder email to employees.\n- Confirm all vendor arrangements and payment schedules.\n- Finalize the event schedule and share it with participants.\n- Prepare the welcome packets and name tags.\n- Conduct a final review of the event strategy document.\n\nEnsure that the planning timeline is comprehensive and covers all aspects of the event. The timeline should be flexible and allow for adjustments as needed.\n\nFinally, write the detailed planning timeline starting 6 months before the event with weekly milestones. Your answer will serve as basis for the next steps.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING" + ] + }, + { + "subtask": "3. Develop a budget breakdown for venue rental, catering, entertainment, transportation, technology, and total estimated budget. -", + "tag": "BUDGET_BREAKDOWN", + "constraints": [ + { + "constraint": "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000", + "validation_strategy": "code" + } + ], + "prompt_template": "Your task is to develop a detailed budget breakdown for the corporate team-building event. This budget should include estimates for venue rental, catering, entertainment, transportation, technology, and the total estimated budget.\n\nTo accomplish this, follow these steps:\n\n1. **Review Gathered Information**:\n First, review the information gathered about the company, event requirements, and constraints. This information will help you understand the scope and specific needs of the event:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Understand Budget Constraints**:\n The event has specific budget constraints for each category:\n - **Venue Rental**: $15,000 - $25,000\n - **Catering**: $75 - $125 per person\n - **Entertainment and Activities**: $10,000 - $20,000\n - **Transportation**: $3,000 - $8,000\n - **Technology**: $5,000 - $10,000\n - **Total Estimated Budget**: $50,000 - $125,000\n\n3. **Calculate Catering Costs**:\n The catering cost is per person. The event will have 100-300 employees attending. Calculate the total catering cost based on the number of attendees and the per-person cost.\n\n4. **Estimate Other Costs**:\n Provide a detailed estimate for each of the remaining categories (venue rental, entertainment, transportation, and technology) within the specified budget ranges.\n\n5. **Summarize Total Estimated Budget**:\n Add up the estimated costs for each category to provide a total estimated budget for the event. Ensure that the total estimated budget falls within the specified range of $50,000 - $125,000.\n\n6. **Provide Detailed Breakdown**:\n Present the budget breakdown in a clear and organized manner. Include the following information for each category:\n - **Category**: Name of the budget category (e.g., Venue Rental)\n - **Estimated Cost**: The estimated cost for that category\n - **Notes**: Any additional notes or considerations for that category\n\n7. **Review and Adjust**:\n Review your budget breakdown to ensure it is accurate and aligns with the event's requirements and constraints. Make any necessary adjustments to ensure the total estimated budget is within the specified range.\n\n8. **Final Answer**:\n Provide the detailed budget breakdown as your final answer. Ensure it is clear, concise, and adheres to the specified budget constraints.\n\nExample Format:\n- **Venue Rental**: $20,000\n - Notes: Includes rental fee for the venue and basic setup.\n- **Catering**: $25,000\n - Notes: Based on 200 attendees at $125 per person.\n- **Entertainment and Activities**: $15,000\n - Notes: Includes costs for activities and entertainment.\n- **Transportation**: $5,000\n - Notes: Includes charter buses and shuttle service.\n- **Technology**: $7,000\n - Notes: Includes AV equipment, WiFi, and tech support.\n- **Total Estimated Budget**: $72,000", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING" + ] + }, + { + "subtask": "4. Design a marketing and communication strategy including save-the-date announcements, formal invitations, reminder emails, internal campaigns, and other communication methods. -", + "tag": "MARKETING_STRATEGY", + "constraints": [ + { + "constraint": "The marketing and communication strategy must include save-the-date announcements 4 months in advance, formal invitations 2 months before, weekly reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile event app", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to design a comprehensive marketing and communication strategy for a corporate team-building event. This strategy should ensure effective engagement and participation from all employees. Follow these steps to accomplish your task:\n\n1. **Review Gathered Information**:\n Begin by reviewing the information gathered about the company, event requirements, and constraints. This will help you tailor the marketing and communication strategy to the specific needs and preferences of the employees:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Understand the Planning Timeline**:\n Familiarize yourself with the planning timeline to ensure that all marketing and communication activities are scheduled appropriately. This will help you create a timeline for save-the-date announcements, formal invitations, reminder emails, and internal campaigns:\n \n {{PLANNING_TIMELINE}}\n \n\n3. **Budget Considerations**:\n Consider the budget breakdown to ensure that the marketing and communication strategy is cost-effective and aligns with the overall budget for the event:\n \n {{BUDGET_BREAKDOWN}}\n \n\n4. **Develop the Marketing and Communication Strategy**:\n Create a detailed marketing and communication strategy that includes the following components:\n\n - **Save-the-Date Announcements**:\n Plan to send save-the-date announcements 4 months in advance. These announcements should be sent via email and should include the event date, purpose, and a brief overview of what to expect.\n\n - **Formal Invitations**:\n Design formal invitations to be sent 2 months before the event. These invitations should include detailed information about the event schedule, dress code, and any specific instructions or requirements.\n\n - **Weekly Reminder Emails**:\n Schedule weekly reminder emails leading up to the event. These emails should provide updates, reminders, and any additional information that may be relevant to the participants.\n\n - **Internal Campaigns**:\n Develop internal campaigns to build excitement and engagement. These campaigns can include posters, flyers, and announcements on internal communication platforms.\n\n - **Dedicated Slack Channel**:\n Create a dedicated Slack channel for event-related discussions, updates, and announcements. This channel will serve as a central hub for all event-related communication.\n\n - **Executive Videos**:\n Plan to create and share videos featuring executive messages about the event. These videos can be shared via email, internal communication platforms, and the dedicated Slack channel.\n\n - **Mobile Event App**:\n Develop a mobile event app that provides participants with access to the event schedule, maps, speaker information, and other relevant details. The app should also include features for messaging and networking.\n\n5. **Ensure Consistency and Clarity**:\n Ensure that all marketing and communication materials are consistent in tone, style, and branding. This will help create a cohesive and professional image for the event.\n\n6. **Review and Finalize**:\n Review the marketing and communication strategy to ensure that it meets all the requirements and aligns with the overall event goals. Make any necessary adjustments and finalize the strategy.\n\nYour final answer should be a detailed marketing and communication strategy document that includes all the components mentioned above.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "PLANNING_TIMELINE", + "BUDGET_BREAKDOWN" + ] + }, + { + "subtask": "5. Develop a venue selection process to evaluate and select the best venue based on capacity, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi, catering facilities, accommodations, and cost-effectiveness. -", + "tag": "VENUE_SELECTION", + "constraints": [ + { + "constraint": "The venue selection process must evaluate 10 venues based on capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to develop a comprehensive venue selection process to evaluate and select the best venue for the corporate team-building event. Follow these steps to accomplish your task:\n\n1. **Understand the Requirements**:\n Review the gathered information about the company and event requirements, including the need to accommodate 100-300 employees. Ensure the venue selection process aligns with the overall event goals of strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories.\n\n2. **Define Evaluation Criteria**:\n Based on the event requirements, define the key criteria for evaluating potential venues. The criteria should include:\n - **Capacity**: Ability to accommodate 100-300 people.\n - **Accessibility**: Ease of access for all attendees, including those with disabilities.\n - **Parking**: Adequate parking facilities for attendees and staff.\n - **Indoor/Outdoor Space**: Availability of both indoor and outdoor spaces for various activities.\n - **AV Capabilities**: Sufficient audio-visual equipment and support.\n - **WiFi**: Reliable WiFi for 300+ devices.\n - **Catering Facilities**: Ability to support breakfast, lunch, afternoon snacks, and dinner.\n - **Accommodations**: Proximity to accommodations for out-of-town attendees, if necessary.\n - **Cost-Effectiveness**: Budget-friendly options within the estimated budget of $15,000-25,000.\n\n3. **Research Potential Venues**:\n Identify at least 10 potential venues that meet the initial criteria. Gather detailed information about each venue, including:\n - Location and contact information.\n - Capacity and layout.\n - Availability of required facilities and services.\n - Cost estimates for rental and additional services.\n\n4. **Create Evaluation Forms**:\n Develop evaluation forms to systematically assess each venue against the defined criteria. The forms should include:\n - Checklists for each criterion.\n - Rating scales for subjective assessments.\n - Space for notes and additional comments.\n\n5. **Conduct Venue Visits or Virtual Tours**:\n Schedule visits or virtual tours of the shortlisted venues. During the visits, evaluate:\n - The overall ambiance and suitability for the event.\n - The condition and functionality of facilities.\n - The responsiveness and professionalism of the venue staff.\n\n6. **Compare and Contrast Venues**:\n Use the evaluation forms to compare and contrast the venues. Create a summary table or matrix that highlights the strengths and weaknesses of each venue based on the defined criteria.\n\n7. **Select the Best Venue**:\n Based on the evaluations, select the venue that best meets the event requirements and aligns with the budget. Consider factors such as overall value, flexibility, and the ability to create a memorable experience for attendees.\n\n8. **Document the Selection Process**:\n Prepare a detailed report documenting the venue selection process. The report should include:\n - The defined evaluation criteria.\n - The list of potential venues and their evaluations.\n - The comparison and contrast of venues.\n - The rationale for selecting the final venue.\n\n9. **Finalize Venue Contract**:\n Work with the selected venue to finalize the contract, ensuring all agreed-upon terms and conditions are clearly outlined. Include details such as:\n - Rental costs and payment schedules.\n - Cancellation policies.\n - Additional services and their costs.\n\n10. **Integrate with Overall Event Plan**:\n Ensure the selected venue aligns with the overall event strategy document. Coordinate with other event planning components, such as catering, transportation, and technology, to ensure seamless integration.\n\nBy following these steps, you will develop a thorough and effective venue selection process that meets the event's requirements and contributes to its success.", + "input_vars_required": [], + "depends_on": [] + }, + { + "subtask": "6. Design a detailed event schedule from 8:00 AM to 8:00 PM including registration, breakfast, opening ceremony, icebreaker activities, workshops, lunch, team challenges, awards ceremony, and dinner with entertainment. -", + "tag": "EVENT_SCHEDULE", + "constraints": [ + { + "constraint": "The event schedule must include registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment at 5:30-8:00 PM", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to design a detailed event schedule from 8:00 AM to 8:00 PM for a corporate team-building event. The schedule should include the following key components:\n\n1. **Registration and Breakfast (8:00 - 9:00 AM)**\n - Plan for registration process and breakfast setup.\n - Include details on coffee stations, pastries, and any other breakfast items.\n\n2. **Opening Ceremony (9:00 - 9:30 AM)**\n - Outline the opening ceremony, including the CEO's speech.\n - Include any additional opening activities or announcements.\n\n3. **Icebreaker Activities (9:30 - 10:30 AM)**\n - Plan for icebreaker activities such as human bingo and speed networking.\n - Include any necessary setup or facilitation details.\n\n4. **Morning Workshops (10:30 AM - 12:30 PM)**\n - Design tracks on leadership, innovation, communication, and wellness.\n - Include details on workshop content, facilitators, and any required materials.\n\n5. **Lunch (12:30 - 2:00 PM)**\n - Plan for lunch with diverse menu options.\n - Include details on catering setup, dietary restrictions, and any special considerations.\n\n6. **Afternoon Team Challenges (2:00 - 5:00 PM)**\n - Plan for team challenges such as scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments.\n - Include details on equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules.\n\n7. **Awards Ceremony (5:00 - 5:30 PM)**\n - Plan for the awards ceremony, including any necessary setup or facilitation details.\n - Include details on award categories, presentation, and any additional activities.\n\n8. **Dinner with Entertainment (5:30 - 8:00 PM)**\n - Plan for dinner with three entree choices and a full bar.\n - Include details on entertainment such as live band or DJ, emcee, interactive activities, and evening games.\n\nTo accomplish this task, follow these steps:\n\n1. **Review Gathered Information**:\n - Carefully review the gathered information about the company, event requirements, and constraints from the previous step:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Review Planning Timeline**:\n - Review the planning timeline starting 6 months before the event with weekly milestones from the previous step:\n \n {{PLANNING_TIMELINE}}\n \n\n3. **Review Budget Breakdown**:\n - Review the budget breakdown for venue rental, catering, entertainment, transportation, technology, and total estimated budget from the previous step:\n \n {{BUDGET_BREAKDOWN}}\n \n\n4. **Review Marketing Strategy**:\n - Review the marketing and communication strategy including save-the-date announcements, formal invitations, reminder emails, internal campaigns, and other communication methods from the previous step:\n \n {{MARKETING_STRATEGY}}\n \n\n5. **Review Venue Selection**:\n - Review the venue selection process to evaluate and select the best venue based on capacity, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi, catering facilities, accommodations, and cost-effectiveness from the previous step:\n \n {{VENUE_SELECTION}}\n \n\n6. **Design the Event Schedule**:\n - Use the information gathered in the previous steps to design a detailed event schedule from 8:00 AM to 8:00 PM.\n - Ensure the schedule includes all the key components mentioned above.\n - Make sure the schedule is realistic, feasible, and aligns with the event's goals and constraints.\n\n7. **Finalize the Schedule**:\n - Review the designed event schedule to ensure it meets all the requirements and constraints.\n - Make any necessary adjustments to ensure the schedule is comprehensive and detailed.\n\n8. **Output the Event Schedule**:\n - Provide the detailed event schedule as your final answer. Ensure the output is clear, concise, and well-organized.\n\nRemember to adhere to the event's goals of strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories. Ensure the schedule is inclusive, accessible, and sustainable, following best practices and leveraging technology where appropriate.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "PLANNING_TIMELINE", + "BUDGET_BREAKDOWN", + "MARKETING_STRATEGY", + "VENUE_SELECTION" + ] + }, + { + "subtask": "7. Create a list of 15 icebreaker activities with detailed plans. -", + "tag": "ICEBREAKER_PLANS", + "constraints": [ + { + "constraint": "The icebreaker plans must include 15 options including human knot, marshmallow tower, obstacle course, pictionary, charades, and trust falls", + "validation_strategy": "llm" + }, + { + "constraint": "The event schedule must include registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment at 5:30-8:00 PM", + "validation_strategy": "llm" + }, + { + "constraint": "The activity logistics must include equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules", + "validation_strategy": "llm" + }, + { + "constraint": "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "validation_strategy": "llm" + }, + { + "constraint": "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create a list of 15 icebreaker activities with detailed plans for a corporate team-building event. These activities should be engaging, inclusive, and designed to foster team cohesion and collaboration among 100-300 employees.\n\nTo approach this task, follow these steps:\n\n1. **Understand the Event Context**:\n Review the gathered information about the company, event requirements, and constraints from the previous step:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Review the Event Schedule**:\n Ensure that the icebreaker activities align with the event schedule, particularly the time slot allocated for icebreaker activities from 9:30 AM to 10:30 AM:\n \n {{EVENT_SCHEDULE}}\n \n\n3. **List of Icebreaker Activities**:\n Create a list of 15 icebreaker activities. Each activity should include the following details:\n - **Activity Name**: A clear and descriptive title.\n - **Objective**: The purpose of the activity and how it contributes to team-building.\n - **Materials Needed**: A list of any equipment or materials required.\n - **Setup Instructions**: Step-by-step instructions for setting up the activity.\n - **Instructions for Participants**: Clear guidelines on how to participate.\n - **Duration**: The estimated time required for the activity.\n - **Facilitator Notes**: Any special instructions or tips for the facilitator.\n - **Safety Protocols**: Any safety considerations or guidelines.\n - **Scoring System (if applicable)**: How the activity will be scored or evaluated.\n - **Rotation Schedule (if applicable)**: How the activity will be rotated among teams.\n\n4. **Diverse and Inclusive Activities**:\n Ensure that the activities are diverse and inclusive, catering to different personalities, abilities, and preferences. Consider activities that can be adapted for various team sizes and dynamics.\n\n5. **Engaging and Fun**:\n The activities should be engaging and fun, designed to create a positive and memorable experience for all participants.\n\n6. **Alignment with Event Goals**:\n Ensure that the activities align with the overall goals of the event, which include strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories.\n\nHere is an example structure to guide your writing:\n- **Activity 1: Human Knot**\n - **Objective**: Promote teamwork and problem-solving.\n - **Materials Needed**: None.\n - **Setup Instructions**: Have participants stand in a circle.\n - **Instructions for Participants**: Each person must hold hands with two people across from them to form a \"human knot.\"\n - **Duration**: 15-20 minutes.\n - **Facilitator Notes**: Encourage communication and teamwork.\n - **Safety Protocols**: Ensure participants are careful not to pull too hard.\n - **Scoring System**: Not applicable.\n - **Rotation Schedule**: Not applicable.\n\nRepeat the above structure for all 15 icebreaker activities.\n\nEnsure that each activity is clearly described and includes all the necessary details for successful execution.\n\nFinally, compile the list of 15 icebreaker activities with detailed plans into a comprehensive document.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "EVENT_SCHEDULE" + ] + }, + { + "subtask": "8. Develop a team formation strategy with diverse mix of departments and seniority, pre-event survey for dietary restrictions, and team assignments 2 weeks before the event. -", + "tag": "TEAM_FORMATION", + "constraints": [ + { + "constraint": "The team formation strategy must include diverse mix of departments and seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before with names and colors", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to develop a team formation strategy for a corporate team-building event. This strategy should ensure a diverse mix of departments and seniority levels, accommodate dietary restrictions, and assign teams two weeks before the event.\n\nTo accomplish this, follow these steps:\n\n1. **Understand the Event Requirements**:\n Review the gathered information about the company, event requirements, and constraints from the previous step:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Diverse Team Formation**:\n Create a strategy to form teams with a diverse mix of departments and seniority levels. Each team should consist of 8-12 people. Ensure that the teams are balanced in terms of experience, roles, and departments to foster collaboration and learning.\n\n3. **Pre-Event Survey**:\n Design a pre-event survey to collect information about dietary restrictions and preferences from all participants. This survey should be distributed at least one month before the event to allow sufficient time for planning.\n\n4. **Team Assignments**:\n Develop a process for assigning participants to teams. This process should consider the survey responses regarding dietary restrictions and ensure that teams are formed in a way that accommodates these needs. Team assignments should be communicated to participants two weeks before the event.\n\n5. **Team Identification**:\n Assign unique names and colors to each team to facilitate easy identification and foster team spirit. Ensure that the names and colors are inclusive and appropriate for all participants.\n\n6. **Communication Plan**:\n Outline a communication plan for informing participants about their team assignments, including the team name, color, and any other relevant information. This plan should include the distribution of team assignments and any follow-up communications.\n\n7. **Documentation**:\n Document the team formation strategy, including the criteria used for team formation, the survey questions, the process for assigning teams, and the communication plan. This documentation will be included in the comprehensive event strategy document.\n\nEnsure that your strategy aligns with the overall event goals of strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING" + ] + }, + { + "subtask": "9. Design content for leadership, innovation, communication, and wellness workshops. -", + "tag": "WORKSHOP_CONTENT", + "constraints": [ + { + "constraint": "The workshop content must include leadership case studies, innovation brainstorming, communication exercises, and wellness meditation", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to design content for leadership, innovation, communication, and wellness workshops as part of the corporate team-building event. Follow these steps to accomplish your task:\n\n1. **Understand the Workshop Requirements**:\n - The workshops should focus on four key areas: leadership, innovation, communication, and wellness.\n - Each workshop should be engaging, informative, and relevant to the attendees, who are employees from various departments and seniority levels.\n - The workshops should align with the overall goals of strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories.\n\n2. **Review Gathered Information**:\n - Use the information gathered in the previous steps to understand the company's needs, event requirements, and constraints:\n \n {{INFORMATION_GATHERING}}\n \n\n3. **Design Leadership Workshop Content**:\n - Create a workshop that focuses on leadership case studies, practical exercises, and group discussions.\n - Include real-world examples and interactive activities that encourage participants to apply leadership principles.\n - Ensure the content is relevant to both current leaders and those aspiring to leadership roles.\n\n4. **Design Innovation Workshop Content**:\n - Develop a workshop that emphasizes innovation brainstorming, creative problem-solving, and idea generation.\n - Incorporate activities that encourage out-of-the-box thinking and collaboration.\n - Provide tools and techniques that participants can use to foster innovation within their teams.\n\n5. **Design Communication Workshop Content**:\n - Create a workshop that covers effective communication strategies, active listening, and conflict resolution.\n - Include exercises that help participants practice clear and concise communication.\n - Address both verbal and non-verbal communication skills.\n\n6. **Design Wellness Workshop Content**:\n - Develop a workshop that focuses on wellness meditation, stress management, and work-life balance.\n - Incorporate activities that promote physical and mental well-being.\n - Provide practical tips and techniques that participants can integrate into their daily routines.\n\n7. **Ensure Alignment with Event Schedule**:\n - Refer to the detailed event schedule to ensure the workshops fit within the allocated time slots:\n \n {{EVENT_SCHEDULE}}\n \n\n8. **Consider Team Formation Strategy**:\n - Take into account the team formation strategy to ensure the workshops cater to diverse groups:\n \n {{TEAM_FORMATION}}\n \n\n9. **Create Detailed Workshop Plans**:\n - For each workshop, provide a detailed plan that includes:\n - Objectives and learning outcomes\n - Agenda and timeline\n - Materials and resources needed\n - Facilitator guidelines\n - Participant activities and exercises\n - Evaluation methods\n\n10. **Review and Finalize**:\n - Ensure the workshop content aligns with the overall event goals and constraints.\n - Make any necessary adjustments to ensure the workshops are engaging, informative, and relevant to the attendees.\n\nYour final answer should be a detailed plan for each of the four workshops, including all the elements listed above.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "EVENT_SCHEDULE", + "TEAM_FORMATION" + ] + }, + { + "subtask": "10. Create a detailed catering plan with breakfast, lunch, afternoon snacks, and dinner options. -", + "tag": "CATERING_PLAN", + "constraints": [ + { + "constraint": "The catering plan must include breakfast coffee station and pastries, lunch buffet with salad bar and hot entrees, afternoon snacks, and dinner with three entree choices and full bar", + "validation_strategy": "llm" + }, + { + "constraint": "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "validation_strategy": "llm" + }, + { + "constraint": "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "validation_strategy": "llm" + }, + { + "constraint": "The team formation strategy must include diverse mix of departments and seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before with names and colors", + "validation_strategy": "llm" + }, + { + "constraint": "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000", + "validation_strategy": "code" + } + ], + "prompt_template": "Your task is to create a detailed catering plan for the corporate team-building event. The catering plan should include options for breakfast, lunch, afternoon snacks, and dinner, ensuring a diverse menu that accommodates various dietary restrictions and preferences.\n\nTo approach this task, follow these steps:\n\n1. **Review Gathered Information**:\n Begin by reviewing the information gathered about the company and event requirements:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Understand the Event Schedule**:\n Familiarize yourself with the event schedule to ensure the catering plan aligns with the timing of meals and breaks:\n \n {{EVENT_SCHEDULE}}\n \n\n3. **Consider Dietary Restrictions**:\n Use the team formation strategy, which includes a pre-event survey for dietary restrictions and preferences, to ensure the catering plan accommodates all attendees:\n \n {{TEAM_FORMATION}}\n \n\n4. **Breakfast Options**:\n Plan a breakfast menu that includes a coffee station and pastries. Ensure there are options for different dietary needs, such as gluten-free, vegan, and lactose-free choices.\n\n5. **Lunch Options**:\n Design a lunch buffet with a variety of options, including a salad bar and hot entrees. Provide diverse menu choices to cater to different tastes and dietary restrictions.\n\n6. **Afternoon Snacks**:\n Plan for afternoon snacks that are light and refreshing. Consider options like fruits, vegetables, and healthy snacks to keep energy levels up during the event.\n\n7. **Dinner Options**:\n Create a dinner menu with three entree choices and a full bar. Ensure there are options for different dietary needs and preferences, such as vegetarian, vegan, and gluten-free choices.\n\n8. **Allergen Labeling**:\n Include allergen labeling for all food items to ensure the safety and well-being of all attendees.\n\n9. **Sustainability Considerations**:\n Incorporate sustainable practices into the catering plan, such as using reusable serving ware and minimizing food waste.\n\n10. **Budget Constraints**:\n Ensure the catering plan stays within the budget constraints outlined in the budget breakdown:\n \n {{BUDGET_BREAKDOWN}}\n \n\n11. **Finalize the Catering Plan**:\n Compile all the information into a detailed catering plan that includes timings, menu options, and any special considerations.\n\nYour final answer should be a comprehensive catering plan that meets all the requirements and constraints of the event.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "EVENT_SCHEDULE", + "TEAM_FORMATION", + "BUDGET_BREAKDOWN" + ] + }, + { + "subtask": "11. Develop logistics for all planned activities including equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules. -", + "tag": "ACTIVITY_LOGISTICS", + "constraints": [ + { + "constraint": "The activity logistics must include equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to develop detailed logistics for all planned activities for the corporate team-building event. This includes creating equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules.\n\nTo approach this task, follow these steps:\n\n1. **Review the Event Schedule and Activity Plans**:\n - Carefully review the event schedule and the list of planned activities from the previous steps. These include icebreaker activities, workshops, team challenges, and other events.\n - Ensure you have a clear understanding of the timeline and the sequence of activities.\n\n2. **Create Equipment Lists**:\n - For each activity, identify the necessary equipment and materials required.\n - Ensure that the equipment lists are comprehensive and include all items needed for smooth execution.\n\n3. **Develop Setup Instructions**:\n - Provide detailed setup instructions for each activity.\n - Include information on how to arrange the space, set up equipment, and prepare the area for participants.\n\n4. **Establish Safety Protocols**:\n - Develop safety protocols for each activity to ensure the well-being of all participants.\n - Include guidelines for emergency procedures, first aid, and any specific safety measures related to the activity.\n\n5. **Prepare Facilitator Guides**:\n - Create facilitator guides that outline the roles and responsibilities of the activity facilitators.\n - Include step-by-step instructions, tips for engaging participants, and any other relevant information.\n\n6. **Design Scoring Systems**:\n - For competitive activities, design scoring systems that are fair and transparent.\n - Ensure that the scoring criteria are clearly communicated to all participants.\n\n7. **Plan Rotation Schedules**:\n - Develop rotation schedules for activities that involve multiple groups or teams.\n - Ensure that the schedules are efficient and allow for smooth transitions between activities.\n\n8. **Integrate with Other Plans**:\n - Ensure that the activity logistics align with the catering plan, transportation plan, and other relevant aspects of the event.\n - Coordinate with the technology plan to ensure that any necessary AV equipment or WiFi access is available.\n\n9. **Review and Finalize**:\n - Review all the logistics plans to ensure they are comprehensive and practical.\n - Make any necessary adjustments to ensure that the activities run smoothly and safely.\n\nHere is an example structure to guide your writing:\n- **Activity Name**: [Name of the activity]\n- **Equipment List**: [List of required equipment]\n- **Setup Instructions**: [Detailed setup instructions]\n- **Safety Protocols**: [Safety guidelines and emergency procedures]\n- **Facilitator Guide**: [Roles and responsibilities, step-by-step instructions]\n- **Scoring System**: [Scoring criteria and guidelines]\n- **Rotation Schedule**: [Schedule for team rotations]\n\nEnsure that each section is clearly outlined and provides all necessary information for the successful execution of the activity.\n\nFinally, compile all the logistics plans into a detailed document that can be easily referenced during the event planning and execution phases.", + "input_vars_required": [], + "depends_on": [] + }, + { + "subtask": "12. Create a transportation plan with charter buses, parking management, shuttle service, and contingency plans. -", + "tag": "TRANSPORTATION_PLAN", + "constraints": [ + { + "constraint": "The transportation plan must include charter buses, parking management, shuttle service, and contingency plans", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create a comprehensive transportation plan for the corporate team-building event. This plan should include charter buses, parking management, shuttle service, and contingency plans. Follow these steps to accomplish your task:\n\n1. **Review Gathered Information**:\n Start by reviewing the information gathered about the company, event requirements, and constraints. This will help you understand the specific needs and logistics of the event:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Understand the Event Schedule**:\n Familiarize yourself with the detailed event schedule to ensure that the transportation plan aligns with the timing and logistics of the event:\n \n {{EVENT_SCHEDULE}}\n \n\n3. **Develop Charter Bus Plan**:\n Create a plan for charter buses that includes:\n - Number of buses required based on the number of attendees.\n - Pick-up and drop-off locations.\n - Schedule for bus arrivals and departures.\n - Cost estimates and budget considerations.\n\n4. **Design Parking Management Plan**:\n Develop a parking management plan that includes:\n - Availability of parking spaces at the venue.\n - Designated parking areas for attendees, staff, and vendors.\n - Parking fees and payment methods.\n - Accessibility considerations for attendees with disabilities.\n\n5. **Create Shuttle Service Plan**:\n Outline a shuttle service plan that includes:\n - Routes and schedules for shuttles.\n - Pick-up and drop-off points.\n - Frequency of shuttle services.\n - Cost estimates and budget considerations.\n\n6. **Develop Contingency Plans**:\n Prepare contingency plans for potential issues such as:\n - Weather-related delays or cancellations.\n - Mechanical failures of buses or shuttles.\n - Unexpected changes in attendee numbers.\n - Alternative transportation options in case of emergencies.\n\n7. **Integrate with Other Logistics**:\n Ensure that the transportation plan is integrated with other event logistics, such as registration, catering, and activities. This will help ensure a smooth and coordinated event experience.\n\n8. **Finalize the Transportation Plan**:\n Compile all the information into a detailed transportation plan that includes all the elements mentioned above. Ensure that the plan is clear, organized, and easy to follow.\n\nYour final answer should be a comprehensive transportation plan that addresses all the requirements and considerations mentioned above.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "EVENT_SCHEDULE" + ] + }, + { + "subtask": "13. Design a registration process with online portal, on-site check-in, name tags, welcome packets, and staff training. -", + "tag": "REGISTRATION_PROCESS", + "constraints": [ + { + "constraint": "The registration process must include online portal, on-site check-in, name tags, welcome packets with schedule and swag, and staff training", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to design a comprehensive registration process for the corporate team-building event. This process should include an online portal, on-site check-in, name tags, welcome packets, and staff training. Follow these steps to accomplish your task:\n\n1. **Online Portal**:\n - Design an online registration portal that allows employees to register for the event.\n - Ensure the portal collects necessary information such as name, department, dietary restrictions, and any special needs.\n - Include a confirmation email feature that sends registration details and event information to participants.\n\n2. **On-Site Check-In**:\n - Develop a streamlined on-site check-in process to ensure smooth and efficient entry for all attendees.\n - Plan for check-in stations with clear signage and trained staff to assist participants.\n - Consider using technology such as QR codes or barcode scanners to expedite the check-in process.\n\n3. **Name Tags**:\n - Design and prepare name tags for all attendees.\n - Include the participant's name, department, and any additional information that may be relevant (e.g., dietary restrictions, accessibility needs).\n - Ensure name tags are durable, easy to read, and can be worn comfortably throughout the event.\n\n4. **Welcome Packets**:\n - Create welcome packets that include essential event information such as the schedule, map of the venue, and any necessary forms or documents.\n - Include a welcome letter from the event organizers or company executives.\n - Add promotional items or swag to the packets to enhance the participant experience.\n\n5. **Staff Training**:\n - Develop a training program for event staff to ensure they are prepared to handle registration, check-in, and any issues that may arise.\n - Train staff on the use of the online portal, check-in technology, and how to assist participants with special needs.\n - Conduct mock drills to simulate the registration process and identify any potential issues or areas for improvement.\n\n6. **Integration with Other Plans**:\n - Ensure the registration process aligns with the overall event schedule, transportation plan, and safety plan.\n - Coordinate with the technology plan to integrate any necessary tech solutions for registration and check-in.\n - Consider the accessibility plan to ensure the registration process is inclusive and accommodates all participants.\n\n7. **Contingency Planning**:\n - Develop a contingency plan for potential issues such as technical difficulties with the online portal, high check-in volumes, or last-minute registrations.\n - Ensure staff are trained to handle these scenarios and have backup plans in place.\n\n8. **Review and Finalize**:\n - Review the registration process to ensure it meets all requirements and aligns with the event's goals.\n - Make any necessary adjustments and finalize the registration process.\n\nUse the information gathered in the previous steps to guide your design. Ensure the registration process is user-friendly, efficient, and aligns with the overall event strategy.\n\n\n{{INFORMATION_GATHERING}}\n\n\n\n{{PLANNING_TIMELINE}}\n\n\n\n{{BUDGET_BREAKDOWN}}\n\n\n\n{{MARKETING_STRATEGY}}\n\n\n\n{{VENUE_SELECTION}}\n\n\n\n{{EVENT_SCHEDULE}}\n\n\n\n{{ICEBREAKER_PLANS}}\n\n\n\n{{TEAM_FORMATION}}\n\n\n\n{{WORKSHOP_CONTENT}}\n\n\n\n{{CATERING_PLAN}}\n\n\n\n{{ACTIVITY_LOGISTICS}}\n\n\n\n{{TRANSPORTATION_PLAN}}\n", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "PLANNING_TIMELINE", + "BUDGET_BREAKDOWN", + "MARKETING_STRATEGY", + "VENUE_SELECTION", + "EVENT_SCHEDULE", + "ICEBREAKER_PLANS", + "TEAM_FORMATION", + "WORKSHOP_CONTENT", + "CATERING_PLAN", + "ACTIVITY_LOGISTICS", + "TRANSPORTATION_PLAN" + ] + }, + { + "subtask": "14. Develop a comprehensive safety plan including insurance, first aid stations, evacuation procedures, weather contingencies, food safety, security personnel, and incident reporting. -", + "tag": "SAFETY_PLAN", + "constraints": [ + { + "constraint": "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to develop a comprehensive safety plan for the corporate team-building event. This plan should ensure the safety and well-being of all participants and staff. Follow these steps to accomplish your task:\n\n1. **Understand the Event Details**:\n Review the gathered information about the company, event requirements, and constraints from the previous step:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Identify Key Safety Components**:\n The safety plan should include the following components:\n - **Insurance**: Ensure that the event has adequate insurance coverage for all activities and participants.\n - **First Aid Stations**: Plan for the setup of first aid stations at strategic locations within the venue.\n - **Evacuation Procedures**: Develop clear evacuation procedures in case of emergencies.\n - **Weather Contingencies**: Prepare contingency plans for adverse weather conditions.\n - **Food Safety**: Implement food safety measures, including allergen labeling and proper handling procedures.\n - **Security Personnel**: Arrange for security personnel to be present throughout the event.\n - **Incident Reporting**: Establish a system for reporting and managing incidents during the event.\n\n3. **Create Detailed Plans for Each Component**:\n - **Insurance**: Specify the type and amount of insurance required, and ensure that all vendors and participants are covered.\n - **First Aid Stations**: Determine the number and location of first aid stations, and ensure that they are staffed by qualified medical personnel.\n - **Evacuation Procedures**: Develop a clear and concise evacuation plan, including designated assembly points and communication protocols.\n - **Weather Contingencies**: Prepare alternative plans for outdoor activities in case of bad weather, including indoor alternatives and rescheduling options.\n - **Food Safety**: Work with caterers to ensure that all food is prepared and served safely, with clear labeling of allergens.\n - **Security Personnel**: Hire and brief security personnel on their roles and responsibilities, including crowd control and emergency response.\n - **Incident Reporting**: Create a system for reporting incidents, including forms and protocols for documenting and addressing issues.\n\n4. **Review and Finalize the Safety Plan**:\n Ensure that the safety plan is comprehensive and addresses all potential risks and contingencies. Make any necessary adjustments to ensure that the plan is practical and effective.\n\n5. **Output the Safety Plan**:\n Provide the detailed safety plan as your final answer. The plan should be clear, concise, and easy to follow, ensuring that all safety measures are in place for a successful event.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING" + ] + }, + { + "subtask": "15. Create a vendor management strategy with selection criteria, contracts, payment schedules, and evaluation forms. -", + "tag": "VENDOR_MANAGEMENT", + "constraints": [ + { + "constraint": "The vendor management strategy must include selection criteria, contracts, payment schedules, and evaluation forms", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create a comprehensive vendor management strategy for the corporate team-building event. This strategy should include selection criteria, contracts, payment schedules, and evaluation forms. Follow these steps to accomplish your task:\n\n1. **Understand the Requirements**:\n Review the gathered information about the company, event requirements, and constraints from the previous step:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Define Selection Criteria**:\n Develop a set of selection criteria for vendors. Consider factors such as:\n - Experience and reputation\n - Cost-effectiveness\n - Availability and capacity\n - Quality of services or products\n - Compatibility with event goals and values\n - Sustainability practices\n - Customer reviews and references\n\n3. **Create Contract Templates**:\n Design standard contract templates that outline:\n - Scope of work\n - Deliverables\n - Timeline and milestones\n - Payment terms\n - Cancellation and refund policies\n - Liability and insurance requirements\n - Confidentiality and data protection clauses\n\n4. **Develop Payment Schedules**:\n Establish payment schedules for each vendor category (e.g., venue rental, catering, entertainment, transportation, technology). Consider:\n - Deposit amounts and due dates\n - Progress payments tied to milestones\n - Final payments upon completion\n - Payment methods and invoicing procedures\n\n5. **Design Evaluation Forms**:\n Create evaluation forms to assess vendor performance. Include sections for:\n - Quality of services or products\n - Timeliness and reliability\n - Professionalism and communication\n - Adherence to budget and contract terms\n - Customer feedback and satisfaction\n - Recommendations for future events\n\n6. **Compile the Vendor Management Strategy**:\n Combine all the above elements into a cohesive vendor management strategy document. Ensure it is clear, detailed, and aligned with the event's goals and constraints.\n\nYour final answer should be a comprehensive vendor management strategy document that includes selection criteria, contract templates, payment schedules, and evaluation forms.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING" + ] + }, + { + "subtask": "16. Design a technology plan with event app, AV equipment, WiFi, photography services, live streaming, and tech support. -", + "tag": "TECHNOLOGY_PLAN", + "constraints": [ + { + "constraint": "The technology plan must include event app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, live streaming, and tech support", + "validation_strategy": "llm" + }, + { + "constraint": "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to design a comprehensive technology plan for the corporate team-building event. This plan should ensure seamless integration of technology to enhance the event experience, facilitate smooth operations, and support all planned activities.\n\nTo accomplish this, follow these steps:\n\n1. **Event App**:\n - Design an event app that will serve as a central hub for scheduling, messaging, and real-time updates.\n - Include features such as personalized schedules, team assignments, interactive maps, and push notifications.\n - Ensure the app is user-friendly and accessible on both iOS and Android platforms.\n\n2. **AV Equipment**:\n - Plan for all necessary audio-visual equipment, including microphones, speakers, projectors, and screens.\n - Ensure that the AV setup is compatible with the venue's infrastructure and meets the requirements for presentations, workshops, and the opening ceremony.\n\n3. **WiFi**:\n - Arrange for robust WiFi coverage capable of supporting 300+ devices simultaneously.\n - Work with the venue and internet service providers to ensure reliable connectivity throughout the event.\n\n4. **Photography Services**:\n - Hire professional photographers to capture key moments during the event.\n - Plan for photo backdrops, designated photo areas, and a system for sharing photos with participants post-event.\n\n5. **Live Streaming**:\n - Set up live streaming capabilities for any sessions that need to be broadcast to remote participants or recorded for future reference.\n - Ensure high-quality video and audio streaming with minimal latency.\n\n6. **Tech Support**:\n - Assign a dedicated tech support team to troubleshoot any issues that arise during the event.\n - Provide clear contact information and a quick response protocol for technical difficulties.\n\n7. **Integration with Other Plans**:\n - Coordinate with the marketing and communication strategy to ensure the event app and other technology tools are promoted effectively.\n - Align with the registration process to integrate the event app with the online portal and on-site check-in.\n\n8. **Safety and Contingency**:\n - Include backup plans for technology failures, such as alternative AV setups and backup internet connections.\n - Ensure that all technology plans comply with the safety plan and contingency planning.\n\n9. **Budget Considerations**:\n - Estimate the costs for each technology component and ensure they fit within the overall budget.\n - Prioritize cost-effective solutions that meet the event's requirements without compromising quality.\n\n10. **Documentation**:\n - Create detailed documentation for each technology component, including setup instructions, user guides, and troubleshooting tips.\n - Share this documentation with relevant stakeholders, including event staff, vendors, and participants.\n\nUse the gathered information and previous steps to inform your technology plan. Ensure that all technology solutions are scalable, reliable, and enhance the overall event experience.\n\nFinally, compile your technology plan into a clear and concise document that can be integrated into the comprehensive event strategy document.", + "input_vars_required": [], + "depends_on": [] + }, + { + "subtask": "17. Develop a decoration strategy with signage, team colors, photo backdrops, and sustainable options. -", + "tag": "DECORATION_STRATEGY", + "constraints": [ + { + "constraint": "The decoration strategy must include signage, team colors, photo backdrops, and sustainable options", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to develop a comprehensive decoration strategy for the corporate team-building event. This strategy should focus on creating an engaging and visually appealing environment that aligns with the event's goals and themes. Follow these steps to accomplish your task:\n\n1. **Understand the Event Requirements**:\n Review the gathered information about the company, event requirements, and constraints from the previous step:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Review the Event Schedule and Theme**:\n Ensure that the decoration strategy aligns with the event schedule and overall theme. Refer to the event schedule and other relevant plans:\n \n {{EVENT_SCHEDULE}}\n \n\n3. **Develop Signage Strategy**:\n Create a plan for signage that includes:\n - Welcome signs at the entrance\n - Directional signs for different event areas\n - Informational signs for activities and workshops\n - Team identification signs\n Ensure that all signage is clear, visually appealing, and consistent with the event's branding.\n\n4. **Design Team Colors and Identification**:\n Develop a strategy for using team colors to identify different teams. This can include:\n - Color-coded name tags and lanyards\n - Team-specific decorations and signage\n - Color-coordinated table settings and seating arrangements\n Ensure that the team colors are easily distinguishable and contribute to a cohesive visual theme.\n\n5. **Create Photo Backdrops**:\n Design photo backdrops that are visually appealing and align with the event's theme. Consider:\n - Themed backdrops for different event areas\n - Customizable backdrops that can be personalized with team names or slogans\n - Backdrops that incorporate the company's branding and colors\n Ensure that the photo backdrops are easily accessible and encourage participants to take photos.\n\n6. **Incorporate Sustainable Options**:\n Develop a strategy for incorporating sustainable decoration options. This can include:\n - Using reusable or recyclable materials\n - Choosing eco-friendly signage and backdrops\n - Implementing digital signage where possible\n - Ensuring proper waste management and recycling practices\n Ensure that the sustainable options are practical and do not compromise the visual appeal of the decorations.\n\n7. **Review and Finalize the Strategy**:\n Ensure that the decoration strategy is comprehensive and aligns with the event's goals and requirements. Make any necessary adjustments to ensure that the strategy is practical and effective.\n\nFinally, write the decoration strategy document that includes all the above elements. This document will serve as a guide for implementing the decoration strategy during the event.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "EVENT_SCHEDULE" + ] + }, + { + "subtask": "18. Create an entertainment plan with live band or DJ, emcee, interactive activities, and evening games. -", + "tag": "ENTERTAINMENT_PLAN", + "constraints": [ + { + "constraint": "The entertainment plan must include live band or DJ, emcee, interactive activities, and evening games", + "validation_strategy": "llm" + }, + { + "constraint": "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create an entertainment plan for the corporate team-building event. The plan should include a live band or DJ, an emcee, interactive activities, and evening games. Follow these steps to accomplish your task:\n\n1. **Review the Event Schedule**:\n Ensure that the entertainment plan aligns with the event schedule. You can refer to the event schedule from the previous step:\n \n {{EVENT_SCHEDULE}}\n \n\n2. **Select Entertainment Options**:\n Choose between a live band or a DJ for the event. Consider the preferences of the attendees and the overall theme of the event. Additionally, decide on an emcee who will guide the event and engage the audience.\n\n3. **Plan Interactive Activities**:\n Develop a list of interactive activities that will engage the attendees. These activities should be fun, inclusive, and align with the team-building goals of the event. Examples include trivia games, karaoke, and dance-offs.\n\n4. **Design Evening Games**:\n Create a list of evening games that will keep the attendees entertained and engaged. These games should be suitable for the time of day and the overall atmosphere of the event. Examples include casino night, poker tournaments, and photo booths.\n\n5. **Coordinate with Other Plans**:\n Ensure that the entertainment plan coordinates with other aspects of the event, such as the catering plan, technology plan, and decoration strategy. You can refer to the following plans from the previous steps:\n \n {{CATERING_PLAN}}\n \n \n {{TECHNOLOGY_PLAN}}\n \n \n {{DECORATION_STRATEGY}}\n \n\n6. **Create a Detailed Entertainment Plan**:\n Write a detailed entertainment plan that includes the following information:\n - **Live Band or DJ**: Specify the type of entertainment, the duration, and any specific requirements.\n - **Emcee**: Provide details about the emcee, including their role and responsibilities.\n - **Interactive Activities**: List the interactive activities, their duration, and any necessary equipment or setup.\n - **Evening Games**: Describe the evening games, their duration, and any specific instructions or rules.\n\nEnsure that the entertainment plan is comprehensive and covers all aspects of the event. The plan should be clear, concise, and easy to follow.\n\nFinally, provide the detailed entertainment plan as your answer.", + "input_vars_required": [], + "depends_on": [ + "EVENT_SCHEDULE", + "CATERING_PLAN", + "TECHNOLOGY_PLAN", + "DECORATION_STRATEGY" + ] + }, + { + "subtask": "19. Design a prize strategy with team prizes, individual awards, participation gifts, and raffle prizes. -", + "tag": "PRIZE_STRATEGY", + "constraints": [ + { + "constraint": "The prize strategy must include team prizes at $500, $300, and $200, individual awards, participation gifts, and raffle prizes", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to design a prize strategy for the corporate team-building event. The prize strategy should include team prizes, individual awards, participation gifts, and raffle prizes. Follow these steps to accomplish your task:\n\n1. **Understand the Event Context**:\n Review the gathered information about the company, event requirements, and constraints from the previous step:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Define Prize Categories**:\n Identify the different categories of prizes needed for the event. These should include:\n - **Team Prizes**: Prizes for the top-performing teams, such as first, second, and third place.\n - **Individual Awards**: Recognition for outstanding individual performances or contributions.\n - **Participation Gifts**: Small gifts or tokens of appreciation for all attendees.\n - **Raffle Prizes**: Prizes to be raffled off during the event, which can be won by any attendee.\n\n3. **Determine Prize Values**:\n Based on the budget breakdown and the overall event budget, determine the appropriate values for each prize category. Ensure that the prize strategy aligns with the total estimated budget:\n \n {{BUDGET_BREAKDOWN}}\n \n\n4. **Plan Team Prizes**:\n Design a tiered prize structure for team prizes. For example:\n - **First Place Team Prize**: $500 value\n - **Second Place Team Prize**: $300 value\n - **Third Place Team Prize**: $200 value\n\n5. **Plan Individual Awards**:\n Identify criteria for individual awards, such as \"Most Innovative Idea,\" \"Best Team Player,\" or \"Outstanding Leadership.\" Determine the type and value of each individual award.\n\n6. **Plan Participation Gifts**:\n Choose small, meaningful gifts that can be given to all attendees. These could include branded merchandise, gift cards, or other tokens of appreciation.\n\n7. **Plan Raffle Prizes**:\n Select a variety of raffle prizes that appeal to a broad range of attendees. Consider including high-value items, experiences, or other exciting prizes.\n\n8. **Integrate with Event Schedule**:\n Ensure that the prize strategy aligns with the event schedule, including when and how prizes will be awarded. Review the event schedule from the previous step:\n \n {{EVENT_SCHEDULE}}\n \n\n9. **Document the Prize Strategy**:\n Compile all the information into a detailed prize strategy document. Include the following sections:\n - **Team Prizes**: Description and value of each team prize.\n - **Individual Awards**: Criteria and description of each individual award.\n - **Participation Gifts**: Description and distribution plan for participation gifts.\n - **Raffle Prizes**: Description and selection process for raffle prizes.\n\n10. **Review and Finalize**:\n Review the prize strategy to ensure it meets all event requirements and aligns with the overall event goals. Make any necessary adjustments to ensure clarity and completeness.\n\nYour final answer should be a detailed prize strategy document that includes all the above information.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "BUDGET_BREAKDOWN", + "EVENT_SCHEDULE" + ] + }, + { + "subtask": "20. Develop a post-event evaluation plan with participant survey, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications. -", + "tag": "POST_EVENT_EVALUATION", + "constraints": [ + { + "constraint": "The post-event evaluation must include participant survey within 24 hours, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to develop a comprehensive post-event evaluation plan for the corporate team-building event. This plan should include the following components:\n\n1. **Participant Survey**:\n - Design a survey to be sent within 24 hours of the event.\n - Include questions that assess the overall experience, specific activities, workshops, catering, and any areas for improvement.\n - Ensure the survey is concise, easy to complete, and covers all key aspects of the event.\n\n2. **Debriefing Sessions**:\n - Plan debriefing sessions with the event planning team and key stakeholders.\n - Schedule these sessions within a week after the event to discuss what went well, what could be improved, and any lessons learned.\n - Document the outcomes of these sessions for future reference.\n\n3. **Budget Reconciliation**:\n - Compare the actual expenses with the estimated budget.\n - Identify any budget overruns or savings.\n - Provide a detailed report on the financial performance of the event.\n\n4. **Photo Compilation**:\n - Gather all photos taken during the event.\n - Create a digital album or slideshow to share with participants and stakeholders.\n - Ensure the photos are organized and easily accessible.\n\n5. **Impact Assessment**:\n - Evaluate the impact of the event on team cohesion, cross-departmental collaboration, and morale.\n - Use feedback from the participant survey and debriefing sessions to assess the event's success.\n - Provide a summary of the event's overall impact and any measurable outcomes.\n\n6. **Thank You Communications**:\n - Prepare thank-you messages for all participants, vendors, and stakeholders.\n - Include a brief summary of the event's success and express gratitude for their contributions.\n - Send these communications within a week after the event.\n\nTo accomplish this task, follow these steps:\n\n1. **Review Event Details**:\n - Refer to the gathered information about the company, event requirements, and constraints:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Design the Participant Survey**:\n - Create a survey that covers all key aspects of the event.\n - Ensure the survey is user-friendly and can be completed quickly.\n\n3. **Plan Debriefing Sessions**:\n - Schedule sessions with the event planning team and key stakeholders.\n - Prepare an agenda for each session to ensure productive discussions.\n\n4. **Conduct Budget Reconciliation**:\n - Compare actual expenses with the estimated budget.\n - Identify any discrepancies and document the findings.\n\n5. **Compile Photos**:\n - Gather all photos from the event.\n - Organize them into a digital album or slideshow.\n\n6. **Assess Impact**:\n - Use feedback from the survey and debriefing sessions to evaluate the event's impact.\n - Provide a summary of the event's success and any measurable outcomes.\n\n7. **Prepare Thank You Communications**:\n - Draft thank-you messages for participants, vendors, and stakeholders.\n - Include a brief summary of the event's success and express gratitude.\n\n8. **Compile the Post-Event Evaluation Plan**:\n - Combine all the components into a comprehensive post-event evaluation plan.\n - Ensure the plan is clear, detailed, and ready for implementation.\n\nYour final answer should be the complete post-event evaluation plan, including all the components mentioned above.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING" + ] + }, + { + "subtask": "21. Create an accessibility plan with ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation. -", + "tag": "ACCESSIBILITY_PLAN", + "constraints": [ + { + "constraint": "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create an accessibility plan for the corporate team-building event. This plan should ensure that the event is inclusive and accommodates the diverse needs of all attendees. Follow these steps to accomplish your task:\n\n1. **Understand the Requirements**:\n Review the gathered information about the company and event requirements to understand the specific needs and constraints related to accessibility:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **ADA Compliance**:\n Ensure that the event venue and all activities comply with the Americans with Disabilities Act (ADA) standards. This includes:\n - Accessible entry points and pathways\n - Adequate space for mobility devices\n - Accessible restrooms\n - Clear signage and directions\n\n3. **Interpreters and Assistive Technology**:\n Plan for the provision of interpreters for attendees who are deaf or hard of hearing. Additionally, consider any assistive technology that may be required, such as:\n - Hearing assistance devices\n - Visual aids\n - Braille materials\n\n4. **Activity Modifications**:\n Modify activities to ensure they are accessible to all attendees. This may include:\n - Providing alternative activities for those who cannot participate in certain events\n - Adjusting the difficulty level of activities\n - Ensuring that all activities can be performed by individuals with varying abilities\n\n5. **Dietary Accommodation**:\n Accommodate dietary restrictions and preferences by:\n - Offering a variety of food options that cater to different dietary needs (e.g., vegetarian, vegan, gluten-free, allergies)\n - Clearly labeling all food items with allergen information\n - Providing a pre-event survey to gather dietary information from attendees\n\n6. **Inclusive Team Formation**:\n Ensure that teams are formed inclusively by:\n - Mixing departments and seniority levels\n - Considering the abilities and preferences of each attendee\n - Providing clear team assignments and communication channels\n\n7. **Safety and Emergency Procedures**:\n Develop safety and emergency procedures that are accessible to all attendees. This includes:\n - Clear evacuation routes and procedures\n - Accessible first aid stations\n - Emergency contact information\n\n8. **Communication Plan**:\n Create a communication plan that ensures all attendees are informed about accessibility options and how to access them. This may include:\n - Including accessibility information in event materials\n - Providing a dedicated point of contact for accessibility-related questions\n - Using multiple communication channels (e.g., email, event app, Slack)\n\n9. **Review and Finalize**:\n Review the accessibility plan to ensure it meets all requirements and addresses the diverse needs of the attendees. Make any necessary adjustments and finalize the plan.\n\nYour final answer should be a comprehensive accessibility plan that includes all the elements outlined above.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING" + ] + }, + { + "subtask": "22. Create a contingency plan for weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns. -", + "tag": "CONTINGENCY_PLANNING", + "constraints": [ + { + "constraint": "The contingency planning must include weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns", + "validation_strategy": "llm" + }, + { + "constraint": "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create a comprehensive contingency plan for the corporate team-building event. This plan should address potential risks and ensure the event can proceed smoothly despite unforeseen circumstances. Follow these steps to accomplish your task:\n\n1. **Identify Potential Risks**:\n - **Weather Emergencies**: Consider the possibility of extreme weather conditions that could disrupt the event. Think about both indoor and outdoor activities.\n - **Vendor Cancellations**: Identify key vendors and the impact of their cancellation on the event.\n - **Technology Failures**: Consider the technology requirements for the event and potential failures that could occur.\n - **Medical Emergencies**: Plan for any medical emergencies that might arise during the event.\n - **Budget Overruns**: Identify areas where budget overruns might occur and plan for alternative solutions.\n\n2. **Develop Contingency Strategies**:\n - **Weather Emergencies**:\n - **Indoor Activities**: Have a backup plan for moving outdoor activities indoors.\n - **Outdoor Activities**: Consider alternative dates or locations if necessary.\n - **Communication**: Develop a communication plan to inform attendees of any changes due to weather.\n - **Vendor Cancellations**:\n - **Backup Vendors**: Identify and contract backup vendors for critical services.\n - **Alternative Solutions**: Develop alternative solutions for essential services.\n - **Technology Failures**:\n - **Backup Equipment**: Ensure backup AV equipment and tech support are available.\n - **Manual Processes**: Have manual processes in place in case of technology failures.\n - **Medical Emergencies**:\n - **First Aid Stations**: Ensure adequate first aid stations and trained personnel are available.\n - **Emergency Protocols**: Develop clear protocols for handling medical emergencies.\n - **Budget Overruns**:\n - **Cost-Saving Measures**: Identify areas where costs can be reduced without compromising the event.\n - **Contingency Fund**: Allocate a contingency fund to cover unexpected expenses.\n\n3. **Implement and Monitor**:\n - **Implementation**: Ensure all contingency plans are implemented as part of the overall event strategy.\n - **Monitoring**: Continuously monitor the event for any signs of the identified risks and be prepared to activate the contingency plans as needed.\n\n4. **Documentation**:\n - **Contingency Plan Document**: Create a detailed contingency plan document that includes all the strategies developed. This document should be part of the comprehensive event strategy document.\n\n5. **Review and Update**:\n - **Regular Reviews**: Regularly review and update the contingency plan as the event approaches to ensure it remains relevant and effective.\n\nUse the information gathered in the previous steps to inform your contingency planning. Ensure that all aspects of the event are covered and that the contingency plans are practical and feasible.\n\nFinally, compile the contingency plan into a clear and concise document that can be easily referenced during the event planning and execution phases.", + "input_vars_required": [], + "depends_on": [] + }, + { + "subtask": "23. Develop a sustainability plan with eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management. -", + "tag": "SUSTAINABILITY_PLAN", + "constraints": [ + { + "constraint": "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "validation_strategy": "llm" + }, + { + "constraint": "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to develop a comprehensive sustainability plan for the corporate team-building event. This plan should focus on minimizing the environmental impact of the event while ensuring a memorable and enjoyable experience for all participants.\n\nTo accomplish this, follow these steps:\n\n1. **Understand the Event Requirements**:\n Review the gathered information about the company, event requirements, and constraints:\n \n {{INFORMATION_GATHERING}}\n \n\n2. **Identify Key Sustainability Areas**:\n Focus on the following key areas to create a sustainable event:\n - **Eco-friendly Venue**: Select a venue that has eco-friendly practices, such as energy-efficient lighting, waste reduction programs, and sustainable building materials.\n - **Local Catering**: Partner with local caterers who source ingredients locally and use sustainable practices. Ensure they offer diverse menu options that accommodate dietary restrictions.\n - **Reusable Serving Ware**: Use reusable or compostable serving ware to minimize waste. Avoid single-use plastics and encourage the use of reusable cups, plates, and cutlery.\n - **Digital Communications**: Utilize digital communications for invitations, reminders, and event information to reduce paper waste. Create a mobile event app for scheduling and messaging.\n - **Recyclable Decorations**: Choose decorations that are recyclable or made from sustainable materials. Avoid non-biodegradable materials and opt for eco-friendly alternatives.\n - **Waste Management**: Implement a comprehensive waste management plan that includes recycling stations, composting, and proper disposal of waste. Educate participants on the importance of waste reduction and proper disposal methods.\n\n3. **Develop Detailed Strategies**:\n For each key area, develop detailed strategies that outline the steps to be taken, the resources required, and the expected outcomes. Ensure that the strategies align with the overall event goals and constraints.\n\n4. **Create a Sustainability Timeline**:\n Integrate the sustainability plan into the overall event timeline. Ensure that sustainability initiatives are scheduled appropriately and that all necessary actions are taken in a timely manner.\n\n5. **Budget Considerations**:\n Review the budget breakdown to ensure that the sustainability plan is cost-effective and aligns with the total estimated budget:\n \n {{BUDGET_BREAKDOWN}}\n \n\n6. **Communication Plan**:\n Develop a communication plan to inform participants about the sustainability initiatives. Use the marketing and communication strategy to promote the event's eco-friendly practices:\n \n {{MARKETING_STRATEGY}}\n \n\n7. **Vendor Management**:\n Ensure that all vendors adhere to the sustainability plan. Include sustainability criteria in the vendor selection process and monitor their compliance throughout the event:\n \n {{VENDOR_MANAGEMENT}}\n \n\n8. **Post-Event Evaluation**:\n Include sustainability metrics in the post-event evaluation plan. Assess the effectiveness of the sustainability initiatives and identify areas for improvement in future events:\n \n {{POST_EVENT_EVALUATION}}\n \n\n9. **Contingency Planning**:\n Develop contingency plans for potential sustainability challenges, such as waste management issues or vendor non-compliance. Ensure that the contingency planning aligns with the overall event strategy:\n \n {{CONTINGENCY_PLANNING}}\n \n\n10. **Finalize the Sustainability Plan**:\n Compile all the information into a detailed sustainability plan that outlines the strategies, timelines, budget considerations, communication plans, vendor management, post-event evaluation, and contingency planning.\n\nEnsure that the sustainability plan is integrated into the comprehensive event strategy document and that all planning follows best practices, creates memorable experiences, accommodates diverse needs, stays within budget, prioritizes safety, incorporates sustainable practices, leverages technology, builds excitement, and measures success.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "BUDGET_BREAKDOWN", + "MARKETING_STRATEGY", + "VENDOR_MANAGEMENT", + "POST_EVENT_EVALUATION", + "CONTINGENCY_PLANNING" + ] + }, + { + "subtask": "24. Compile all the information into a comprehensive event strategy document. -", + "tag": "EVENT_STRATEGY_DOCUMENT", + "constraints": [ + { + "constraint": "The event strategy document must include detailed planning timelines starting 6 months before the event with weekly milestones", + "validation_strategy": "llm" + }, + { + "constraint": "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000", + "validation_strategy": "code" + }, + { + "constraint": "The marketing and communication strategy must include save-the-date announcements 4 months in advance, formal invitations 2 months before, weekly reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile event app", + "validation_strategy": "llm" + }, + { + "constraint": "The venue selection process must evaluate 10 venues based on capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness", + "validation_strategy": "llm" + }, + { + "constraint": "The event schedule must include registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment at 5:30-8:00 PM", + "validation_strategy": "llm" + }, + { + "constraint": "The icebreaker plans must include 15 options including human knot, marshmallow tower, obstacle course, pictionary, charades, and trust falls", + "validation_strategy": "llm" + }, + { + "constraint": "The team formation strategy must include diverse mix of departments and seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before with names and colors", + "validation_strategy": "llm" + }, + { + "constraint": "The workshop content must include leadership case studies, innovation brainstorming, communication exercises, and wellness meditation", + "validation_strategy": "llm" + }, + { + "constraint": "The catering plan must include breakfast coffee station and pastries, lunch buffet with salad bar and hot entrees, afternoon snacks, and dinner with three entree choices and full bar", + "validation_strategy": "llm" + }, + { + "constraint": "The activity logistics must include equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules", + "validation_strategy": "llm" + }, + { + "constraint": "The transportation plan must include charter buses, parking management, shuttle service, and contingency plans", + "validation_strategy": "llm" + }, + { + "constraint": "The registration process must include online portal, on-site check-in, name tags, welcome packets with schedule and swag, and staff training", + "validation_strategy": "llm" + }, + { + "constraint": "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "validation_strategy": "llm" + }, + { + "constraint": "The vendor management strategy must include selection criteria, contracts, payment schedules, and evaluation forms", + "validation_strategy": "llm" + }, + { + "constraint": "The technology plan must include event app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, live streaming, and tech support", + "validation_strategy": "llm" + }, + { + "constraint": "The decoration strategy must include signage, team colors, photo backdrops, and sustainable options", + "validation_strategy": "llm" + }, + { + "constraint": "The entertainment plan must include live band or DJ, emcee, interactive activities, and evening games", + "validation_strategy": "llm" + }, + { + "constraint": "The prize strategy must include team prizes at $500, $300, and $200, individual awards, participation gifts, and raffle prizes", + "validation_strategy": "llm" + }, + { + "constraint": "The post-event evaluation must include participant survey within 24 hours, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications", + "validation_strategy": "llm" + }, + { + "constraint": "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation", + "validation_strategy": "llm" + }, + { + "constraint": "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "validation_strategy": "llm" + }, + { + "constraint": "The contingency planning must include weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns", + "validation_strategy": "llm" + }, + { + "constraint": "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to compile all the information gathered and planned in the previous steps into a comprehensive event strategy document. This document will serve as the blueprint for executing the corporate team-building event.\n\nTo accomplish this, follow these steps:\n\n1. **Review All Previous Steps**:\n Carefully review the information and plans developed in the previous steps. This includes:\n - Information Gathering: {{INFORMATION_GATHERING}}\n - Planning Timeline: {{PLANNING_TIMELINE}}\n - Budget Breakdown: {{BUDGET_BREAKDOWN}}\n - Marketing Strategy: {{MARKETING_STRATEGY}}\n - Venue Selection: {{VENUE_SELECTION}}\n - Event Schedule: {{EVENT_SCHEDULE}}\n - Icebreaker Plans: {{ICEBREAKER_PLANS}}\n - Team Formation: {{TEAM_FORMATION}}\n - Workshop Content: {{WORKSHOP_CONTENT}}\n - Catering Plan: {{CATERING_PLAN}}\n - Activity Logistics: {{ACTIVITY_LOGISTICS}}\n - Transportation Plan: {{TRANSPORTATION_PLAN}}\n - Registration Process: {{REGISTRATION_PROCESS}}\n - Safety Plan: {{SAFETY_PLAN}}\n - Vendor Management: {{VENDOR_MANAGEMENT}}\n - Technology Plan: {{TECHNOLOGY_PLAN}}\n - Decoration Strategy: {{DECORATION_STRATEGY}}\n - Entertainment Plan: {{ENTERTAINMENT_PLAN}}\n - Prize Strategy: {{PRIZE_STRATEGY}}\n - Post-Event Evaluation: {{POST_EVENT_EVALUATION}}\n - Accessibility Plan: {{ACCESSIBILITY_PLAN}}\n - Sustainability Plan: {{SUSTAINABILITY_PLAN}}\n - Contingency Planning: {{CONTINGENCY_PLANNING}}\n\n2. **Organize the Information**:\n Structure the event strategy document in a logical and coherent manner. Use clear headings and subheadings to organize the content. Here is a suggested structure:\n - **Executive Summary**: A brief overview of the event's objectives, key highlights, and expected outcomes.\n - **Event Overview**: Detailed description of the event, including its purpose, goals, and target audience.\n - **Planning Timeline**: The detailed planning timeline starting 6 months before the event with weekly milestones.\n - **Budget Breakdown**: Comprehensive breakdown of the budget for venue rental, catering, entertainment, transportation, technology, and total estimated budget.\n - **Marketing and Communication Strategy**: Detailed strategy for save-the-date announcements, formal invitations, reminder emails, internal campaigns, and other communication methods.\n - **Venue Selection**: Process for evaluating and selecting the best venue based on capacity, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi, catering facilities, accommodations, and cost-effectiveness.\n - **Event Schedule**: Detailed event schedule from 8:00 AM to 8:00 PM including registration, breakfast, opening ceremony, icebreaker activities, workshops, lunch, team challenges, awards ceremony, and dinner with entertainment.\n - **Icebreaker Activities**: List of 15 icebreaker activities with detailed plans.\n - **Team Formation Strategy**: Strategy for forming diverse teams with a mix of departments and seniority, pre-event survey for dietary restrictions, and team assignments 2 weeks before the event.\n - **Workshop Content**: Content for leadership, innovation, communication, and wellness workshops.\n - **Catering Plan**: Detailed catering plan with breakfast, lunch, afternoon snacks, and dinner options.\n - **Activity Logistics**: Logistics for all planned activities including equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules.\n - **Transportation Plan**: Plan for charter buses, parking management, shuttle service, and contingency plans.\n - **Registration Process**: Process for online portal, on-site check-in, name tags, welcome packets, and staff training.\n - **Safety Plan**: Comprehensive safety plan including insurance, first aid stations, evacuation procedures, weather contingencies, food safety, security personnel, and incident reporting.\n - **Vendor Management**: Strategy for vendor selection, contracts, payment schedules, and evaluation forms.\n - **Technology Plan**: Plan for event app, AV equipment, WiFi, photography services, live streaming, and tech support.\n - **Decoration Strategy**: Strategy for signage, team colors, photo backdrops, and sustainable options.\n - **Entertainment Plan**: Plan for live band or DJ, emcee, interactive activities, and evening games.\n - **Prize Strategy**: Strategy for team prizes, individual awards, participation gifts, and raffle prizes.\n - **Post-Event Evaluation**: Plan for participant survey, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications.\n - **Accessibility Plan**: Plan for ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation.\n - **Sustainability Plan**: Plan for eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management.\n - **Contingency Planning**: Plan for weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns.\n\n3. **Compile the Document**:\n Combine all the organized information into a single, cohesive document. Ensure that the document is well-structured, easy to read, and includes all necessary details for executing the event.\n\n4. **Review and Finalize**:\n Review the compiled document to ensure accuracy, completeness, and clarity. Make any necessary adjustments to ensure that the document meets all requirements and standards.\n\n5. **Output the Event Strategy Document**:\n Provide the final event strategy document as your answer. Ensure that the document is well-formatted and ready for use.", + "input_vars_required": [], + "depends_on": [ + "INFORMATION_GATHERING", + "PLANNING_TIMELINE", + "BUDGET_BREAKDOWN", + "MARKETING_STRATEGY", + "VENUE_SELECTION", + "EVENT_SCHEDULE", + "ICEBREAKER_PLANS", + "TEAM_FORMATION", + "WORKSHOP_CONTENT", + "CATERING_PLAN", + "ACTIVITY_LOGISTICS", + "TRANSPORTATION_PLAN", + "REGISTRATION_PROCESS", + "SAFETY_PLAN", + "VENDOR_MANAGEMENT", + "TECHNOLOGY_PLAN", + "DECORATION_STRATEGY", + "ENTERTAINMENT_PLAN", + "PRIZE_STRATEGY", + "POST_EVENT_EVALUATION", + "ACCESSIBILITY_PLAN", + "SUSTAINABILITY_PLAN", + "CONTINGENCY_PLANNING" + ] + } + ] +} \ No newline at end of file diff --git a/docs/examples/m_decompose/m_decomp_result.py b/docs/examples/m_decompose/m_decomp_result.py new file mode 100644 index 000000000..0cf46a1b9 --- /dev/null +++ b/docs/examples/m_decompose/m_decomp_result.py @@ -0,0 +1,1785 @@ +# pytest: ollama, requires_heavy_ram, llm +# Note: This is an example of an intermediary result from using decompose, not an example of how to use decompose. + +import textwrap + +import mellea + +if __name__ == "__main__": + m = mellea.start_session() + + # 1. Gather all necessary information about the company, event requirements, and constraints. - - INFORMATION_GATHERING + information_gathering = m.instruct( + textwrap.dedent( + R""" + To gather all necessary information about the company, event requirements, and constraints, follow these steps: + + 1. **Company Information**: + - **Company Size**: Determine the number of employees (100-300). + - **Departments**: Identify the different departments within the company. + - **Employee Demographics**: Gather information about the diversity of employees, including age, seniority, and roles. + - **Company Culture**: Understand the company's values, mission, and current team dynamics. + + 2. **Event Requirements**: + - **Objectives**: Clearly define the goals of the event, such as strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories. + - **Event Type**: Specify the type of event (e.g., corporate team-building event). + - **Duration**: Determine the start and end times of the event (8:00 AM to 8:00 PM). + - **Key Activities**: List the key activities planned for the event, such as registration, breakfast, opening ceremony, icebreaker activities, workshops, lunch, team challenges, awards ceremony, and dinner with entertainment. + + 3. **Event Constraints**: + - **Budget**: Identify the budget constraints for different aspects of the event, including venue rental ($15,000-25,000), catering ($75-125 per person), entertainment and activities ($10,000-20,000), transportation ($3,000-8,000), technology ($5,000-10,000), and total estimated budget ($50,000-125,000). + - **Venue Requirements**: Specify the venue requirements, such as capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness. + - **Safety and Accessibility**: Ensure the event follows best practices for safety, accessibility, and sustainability. + - **Technology**: Identify the technology requirements, such as event app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, live streaming, and tech support. + + 4. **Additional Information**: + - **Marketing and Communication**: Gather information about the marketing and communication strategy, including save-the-date announcements, formal invitations, reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile event app. + - **Team Formation**: Understand the team formation strategy, including diverse mix of departments and seniority, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before the event. + - **Workshop Content**: Identify the content for leadership, innovation, communication, and wellness workshops. + - **Catering Plan**: Gather information about the catering plan, including breakfast, lunch, afternoon snacks, and dinner options. + - **Activity Logistics**: Understand the logistics for all planned activities, including equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules. + - **Transportation Plan**: Gather information about the transportation plan, including charter buses, parking management, shuttle service, and contingency plans. + - **Registration Process**: Understand the registration process, including online portal, on-site check-in, name tags, welcome packets, and staff training. + - **Safety Plan**: Gather information about the safety plan, including insurance, first aid stations, evacuation procedures, weather contingencies, food safety, security personnel, and incident reporting. + - **Vendor Management**: Understand the vendor management strategy, including selection criteria, contracts, payment schedules, and evaluation forms. + - **Technology Plan**: Gather information about the technology plan, including event app, AV equipment, WiFi, photography services, live streaming, and tech support. + - **Decoration Strategy**: Understand the decoration strategy, including signage, team colors, photo backdrops, and sustainable options. + - **Entertainment Plan**: Gather information about the entertainment plan, including live band or DJ, emcee, interactive activities, and evening games. + - **Prize Strategy**: Understand the prize strategy, including team prizes, individual awards, participation gifts, and raffle prizes. + - **Post-Event Evaluation**: Gather information about the post-event evaluation plan, including participant survey, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications. + - **Accessibility Plan**: Understand the accessibility plan, including ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation. + - **Sustainability Plan**: Gather information about the sustainability plan, including eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management. + - **Contingency Planning**: Understand the contingency planning for weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns. + + 5. **Documentation**: + - Compile all the gathered information into a comprehensive document that will serve as the basis for the event strategy document. + + By following these steps, you will gather all necessary information about the company, event requirements, and constraints to ensure a successful and well-organized corporate team-building event. + """.strip() + ), + requirements=[ + "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000", + "The venue selection process must evaluate 10 venues based on capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness", + "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation", + "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + ], + ) + assert information_gathering.value is not None, ( + 'ERROR: task "information_gathering" execution failed' + ) + + # 2. Create a detailed planning timeline starting 6 months before the event with weekly milestones. - - PLANNING_TIMELINE + planning_timeline = m.instruct( + textwrap.dedent( + R""" + Your task is to create a detailed planning timeline starting 6 months before the event with weekly milestones. Follow these steps to accomplish your task: + + First, review the gathered information about the company, event requirements, and constraints from the previous step: + + {{INFORMATION_GATHERING}} + + + Next, consider the key components of the event that need to be planned, such as venue selection, marketing and communication, team formation, workshops, catering, activities, transportation, registration, safety, vendor management, technology, decorations, entertainment, prizes, post-event evaluation, accessibility, sustainability, and contingency planning. + + Break down the planning process into weekly milestones starting 6 months before the event. Ensure that each milestone is specific, measurable, achievable, relevant, and time-bound (SMART). + + Here is a suggested structure for the planning timeline: + + **6 Months Before the Event:** + - Finalize event objectives and key performance indicators (KPIs). + - Establish the event budget and allocate funds to different categories. + - Develop a high-level event plan and timeline. + - Identify and assemble the event planning team. + - Begin researching and evaluating potential venues. + + **5 Months Before the Event:** + - Select and book the venue. + - Develop a detailed event schedule and share it with key stakeholders. + - Create a marketing and communication strategy. + - Begin designing the event branding and promotional materials. + - Start planning the team formation strategy. + + **4 Months Before the Event:** + - Send save-the-date announcements to employees. + - Finalize the event schedule and share it with vendors and participants. + - Develop the workshop content and identify facilitators. + - Create a catering plan and send out a pre-event survey for dietary restrictions. + - Begin planning the icebreaker activities. + + **3 Months Before the Event:** + - Send formal invitations to employees. + - Finalize the team formation strategy and assign teams. + - Develop the activity logistics and equipment lists. + - Create a transportation plan and arrange charter buses if necessary. + - Design the registration process and set up the online portal. + + **2 Months Before the Event:** + - Send weekly reminder emails to employees. + - Finalize the catering plan and confirm menu options. + - Develop the safety plan and evacuation procedures. + - Create a vendor management strategy and finalize contracts. + - Design the technology plan and arrange AV equipment. + + **1 Month Before the Event:** + - Send team assignments and welcome packets to employees. + - Finalize the decoration strategy and order necessary materials. + - Develop the entertainment plan and book a live band or DJ. + - Create a prize strategy and order prizes. + - Finalize the post-event evaluation plan. + + **2 Weeks Before the Event:** + - Conduct a final walkthrough of the venue. + - Train staff on the registration process and safety protocols. + - Finalize the accessibility plan and make necessary accommodations. + - Develop a sustainability plan and implement eco-friendly practices. + - Create a contingency plan for potential emergencies. + + **1 Week Before the Event:** + - Send a final reminder email to employees. + - Confirm all vendor arrangements and payment schedules. + - Finalize the event schedule and share it with participants. + - Prepare the welcome packets and name tags. + - Conduct a final review of the event strategy document. + + Ensure that the planning timeline is comprehensive and covers all aspects of the event. The timeline should be flexible and allow for adjustments as needed. + + Finally, write the detailed planning timeline starting 6 months before the event with weekly milestones. Your answer will serve as basis for the next steps. + """.strip() + ), + requirements=[ + "The event strategy document must include detailed planning timelines starting 6 months before the event with weekly milestones" + ], + user_variables={"INFORMATION_GATHERING": information_gathering.value}, + ) + assert planning_timeline.value is not None, ( + 'ERROR: task "planning_timeline" execution failed' + ) + + # 3. Develop a budget breakdown for venue rental, catering, entertainment, transportation, technology, and total estimated budget. - - BUDGET_BREAKDOWN + budget_breakdown = m.instruct( + textwrap.dedent( + R""" + Your task is to develop a detailed budget breakdown for the corporate team-building event. This budget should include estimates for venue rental, catering, entertainment, transportation, technology, and the total estimated budget. + + To accomplish this, follow these steps: + + 1. **Review Gathered Information**: + First, review the information gathered about the company, event requirements, and constraints. This information will help you understand the scope and specific needs of the event: + + {{INFORMATION_GATHERING}} + + + 2. **Understand Budget Constraints**: + The event has specific budget constraints for each category: + - **Venue Rental**: $15,000 - $25,000 + - **Catering**: $75 - $125 per person + - **Entertainment and Activities**: $10,000 - $20,000 + - **Transportation**: $3,000 - $8,000 + - **Technology**: $5,000 - $10,000 + - **Total Estimated Budget**: $50,000 - $125,000 + + 3. **Calculate Catering Costs**: + The catering cost is per person. The event will have 100-300 employees attending. Calculate the total catering cost based on the number of attendees and the per-person cost. + + 4. **Estimate Other Costs**: + Provide a detailed estimate for each of the remaining categories (venue rental, entertainment, transportation, and technology) within the specified budget ranges. + + 5. **Summarize Total Estimated Budget**: + Add up the estimated costs for each category to provide a total estimated budget for the event. Ensure that the total estimated budget falls within the specified range of $50,000 - $125,000. + + 6. **Provide Detailed Breakdown**: + Present the budget breakdown in a clear and organized manner. Include the following information for each category: + - **Category**: Name of the budget category (e.g., Venue Rental) + - **Estimated Cost**: The estimated cost for that category + - **Notes**: Any additional notes or considerations for that category + + 7. **Review and Adjust**: + Review your budget breakdown to ensure it is accurate and aligns with the event's requirements and constraints. Make any necessary adjustments to ensure the total estimated budget is within the specified range. + + 8. **Final Answer**: + Provide the detailed budget breakdown as your final answer. Ensure it is clear, concise, and adheres to the specified budget constraints. + + Example Format: + - **Venue Rental**: $20,000 + - Notes: Includes rental fee for the venue and basic setup. + - **Catering**: $25,000 + - Notes: Based on 200 attendees at $125 per person. + - **Entertainment and Activities**: $15,000 + - Notes: Includes costs for activities and entertainment. + - **Transportation**: $5,000 + - Notes: Includes charter buses and shuttle service. + - **Technology**: $7,000 + - Notes: Includes AV equipment, WiFi, and tech support. + - **Total Estimated Budget**: $72,000 + """.strip() + ), + requirements=[ + "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000" + ], + user_variables={"INFORMATION_GATHERING": information_gathering.value}, + ) + assert budget_breakdown.value is not None, ( + 'ERROR: task "budget_breakdown" execution failed' + ) + + # 4. Design a marketing and communication strategy including save-the-date announcements, formal invitations, reminder emails, internal campaigns, and other communication methods. - - MARKETING_STRATEGY + marketing_strategy = m.instruct( + textwrap.dedent( + R""" + Your task is to design a comprehensive marketing and communication strategy for a corporate team-building event. This strategy should ensure effective engagement and participation from all employees. Follow these steps to accomplish your task: + + 1. **Review Gathered Information**: + Begin by reviewing the information gathered about the company, event requirements, and constraints. This will help you tailor the marketing and communication strategy to the specific needs and preferences of the employees: + + {{INFORMATION_GATHERING}} + + + 2. **Understand the Planning Timeline**: + Familiarize yourself with the planning timeline to ensure that all marketing and communication activities are scheduled appropriately. This will help you create a timeline for save-the-date announcements, formal invitations, reminder emails, and internal campaigns: + + {{PLANNING_TIMELINE}} + + + 3. **Budget Considerations**: + Consider the budget breakdown to ensure that the marketing and communication strategy is cost-effective and aligns with the overall budget for the event: + + {{BUDGET_BREAKDOWN}} + + + 4. **Develop the Marketing and Communication Strategy**: + Create a detailed marketing and communication strategy that includes the following components: + + - **Save-the-Date Announcements**: + Plan to send save-the-date announcements 4 months in advance. These announcements should be sent via email and should include the event date, purpose, and a brief overview of what to expect. + + - **Formal Invitations**: + Design formal invitations to be sent 2 months before the event. These invitations should include detailed information about the event schedule, dress code, and any specific instructions or requirements. + + - **Weekly Reminder Emails**: + Schedule weekly reminder emails leading up to the event. These emails should provide updates, reminders, and any additional information that may be relevant to the participants. + + - **Internal Campaigns**: + Develop internal campaigns to build excitement and engagement. These campaigns can include posters, flyers, and announcements on internal communication platforms. + + - **Dedicated Slack Channel**: + Create a dedicated Slack channel for event-related discussions, updates, and announcements. This channel will serve as a central hub for all event-related communication. + + - **Executive Videos**: + Plan to create and share videos featuring executive messages about the event. These videos can be shared via email, internal communication platforms, and the dedicated Slack channel. + + - **Mobile Event App**: + Develop a mobile event app that provides participants with access to the event schedule, maps, speaker information, and other relevant details. The app should also include features for messaging and networking. + + 5. **Ensure Consistency and Clarity**: + Ensure that all marketing and communication materials are consistent in tone, style, and branding. This will help create a cohesive and professional image for the event. + + 6. **Review and Finalize**: + Review the marketing and communication strategy to ensure that it meets all the requirements and aligns with the overall event goals. Make any necessary adjustments and finalize the strategy. + + Your final answer should be a detailed marketing and communication strategy document that includes all the components mentioned above. + """.strip() + ), + requirements=[ + "The marketing and communication strategy must include save-the-date announcements 4 months in advance, formal invitations 2 months before, weekly reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile event app" + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "PLANNING_TIMELINE": planning_timeline.value, + "BUDGET_BREAKDOWN": budget_breakdown.value, + }, + ) + assert marketing_strategy.value is not None, ( + 'ERROR: task "marketing_strategy" execution failed' + ) + + # 5. Develop a venue selection process to evaluate and select the best venue based on capacity, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi, catering facilities, accommodations, and cost-effectiveness. - - VENUE_SELECTION + venue_selection = m.instruct( + textwrap.dedent( + R""" + Your task is to develop a comprehensive venue selection process to evaluate and select the best venue for the corporate team-building event. Follow these steps to accomplish your task: + + 1. **Understand the Requirements**: + Review the gathered information about the company and event requirements, including the need to accommodate 100-300 employees. Ensure the venue selection process aligns with the overall event goals of strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories. + + 2. **Define Evaluation Criteria**: + Based on the event requirements, define the key criteria for evaluating potential venues. The criteria should include: + - **Capacity**: Ability to accommodate 100-300 people. + - **Accessibility**: Ease of access for all attendees, including those with disabilities. + - **Parking**: Adequate parking facilities for attendees and staff. + - **Indoor/Outdoor Space**: Availability of both indoor and outdoor spaces for various activities. + - **AV Capabilities**: Sufficient audio-visual equipment and support. + - **WiFi**: Reliable WiFi for 300+ devices. + - **Catering Facilities**: Ability to support breakfast, lunch, afternoon snacks, and dinner. + - **Accommodations**: Proximity to accommodations for out-of-town attendees, if necessary. + - **Cost-Effectiveness**: Budget-friendly options within the estimated budget of $15,000-25,000. + + 3. **Research Potential Venues**: + Identify at least 10 potential venues that meet the initial criteria. Gather detailed information about each venue, including: + - Location and contact information. + - Capacity and layout. + - Availability of required facilities and services. + - Cost estimates for rental and additional services. + + 4. **Create Evaluation Forms**: + Develop evaluation forms to systematically assess each venue against the defined criteria. The forms should include: + - Checklists for each criterion. + - Rating scales for subjective assessments. + - Space for notes and additional comments. + + 5. **Conduct Venue Visits or Virtual Tours**: + Schedule visits or virtual tours of the shortlisted venues. During the visits, evaluate: + - The overall ambiance and suitability for the event. + - The condition and functionality of facilities. + - The responsiveness and professionalism of the venue staff. + + 6. **Compare and Contrast Venues**: + Use the evaluation forms to compare and contrast the venues. Create a summary table or matrix that highlights the strengths and weaknesses of each venue based on the defined criteria. + + 7. **Select the Best Venue**: + Based on the evaluations, select the venue that best meets the event requirements and aligns with the budget. Consider factors such as overall value, flexibility, and the ability to create a memorable experience for attendees. + + 8. **Document the Selection Process**: + Prepare a detailed report documenting the venue selection process. The report should include: + - The defined evaluation criteria. + - The list of potential venues and their evaluations. + - The comparison and contrast of venues. + - The rationale for selecting the final venue. + + 9. **Finalize Venue Contract**: + Work with the selected venue to finalize the contract, ensuring all agreed-upon terms and conditions are clearly outlined. Include details such as: + - Rental costs and payment schedules. + - Cancellation policies. + - Additional services and their costs. + + 10. **Integrate with Overall Event Plan**: + Ensure the selected venue aligns with the overall event strategy document. Coordinate with other event planning components, such as catering, transportation, and technology, to ensure seamless integration. + + By following these steps, you will develop a thorough and effective venue selection process that meets the event's requirements and contributes to its success. + """.strip() + ), + requirements=[ + "The venue selection process must evaluate 10 venues based on capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness" + ], + user_variables={}, + ) + assert venue_selection.value is not None, ( + 'ERROR: task "venue_selection" execution failed' + ) + + # 6. Design a detailed event schedule from 8:00 AM to 8:00 PM including registration, breakfast, opening ceremony, icebreaker activities, workshops, lunch, team challenges, awards ceremony, and dinner with entertainment. - - EVENT_SCHEDULE + event_schedule = m.instruct( + textwrap.dedent( + R""" + Your task is to design a detailed event schedule from 8:00 AM to 8:00 PM for a corporate team-building event. The schedule should include the following key components: + + 1. **Registration and Breakfast (8:00 - 9:00 AM)** + - Plan for registration process and breakfast setup. + - Include details on coffee stations, pastries, and any other breakfast items. + + 2. **Opening Ceremony (9:00 - 9:30 AM)** + - Outline the opening ceremony, including the CEO's speech. + - Include any additional opening activities or announcements. + + 3. **Icebreaker Activities (9:30 - 10:30 AM)** + - Plan for icebreaker activities such as human bingo and speed networking. + - Include any necessary setup or facilitation details. + + 4. **Morning Workshops (10:30 AM - 12:30 PM)** + - Design tracks on leadership, innovation, communication, and wellness. + - Include details on workshop content, facilitators, and any required materials. + + 5. **Lunch (12:30 - 2:00 PM)** + - Plan for lunch with diverse menu options. + - Include details on catering setup, dietary restrictions, and any special considerations. + + 6. **Afternoon Team Challenges (2:00 - 5:00 PM)** + - Plan for team challenges such as scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments. + - Include details on equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules. + + 7. **Awards Ceremony (5:00 - 5:30 PM)** + - Plan for the awards ceremony, including any necessary setup or facilitation details. + - Include details on award categories, presentation, and any additional activities. + + 8. **Dinner with Entertainment (5:30 - 8:00 PM)** + - Plan for dinner with three entree choices and a full bar. + - Include details on entertainment such as live band or DJ, emcee, interactive activities, and evening games. + + To accomplish this task, follow these steps: + + 1. **Review Gathered Information**: + - Carefully review the gathered information about the company, event requirements, and constraints from the previous step: + + {{INFORMATION_GATHERING}} + + + 2. **Review Planning Timeline**: + - Review the planning timeline starting 6 months before the event with weekly milestones from the previous step: + + {{PLANNING_TIMELINE}} + + + 3. **Review Budget Breakdown**: + - Review the budget breakdown for venue rental, catering, entertainment, transportation, technology, and total estimated budget from the previous step: + + {{BUDGET_BREAKDOWN}} + + + 4. **Review Marketing Strategy**: + - Review the marketing and communication strategy including save-the-date announcements, formal invitations, reminder emails, internal campaigns, and other communication methods from the previous step: + + {{MARKETING_STRATEGY}} + + + 5. **Review Venue Selection**: + - Review the venue selection process to evaluate and select the best venue based on capacity, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi, catering facilities, accommodations, and cost-effectiveness from the previous step: + + {{VENUE_SELECTION}} + + + 6. **Design the Event Schedule**: + - Use the information gathered in the previous steps to design a detailed event schedule from 8:00 AM to 8:00 PM. + - Ensure the schedule includes all the key components mentioned above. + - Make sure the schedule is realistic, feasible, and aligns with the event's goals and constraints. + + 7. **Finalize the Schedule**: + - Review the designed event schedule to ensure it meets all the requirements and constraints. + - Make any necessary adjustments to ensure the schedule is comprehensive and detailed. + + 8. **Output the Event Schedule**: + - Provide the detailed event schedule as your final answer. Ensure the output is clear, concise, and well-organized. + + Remember to adhere to the event's goals of strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories. Ensure the schedule is inclusive, accessible, and sustainable, following best practices and leveraging technology where appropriate. + """.strip() + ), + requirements=[ + "The event schedule must include registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment at 5:30-8:00 PM" + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "PLANNING_TIMELINE": planning_timeline.value, + "BUDGET_BREAKDOWN": budget_breakdown.value, + "MARKETING_STRATEGY": marketing_strategy.value, + "VENUE_SELECTION": venue_selection.value, + }, + ) + assert event_schedule.value is not None, ( + 'ERROR: task "event_schedule" execution failed' + ) + + # 7. Create a list of 15 icebreaker activities with detailed plans. - - ICEBREAKER_PLANS + icebreaker_plans = m.instruct( + textwrap.dedent( + R""" + Your task is to create a list of 15 icebreaker activities with detailed plans for a corporate team-building event. These activities should be engaging, inclusive, and designed to foster team cohesion and collaboration among 100-300 employees. + + To approach this task, follow these steps: + + 1. **Understand the Event Context**: + Review the gathered information about the company, event requirements, and constraints from the previous step: + + {{INFORMATION_GATHERING}} + + + 2. **Review the Event Schedule**: + Ensure that the icebreaker activities align with the event schedule, particularly the time slot allocated for icebreaker activities from 9:30 AM to 10:30 AM: + + {{EVENT_SCHEDULE}} + + + 3. **List of Icebreaker Activities**: + Create a list of 15 icebreaker activities. Each activity should include the following details: + - **Activity Name**: A clear and descriptive title. + - **Objective**: The purpose of the activity and how it contributes to team-building. + - **Materials Needed**: A list of any equipment or materials required. + - **Setup Instructions**: Step-by-step instructions for setting up the activity. + - **Instructions for Participants**: Clear guidelines on how to participate. + - **Duration**: The estimated time required for the activity. + - **Facilitator Notes**: Any special instructions or tips for the facilitator. + - **Safety Protocols**: Any safety considerations or guidelines. + - **Scoring System (if applicable)**: How the activity will be scored or evaluated. + - **Rotation Schedule (if applicable)**: How the activity will be rotated among teams. + + 4. **Diverse and Inclusive Activities**: + Ensure that the activities are diverse and inclusive, catering to different personalities, abilities, and preferences. Consider activities that can be adapted for various team sizes and dynamics. + + 5. **Engaging and Fun**: + The activities should be engaging and fun, designed to create a positive and memorable experience for all participants. + + 6. **Alignment with Event Goals**: + Ensure that the activities align with the overall goals of the event, which include strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories. + + Here is an example structure to guide your writing: + - **Activity 1: Human Knot** + - **Objective**: Promote teamwork and problem-solving. + - **Materials Needed**: None. + - **Setup Instructions**: Have participants stand in a circle. + - **Instructions for Participants**: Each person must hold hands with two people across from them to form a "human knot." + - **Duration**: 15-20 minutes. + - **Facilitator Notes**: Encourage communication and teamwork. + - **Safety Protocols**: Ensure participants are careful not to pull too hard. + - **Scoring System**: Not applicable. + - **Rotation Schedule**: Not applicable. + + Repeat the above structure for all 15 icebreaker activities. + + Ensure that each activity is clearly described and includes all the necessary details for successful execution. + + Finally, compile the list of 15 icebreaker activities with detailed plans into a comprehensive document. + """.strip() + ), + requirements=[ + "The icebreaker plans must include 15 options including human knot, marshmallow tower, obstacle course, pictionary, charades, and trust falls", + "The event schedule must include registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment at 5:30-8:00 PM", + "The activity logistics must include equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules", + "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation", + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "EVENT_SCHEDULE": event_schedule.value, + }, + ) + assert icebreaker_plans.value is not None, ( + 'ERROR: task "icebreaker_plans" execution failed' + ) + + # 8. Develop a team formation strategy with diverse mix of departments and seniority, pre-event survey for dietary restrictions, and team assignments 2 weeks before the event. - - TEAM_FORMATION + team_formation = m.instruct( + textwrap.dedent( + R""" + Your task is to develop a team formation strategy for a corporate team-building event. This strategy should ensure a diverse mix of departments and seniority levels, accommodate dietary restrictions, and assign teams two weeks before the event. + + To accomplish this, follow these steps: + + 1. **Understand the Event Requirements**: + Review the gathered information about the company, event requirements, and constraints from the previous step: + + {{INFORMATION_GATHERING}} + + + 2. **Diverse Team Formation**: + Create a strategy to form teams with a diverse mix of departments and seniority levels. Each team should consist of 8-12 people. Ensure that the teams are balanced in terms of experience, roles, and departments to foster collaboration and learning. + + 3. **Pre-Event Survey**: + Design a pre-event survey to collect information about dietary restrictions and preferences from all participants. This survey should be distributed at least one month before the event to allow sufficient time for planning. + + 4. **Team Assignments**: + Develop a process for assigning participants to teams. This process should consider the survey responses regarding dietary restrictions and ensure that teams are formed in a way that accommodates these needs. Team assignments should be communicated to participants two weeks before the event. + + 5. **Team Identification**: + Assign unique names and colors to each team to facilitate easy identification and foster team spirit. Ensure that the names and colors are inclusive and appropriate for all participants. + + 6. **Communication Plan**: + Outline a communication plan for informing participants about their team assignments, including the team name, color, and any other relevant information. This plan should include the distribution of team assignments and any follow-up communications. + + 7. **Documentation**: + Document the team formation strategy, including the criteria used for team formation, the survey questions, the process for assigning teams, and the communication plan. This documentation will be included in the comprehensive event strategy document. + + Ensure that your strategy aligns with the overall event goals of strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories. + """.strip() + ), + requirements=[ + "The team formation strategy must include diverse mix of departments and seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before with names and colors" + ], + user_variables={"INFORMATION_GATHERING": information_gathering.value}, + ) + assert team_formation.value is not None, ( + 'ERROR: task "team_formation" execution failed' + ) + + # 9. Design content for leadership, innovation, communication, and wellness workshops. - - WORKSHOP_CONTENT + workshop_content = m.instruct( + textwrap.dedent( + R""" + Your task is to design content for leadership, innovation, communication, and wellness workshops as part of the corporate team-building event. Follow these steps to accomplish your task: + + 1. **Understand the Workshop Requirements**: + - The workshops should focus on four key areas: leadership, innovation, communication, and wellness. + - Each workshop should be engaging, informative, and relevant to the attendees, who are employees from various departments and seniority levels. + - The workshops should align with the overall goals of strengthening team cohesion, improving cross-departmental collaboration, boosting morale, and creating lasting memories. + + 2. **Review Gathered Information**: + - Use the information gathered in the previous steps to understand the company's needs, event requirements, and constraints: + + {{INFORMATION_GATHERING}} + + + 3. **Design Leadership Workshop Content**: + - Create a workshop that focuses on leadership case studies, practical exercises, and group discussions. + - Include real-world examples and interactive activities that encourage participants to apply leadership principles. + - Ensure the content is relevant to both current leaders and those aspiring to leadership roles. + + 4. **Design Innovation Workshop Content**: + - Develop a workshop that emphasizes innovation brainstorming, creative problem-solving, and idea generation. + - Incorporate activities that encourage out-of-the-box thinking and collaboration. + - Provide tools and techniques that participants can use to foster innovation within their teams. + + 5. **Design Communication Workshop Content**: + - Create a workshop that covers effective communication strategies, active listening, and conflict resolution. + - Include exercises that help participants practice clear and concise communication. + - Address both verbal and non-verbal communication skills. + + 6. **Design Wellness Workshop Content**: + - Develop a workshop that focuses on wellness meditation, stress management, and work-life balance. + - Incorporate activities that promote physical and mental well-being. + - Provide practical tips and techniques that participants can integrate into their daily routines. + + 7. **Ensure Alignment with Event Schedule**: + - Refer to the detailed event schedule to ensure the workshops fit within the allocated time slots: + + {{EVENT_SCHEDULE}} + + + 8. **Consider Team Formation Strategy**: + - Take into account the team formation strategy to ensure the workshops cater to diverse groups: + + {{TEAM_FORMATION}} + + + 9. **Create Detailed Workshop Plans**: + - For each workshop, provide a detailed plan that includes: + - Objectives and learning outcomes + - Agenda and timeline + - Materials and resources needed + - Facilitator guidelines + - Participant activities and exercises + - Evaluation methods + + 10. **Review and Finalize**: + - Ensure the workshop content aligns with the overall event goals and constraints. + - Make any necessary adjustments to ensure the workshops are engaging, informative, and relevant to the attendees. + + Your final answer should be a detailed plan for each of the four workshops, including all the elements listed above. + """.strip() + ), + requirements=[ + "The workshop content must include leadership case studies, innovation brainstorming, communication exercises, and wellness meditation" + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "EVENT_SCHEDULE": event_schedule.value, + "TEAM_FORMATION": team_formation.value, + }, + ) + assert workshop_content.value is not None, ( + 'ERROR: task "workshop_content" execution failed' + ) + + # 10. Create a detailed catering plan with breakfast, lunch, afternoon snacks, and dinner options. - - CATERING_PLAN + catering_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to create a detailed catering plan for the corporate team-building event. The catering plan should include options for breakfast, lunch, afternoon snacks, and dinner, ensuring a diverse menu that accommodates various dietary restrictions and preferences. + + To approach this task, follow these steps: + + 1. **Review Gathered Information**: + Begin by reviewing the information gathered about the company and event requirements: + + {{INFORMATION_GATHERING}} + + + 2. **Understand the Event Schedule**: + Familiarize yourself with the event schedule to ensure the catering plan aligns with the timing of meals and breaks: + + {{EVENT_SCHEDULE}} + + + 3. **Consider Dietary Restrictions**: + Use the team formation strategy, which includes a pre-event survey for dietary restrictions and preferences, to ensure the catering plan accommodates all attendees: + + {{TEAM_FORMATION}} + + + 4. **Breakfast Options**: + Plan a breakfast menu that includes a coffee station and pastries. Ensure there are options for different dietary needs, such as gluten-free, vegan, and lactose-free choices. + + 5. **Lunch Options**: + Design a lunch buffet with a variety of options, including a salad bar and hot entrees. Provide diverse menu choices to cater to different tastes and dietary restrictions. + + 6. **Afternoon Snacks**: + Plan for afternoon snacks that are light and refreshing. Consider options like fruits, vegetables, and healthy snacks to keep energy levels up during the event. + + 7. **Dinner Options**: + Create a dinner menu with three entree choices and a full bar. Ensure there are options for different dietary needs and preferences, such as vegetarian, vegan, and gluten-free choices. + + 8. **Allergen Labeling**: + Include allergen labeling for all food items to ensure the safety and well-being of all attendees. + + 9. **Sustainability Considerations**: + Incorporate sustainable practices into the catering plan, such as using reusable serving ware and minimizing food waste. + + 10. **Budget Constraints**: + Ensure the catering plan stays within the budget constraints outlined in the budget breakdown: + + {{BUDGET_BREAKDOWN}} + + + 11. **Finalize the Catering Plan**: + Compile all the information into a detailed catering plan that includes timings, menu options, and any special considerations. + + Your final answer should be a comprehensive catering plan that meets all the requirements and constraints of the event. + """.strip() + ), + requirements=[ + "The catering plan must include breakfast coffee station and pastries, lunch buffet with salad bar and hot entrees, afternoon snacks, and dinner with three entree choices and full bar", + "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "The team formation strategy must include diverse mix of departments and seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before with names and colors", + "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000", + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "EVENT_SCHEDULE": event_schedule.value, + "TEAM_FORMATION": team_formation.value, + "BUDGET_BREAKDOWN": budget_breakdown.value, + }, + ) + assert catering_plan.value is not None, ( + 'ERROR: task "catering_plan" execution failed' + ) + + # 11. Develop logistics for all planned activities including equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules. - - ACTIVITY_LOGISTICS + activity_logistics = m.instruct( + textwrap.dedent( + R""" + Your task is to develop detailed logistics for all planned activities for the corporate team-building event. This includes creating equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules. + + To approach this task, follow these steps: + + 1. **Review the Event Schedule and Activity Plans**: + - Carefully review the event schedule and the list of planned activities from the previous steps. These include icebreaker activities, workshops, team challenges, and other events. + - Ensure you have a clear understanding of the timeline and the sequence of activities. + + 2. **Create Equipment Lists**: + - For each activity, identify the necessary equipment and materials required. + - Ensure that the equipment lists are comprehensive and include all items needed for smooth execution. + + 3. **Develop Setup Instructions**: + - Provide detailed setup instructions for each activity. + - Include information on how to arrange the space, set up equipment, and prepare the area for participants. + + 4. **Establish Safety Protocols**: + - Develop safety protocols for each activity to ensure the well-being of all participants. + - Include guidelines for emergency procedures, first aid, and any specific safety measures related to the activity. + + 5. **Prepare Facilitator Guides**: + - Create facilitator guides that outline the roles and responsibilities of the activity facilitators. + - Include step-by-step instructions, tips for engaging participants, and any other relevant information. + + 6. **Design Scoring Systems**: + - For competitive activities, design scoring systems that are fair and transparent. + - Ensure that the scoring criteria are clearly communicated to all participants. + + 7. **Plan Rotation Schedules**: + - Develop rotation schedules for activities that involve multiple groups or teams. + - Ensure that the schedules are efficient and allow for smooth transitions between activities. + + 8. **Integrate with Other Plans**: + - Ensure that the activity logistics align with the catering plan, transportation plan, and other relevant aspects of the event. + - Coordinate with the technology plan to ensure that any necessary AV equipment or WiFi access is available. + + 9. **Review and Finalize**: + - Review all the logistics plans to ensure they are comprehensive and practical. + - Make any necessary adjustments to ensure that the activities run smoothly and safely. + + Here is an example structure to guide your writing: + - **Activity Name**: [Name of the activity] + - **Equipment List**: [List of required equipment] + - **Setup Instructions**: [Detailed setup instructions] + - **Safety Protocols**: [Safety guidelines and emergency procedures] + - **Facilitator Guide**: [Roles and responsibilities, step-by-step instructions] + - **Scoring System**: [Scoring criteria and guidelines] + - **Rotation Schedule**: [Schedule for team rotations] + + Ensure that each section is clearly outlined and provides all necessary information for the successful execution of the activity. + + Finally, compile all the logistics plans into a detailed document that can be easily referenced during the event planning and execution phases. + """.strip() + ), + requirements=[ + "The activity logistics must include equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules" + ], + user_variables={}, + ) + assert activity_logistics.value is not None, ( + 'ERROR: task "activity_logistics" execution failed' + ) + + # 12. Create a transportation plan with charter buses, parking management, shuttle service, and contingency plans. - - TRANSPORTATION_PLAN + transportation_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to create a comprehensive transportation plan for the corporate team-building event. This plan should include charter buses, parking management, shuttle service, and contingency plans. Follow these steps to accomplish your task: + + 1. **Review Gathered Information**: + Start by reviewing the information gathered about the company, event requirements, and constraints. This will help you understand the specific needs and logistics of the event: + + {{INFORMATION_GATHERING}} + + + 2. **Understand the Event Schedule**: + Familiarize yourself with the detailed event schedule to ensure that the transportation plan aligns with the timing and logistics of the event: + + {{EVENT_SCHEDULE}} + + + 3. **Develop Charter Bus Plan**: + Create a plan for charter buses that includes: + - Number of buses required based on the number of attendees. + - Pick-up and drop-off locations. + - Schedule for bus arrivals and departures. + - Cost estimates and budget considerations. + + 4. **Design Parking Management Plan**: + Develop a parking management plan that includes: + - Availability of parking spaces at the venue. + - Designated parking areas for attendees, staff, and vendors. + - Parking fees and payment methods. + - Accessibility considerations for attendees with disabilities. + + 5. **Create Shuttle Service Plan**: + Outline a shuttle service plan that includes: + - Routes and schedules for shuttles. + - Pick-up and drop-off points. + - Frequency of shuttle services. + - Cost estimates and budget considerations. + + 6. **Develop Contingency Plans**: + Prepare contingency plans for potential issues such as: + - Weather-related delays or cancellations. + - Mechanical failures of buses or shuttles. + - Unexpected changes in attendee numbers. + - Alternative transportation options in case of emergencies. + + 7. **Integrate with Other Logistics**: + Ensure that the transportation plan is integrated with other event logistics, such as registration, catering, and activities. This will help ensure a smooth and coordinated event experience. + + 8. **Finalize the Transportation Plan**: + Compile all the information into a detailed transportation plan that includes all the elements mentioned above. Ensure that the plan is clear, organized, and easy to follow. + + Your final answer should be a comprehensive transportation plan that addresses all the requirements and considerations mentioned above. + """.strip() + ), + requirements=[ + "The transportation plan must include charter buses, parking management, shuttle service, and contingency plans" + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "EVENT_SCHEDULE": event_schedule.value, + }, + ) + assert transportation_plan.value is not None, ( + 'ERROR: task "transportation_plan" execution failed' + ) + + # 13. Design a registration process with online portal, on-site check-in, name tags, welcome packets, and staff training. - - REGISTRATION_PROCESS + registration_process = m.instruct( + textwrap.dedent( + R""" + Your task is to design a comprehensive registration process for the corporate team-building event. This process should include an online portal, on-site check-in, name tags, welcome packets, and staff training. Follow these steps to accomplish your task: + + 1. **Online Portal**: + - Design an online registration portal that allows employees to register for the event. + - Ensure the portal collects necessary information such as name, department, dietary restrictions, and any special needs. + - Include a confirmation email feature that sends registration details and event information to participants. + + 2. **On-Site Check-In**: + - Develop a streamlined on-site check-in process to ensure smooth and efficient entry for all attendees. + - Plan for check-in stations with clear signage and trained staff to assist participants. + - Consider using technology such as QR codes or barcode scanners to expedite the check-in process. + + 3. **Name Tags**: + - Design and prepare name tags for all attendees. + - Include the participant's name, department, and any additional information that may be relevant (e.g., dietary restrictions, accessibility needs). + - Ensure name tags are durable, easy to read, and can be worn comfortably throughout the event. + + 4. **Welcome Packets**: + - Create welcome packets that include essential event information such as the schedule, map of the venue, and any necessary forms or documents. + - Include a welcome letter from the event organizers or company executives. + - Add promotional items or swag to the packets to enhance the participant experience. + + 5. **Staff Training**: + - Develop a training program for event staff to ensure they are prepared to handle registration, check-in, and any issues that may arise. + - Train staff on the use of the online portal, check-in technology, and how to assist participants with special needs. + - Conduct mock drills to simulate the registration process and identify any potential issues or areas for improvement. + + 6. **Integration with Other Plans**: + - Ensure the registration process aligns with the overall event schedule, transportation plan, and safety plan. + - Coordinate with the technology plan to integrate any necessary tech solutions for registration and check-in. + - Consider the accessibility plan to ensure the registration process is inclusive and accommodates all participants. + + 7. **Contingency Planning**: + - Develop a contingency plan for potential issues such as technical difficulties with the online portal, high check-in volumes, or last-minute registrations. + - Ensure staff are trained to handle these scenarios and have backup plans in place. + + 8. **Review and Finalize**: + - Review the registration process to ensure it meets all requirements and aligns with the event's goals. + - Make any necessary adjustments and finalize the registration process. + + Use the information gathered in the previous steps to guide your design. Ensure the registration process is user-friendly, efficient, and aligns with the overall event strategy. + + + {{INFORMATION_GATHERING}} + + + + {{PLANNING_TIMELINE}} + + + + {{BUDGET_BREAKDOWN}} + + + + {{MARKETING_STRATEGY}} + + + + {{VENUE_SELECTION}} + + + + {{EVENT_SCHEDULE}} + + + + {{ICEBREAKER_PLANS}} + + + + {{TEAM_FORMATION}} + + + + {{WORKSHOP_CONTENT}} + + + + {{CATERING_PLAN}} + + + + {{ACTIVITY_LOGISTICS}} + + + + {{TRANSPORTATION_PLAN}} + + """.strip() + ), + requirements=[ + "The registration process must include online portal, on-site check-in, name tags, welcome packets with schedule and swag, and staff training" + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "PLANNING_TIMELINE": planning_timeline.value, + "BUDGET_BREAKDOWN": budget_breakdown.value, + "MARKETING_STRATEGY": marketing_strategy.value, + "VENUE_SELECTION": venue_selection.value, + "EVENT_SCHEDULE": event_schedule.value, + "ICEBREAKER_PLANS": icebreaker_plans.value, + "TEAM_FORMATION": team_formation.value, + "WORKSHOP_CONTENT": workshop_content.value, + "CATERING_PLAN": catering_plan.value, + "ACTIVITY_LOGISTICS": activity_logistics.value, + "TRANSPORTATION_PLAN": transportation_plan.value, + }, + ) + assert registration_process.value is not None, ( + 'ERROR: task "registration_process" execution failed' + ) + + # 14. Develop a comprehensive safety plan including insurance, first aid stations, evacuation procedures, weather contingencies, food safety, security personnel, and incident reporting. - - SAFETY_PLAN + safety_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to develop a comprehensive safety plan for the corporate team-building event. This plan should ensure the safety and well-being of all participants and staff. Follow these steps to accomplish your task: + + 1. **Understand the Event Details**: + Review the gathered information about the company, event requirements, and constraints from the previous step: + + {{INFORMATION_GATHERING}} + + + 2. **Identify Key Safety Components**: + The safety plan should include the following components: + - **Insurance**: Ensure that the event has adequate insurance coverage for all activities and participants. + - **First Aid Stations**: Plan for the setup of first aid stations at strategic locations within the venue. + - **Evacuation Procedures**: Develop clear evacuation procedures in case of emergencies. + - **Weather Contingencies**: Prepare contingency plans for adverse weather conditions. + - **Food Safety**: Implement food safety measures, including allergen labeling and proper handling procedures. + - **Security Personnel**: Arrange for security personnel to be present throughout the event. + - **Incident Reporting**: Establish a system for reporting and managing incidents during the event. + + 3. **Create Detailed Plans for Each Component**: + - **Insurance**: Specify the type and amount of insurance required, and ensure that all vendors and participants are covered. + - **First Aid Stations**: Determine the number and location of first aid stations, and ensure that they are staffed by qualified medical personnel. + - **Evacuation Procedures**: Develop a clear and concise evacuation plan, including designated assembly points and communication protocols. + - **Weather Contingencies**: Prepare alternative plans for outdoor activities in case of bad weather, including indoor alternatives and rescheduling options. + - **Food Safety**: Work with caterers to ensure that all food is prepared and served safely, with clear labeling of allergens. + - **Security Personnel**: Hire and brief security personnel on their roles and responsibilities, including crowd control and emergency response. + - **Incident Reporting**: Create a system for reporting incidents, including forms and protocols for documenting and addressing issues. + + 4. **Review and Finalize the Safety Plan**: + Ensure that the safety plan is comprehensive and addresses all potential risks and contingencies. Make any necessary adjustments to ensure that the plan is practical and effective. + + 5. **Output the Safety Plan**: + Provide the detailed safety plan as your final answer. The plan should be clear, concise, and easy to follow, ensuring that all safety measures are in place for a successful event. + """.strip() + ), + requirements=[ + "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting" + ], + user_variables={"INFORMATION_GATHERING": information_gathering.value}, + ) + assert safety_plan.value is not None, 'ERROR: task "safety_plan" execution failed' + + # 15. Create a vendor management strategy with selection criteria, contracts, payment schedules, and evaluation forms. - - VENDOR_MANAGEMENT + vendor_management = m.instruct( + textwrap.dedent( + R""" + Your task is to create a comprehensive vendor management strategy for the corporate team-building event. This strategy should include selection criteria, contracts, payment schedules, and evaluation forms. Follow these steps to accomplish your task: + + 1. **Understand the Requirements**: + Review the gathered information about the company, event requirements, and constraints from the previous step: + + {{INFORMATION_GATHERING}} + + + 2. **Define Selection Criteria**: + Develop a set of selection criteria for vendors. Consider factors such as: + - Experience and reputation + - Cost-effectiveness + - Availability and capacity + - Quality of services or products + - Compatibility with event goals and values + - Sustainability practices + - Customer reviews and references + + 3. **Create Contract Templates**: + Design standard contract templates that outline: + - Scope of work + - Deliverables + - Timeline and milestones + - Payment terms + - Cancellation and refund policies + - Liability and insurance requirements + - Confidentiality and data protection clauses + + 4. **Develop Payment Schedules**: + Establish payment schedules for each vendor category (e.g., venue rental, catering, entertainment, transportation, technology). Consider: + - Deposit amounts and due dates + - Progress payments tied to milestones + - Final payments upon completion + - Payment methods and invoicing procedures + + 5. **Design Evaluation Forms**: + Create evaluation forms to assess vendor performance. Include sections for: + - Quality of services or products + - Timeliness and reliability + - Professionalism and communication + - Adherence to budget and contract terms + - Customer feedback and satisfaction + - Recommendations for future events + + 6. **Compile the Vendor Management Strategy**: + Combine all the above elements into a cohesive vendor management strategy document. Ensure it is clear, detailed, and aligned with the event's goals and constraints. + + Your final answer should be a comprehensive vendor management strategy document that includes selection criteria, contract templates, payment schedules, and evaluation forms. + """.strip() + ), + requirements=[ + "The vendor management strategy must include selection criteria, contracts, payment schedules, and evaluation forms" + ], + user_variables={"INFORMATION_GATHERING": information_gathering.value}, + ) + assert vendor_management.value is not None, ( + 'ERROR: task "vendor_management" execution failed' + ) + + # 16. Design a technology plan with event app, AV equipment, WiFi, photography services, live streaming, and tech support. - - TECHNOLOGY_PLAN + technology_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to design a comprehensive technology plan for the corporate team-building event. This plan should ensure seamless integration of technology to enhance the event experience, facilitate smooth operations, and support all planned activities. + + To accomplish this, follow these steps: + + 1. **Event App**: + - Design an event app that will serve as a central hub for scheduling, messaging, and real-time updates. + - Include features such as personalized schedules, team assignments, interactive maps, and push notifications. + - Ensure the app is user-friendly and accessible on both iOS and Android platforms. + + 2. **AV Equipment**: + - Plan for all necessary audio-visual equipment, including microphones, speakers, projectors, and screens. + - Ensure that the AV setup is compatible with the venue's infrastructure and meets the requirements for presentations, workshops, and the opening ceremony. + + 3. **WiFi**: + - Arrange for robust WiFi coverage capable of supporting 300+ devices simultaneously. + - Work with the venue and internet service providers to ensure reliable connectivity throughout the event. + + 4. **Photography Services**: + - Hire professional photographers to capture key moments during the event. + - Plan for photo backdrops, designated photo areas, and a system for sharing photos with participants post-event. + + 5. **Live Streaming**: + - Set up live streaming capabilities for any sessions that need to be broadcast to remote participants or recorded for future reference. + - Ensure high-quality video and audio streaming with minimal latency. + + 6. **Tech Support**: + - Assign a dedicated tech support team to troubleshoot any issues that arise during the event. + - Provide clear contact information and a quick response protocol for technical difficulties. + + 7. **Integration with Other Plans**: + - Coordinate with the marketing and communication strategy to ensure the event app and other technology tools are promoted effectively. + - Align with the registration process to integrate the event app with the online portal and on-site check-in. + + 8. **Safety and Contingency**: + - Include backup plans for technology failures, such as alternative AV setups and backup internet connections. + - Ensure that all technology plans comply with the safety plan and contingency planning. + + 9. **Budget Considerations**: + - Estimate the costs for each technology component and ensure they fit within the overall budget. + - Prioritize cost-effective solutions that meet the event's requirements without compromising quality. + + 10. **Documentation**: + - Create detailed documentation for each technology component, including setup instructions, user guides, and troubleshooting tips. + - Share this documentation with relevant stakeholders, including event staff, vendors, and participants. + + Use the gathered information and previous steps to inform your technology plan. Ensure that all technology solutions are scalable, reliable, and enhance the overall event experience. + + Finally, compile your technology plan into a clear and concise document that can be integrated into the comprehensive event strategy document. + """.strip() + ), + requirements=[ + "The technology plan must include event app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, live streaming, and tech support", + "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + ], + user_variables={}, + ) + assert technology_plan.value is not None, ( + 'ERROR: task "technology_plan" execution failed' + ) + + # 17. Develop a decoration strategy with signage, team colors, photo backdrops, and sustainable options. - - DECORATION_STRATEGY + decoration_strategy = m.instruct( + textwrap.dedent( + R""" + Your task is to develop a comprehensive decoration strategy for the corporate team-building event. This strategy should focus on creating an engaging and visually appealing environment that aligns with the event's goals and themes. Follow these steps to accomplish your task: + + 1. **Understand the Event Requirements**: + Review the gathered information about the company, event requirements, and constraints from the previous step: + + {{INFORMATION_GATHERING}} + + + 2. **Review the Event Schedule and Theme**: + Ensure that the decoration strategy aligns with the event schedule and overall theme. Refer to the event schedule and other relevant plans: + + {{EVENT_SCHEDULE}} + + + 3. **Develop Signage Strategy**: + Create a plan for signage that includes: + - Welcome signs at the entrance + - Directional signs for different event areas + - Informational signs for activities and workshops + - Team identification signs + Ensure that all signage is clear, visually appealing, and consistent with the event's branding. + + 4. **Design Team Colors and Identification**: + Develop a strategy for using team colors to identify different teams. This can include: + - Color-coded name tags and lanyards + - Team-specific decorations and signage + - Color-coordinated table settings and seating arrangements + Ensure that the team colors are easily distinguishable and contribute to a cohesive visual theme. + + 5. **Create Photo Backdrops**: + Design photo backdrops that are visually appealing and align with the event's theme. Consider: + - Themed backdrops for different event areas + - Customizable backdrops that can be personalized with team names or slogans + - Backdrops that incorporate the company's branding and colors + Ensure that the photo backdrops are easily accessible and encourage participants to take photos. + + 6. **Incorporate Sustainable Options**: + Develop a strategy for incorporating sustainable decoration options. This can include: + - Using reusable or recyclable materials + - Choosing eco-friendly signage and backdrops + - Implementing digital signage where possible + - Ensuring proper waste management and recycling practices + Ensure that the sustainable options are practical and do not compromise the visual appeal of the decorations. + + 7. **Review and Finalize the Strategy**: + Ensure that the decoration strategy is comprehensive and aligns with the event's goals and requirements. Make any necessary adjustments to ensure that the strategy is practical and effective. + + Finally, write the decoration strategy document that includes all the above elements. This document will serve as a guide for implementing the decoration strategy during the event. + """.strip() + ), + requirements=[ + "The decoration strategy must include signage, team colors, photo backdrops, and sustainable options" + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "EVENT_SCHEDULE": event_schedule.value, + }, + ) + assert decoration_strategy.value is not None, ( + 'ERROR: task "decoration_strategy" execution failed' + ) + + # 18. Create an entertainment plan with live band or DJ, emcee, interactive activities, and evening games. - - ENTERTAINMENT_PLAN + entertainment_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to create an entertainment plan for the corporate team-building event. The plan should include a live band or DJ, an emcee, interactive activities, and evening games. Follow these steps to accomplish your task: + + 1. **Review the Event Schedule**: + Ensure that the entertainment plan aligns with the event schedule. You can refer to the event schedule from the previous step: + + {{EVENT_SCHEDULE}} + + + 2. **Select Entertainment Options**: + Choose between a live band or a DJ for the event. Consider the preferences of the attendees and the overall theme of the event. Additionally, decide on an emcee who will guide the event and engage the audience. + + 3. **Plan Interactive Activities**: + Develop a list of interactive activities that will engage the attendees. These activities should be fun, inclusive, and align with the team-building goals of the event. Examples include trivia games, karaoke, and dance-offs. + + 4. **Design Evening Games**: + Create a list of evening games that will keep the attendees entertained and engaged. These games should be suitable for the time of day and the overall atmosphere of the event. Examples include casino night, poker tournaments, and photo booths. + + 5. **Coordinate with Other Plans**: + Ensure that the entertainment plan coordinates with other aspects of the event, such as the catering plan, technology plan, and decoration strategy. You can refer to the following plans from the previous steps: + + {{CATERING_PLAN}} + + + {{TECHNOLOGY_PLAN}} + + + {{DECORATION_STRATEGY}} + + + 6. **Create a Detailed Entertainment Plan**: + Write a detailed entertainment plan that includes the following information: + - **Live Band or DJ**: Specify the type of entertainment, the duration, and any specific requirements. + - **Emcee**: Provide details about the emcee, including their role and responsibilities. + - **Interactive Activities**: List the interactive activities, their duration, and any necessary equipment or setup. + - **Evening Games**: Describe the evening games, their duration, and any specific instructions or rules. + + Ensure that the entertainment plan is comprehensive and covers all aspects of the event. The plan should be clear, concise, and easy to follow. + + Finally, provide the detailed entertainment plan as your answer. + """.strip() + ), + requirements=[ + "The entertainment plan must include live band or DJ, emcee, interactive activities, and evening games", + "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + ], + user_variables={ + "EVENT_SCHEDULE": event_schedule.value, + "CATERING_PLAN": catering_plan.value, + "TECHNOLOGY_PLAN": technology_plan.value, + "DECORATION_STRATEGY": decoration_strategy.value, + }, + ) + assert entertainment_plan.value is not None, ( + 'ERROR: task "entertainment_plan" execution failed' + ) + + # 19. Design a prize strategy with team prizes, individual awards, participation gifts, and raffle prizes. - - PRIZE_STRATEGY + prize_strategy = m.instruct( + textwrap.dedent( + R""" + Your task is to design a prize strategy for the corporate team-building event. The prize strategy should include team prizes, individual awards, participation gifts, and raffle prizes. Follow these steps to accomplish your task: + + 1. **Understand the Event Context**: + Review the gathered information about the company, event requirements, and constraints from the previous step: + + {{INFORMATION_GATHERING}} + + + 2. **Define Prize Categories**: + Identify the different categories of prizes needed for the event. These should include: + - **Team Prizes**: Prizes for the top-performing teams, such as first, second, and third place. + - **Individual Awards**: Recognition for outstanding individual performances or contributions. + - **Participation Gifts**: Small gifts or tokens of appreciation for all attendees. + - **Raffle Prizes**: Prizes to be raffled off during the event, which can be won by any attendee. + + 3. **Determine Prize Values**: + Based on the budget breakdown and the overall event budget, determine the appropriate values for each prize category. Ensure that the prize strategy aligns with the total estimated budget: + + {{BUDGET_BREAKDOWN}} + + + 4. **Plan Team Prizes**: + Design a tiered prize structure for team prizes. For example: + - **First Place Team Prize**: $500 value + - **Second Place Team Prize**: $300 value + - **Third Place Team Prize**: $200 value + + 5. **Plan Individual Awards**: + Identify criteria for individual awards, such as "Most Innovative Idea," "Best Team Player," or "Outstanding Leadership." Determine the type and value of each individual award. + + 6. **Plan Participation Gifts**: + Choose small, meaningful gifts that can be given to all attendees. These could include branded merchandise, gift cards, or other tokens of appreciation. + + 7. **Plan Raffle Prizes**: + Select a variety of raffle prizes that appeal to a broad range of attendees. Consider including high-value items, experiences, or other exciting prizes. + + 8. **Integrate with Event Schedule**: + Ensure that the prize strategy aligns with the event schedule, including when and how prizes will be awarded. Review the event schedule from the previous step: + + {{EVENT_SCHEDULE}} + + + 9. **Document the Prize Strategy**: + Compile all the information into a detailed prize strategy document. Include the following sections: + - **Team Prizes**: Description and value of each team prize. + - **Individual Awards**: Criteria and description of each individual award. + - **Participation Gifts**: Description and distribution plan for participation gifts. + - **Raffle Prizes**: Description and selection process for raffle prizes. + + 10. **Review and Finalize**: + Review the prize strategy to ensure it meets all event requirements and aligns with the overall event goals. Make any necessary adjustments to ensure clarity and completeness. + + Your final answer should be a detailed prize strategy document that includes all the above information. + """.strip() + ), + requirements=[ + "The prize strategy must include team prizes at $500, $300, and $200, individual awards, participation gifts, and raffle prizes" + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "BUDGET_BREAKDOWN": budget_breakdown.value, + "EVENT_SCHEDULE": event_schedule.value, + }, + ) + assert prize_strategy.value is not None, ( + 'ERROR: task "prize_strategy" execution failed' + ) + + # 20. Develop a post-event evaluation plan with participant survey, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications. - - POST_EVENT_EVALUATION + post_event_evaluation = m.instruct( + textwrap.dedent( + R""" + Your task is to develop a comprehensive post-event evaluation plan for the corporate team-building event. This plan should include the following components: + + 1. **Participant Survey**: + - Design a survey to be sent within 24 hours of the event. + - Include questions that assess the overall experience, specific activities, workshops, catering, and any areas for improvement. + - Ensure the survey is concise, easy to complete, and covers all key aspects of the event. + + 2. **Debriefing Sessions**: + - Plan debriefing sessions with the event planning team and key stakeholders. + - Schedule these sessions within a week after the event to discuss what went well, what could be improved, and any lessons learned. + - Document the outcomes of these sessions for future reference. + + 3. **Budget Reconciliation**: + - Compare the actual expenses with the estimated budget. + - Identify any budget overruns or savings. + - Provide a detailed report on the financial performance of the event. + + 4. **Photo Compilation**: + - Gather all photos taken during the event. + - Create a digital album or slideshow to share with participants and stakeholders. + - Ensure the photos are organized and easily accessible. + + 5. **Impact Assessment**: + - Evaluate the impact of the event on team cohesion, cross-departmental collaboration, and morale. + - Use feedback from the participant survey and debriefing sessions to assess the event's success. + - Provide a summary of the event's overall impact and any measurable outcomes. + + 6. **Thank You Communications**: + - Prepare thank-you messages for all participants, vendors, and stakeholders. + - Include a brief summary of the event's success and express gratitude for their contributions. + - Send these communications within a week after the event. + + To accomplish this task, follow these steps: + + 1. **Review Event Details**: + - Refer to the gathered information about the company, event requirements, and constraints: + + {{INFORMATION_GATHERING}} + + + 2. **Design the Participant Survey**: + - Create a survey that covers all key aspects of the event. + - Ensure the survey is user-friendly and can be completed quickly. + + 3. **Plan Debriefing Sessions**: + - Schedule sessions with the event planning team and key stakeholders. + - Prepare an agenda for each session to ensure productive discussions. + + 4. **Conduct Budget Reconciliation**: + - Compare actual expenses with the estimated budget. + - Identify any discrepancies and document the findings. + + 5. **Compile Photos**: + - Gather all photos from the event. + - Organize them into a digital album or slideshow. + + 6. **Assess Impact**: + - Use feedback from the survey and debriefing sessions to evaluate the event's impact. + - Provide a summary of the event's success and any measurable outcomes. + + 7. **Prepare Thank You Communications**: + - Draft thank-you messages for participants, vendors, and stakeholders. + - Include a brief summary of the event's success and express gratitude. + + 8. **Compile the Post-Event Evaluation Plan**: + - Combine all the components into a comprehensive post-event evaluation plan. + - Ensure the plan is clear, detailed, and ready for implementation. + + Your final answer should be the complete post-event evaluation plan, including all the components mentioned above. + """.strip() + ), + requirements=[ + "The post-event evaluation must include participant survey within 24 hours, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications" + ], + user_variables={"INFORMATION_GATHERING": information_gathering.value}, + ) + assert post_event_evaluation.value is not None, ( + 'ERROR: task "post_event_evaluation" execution failed' + ) + + # 21. Create an accessibility plan with ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation. - - ACCESSIBILITY_PLAN + accessibility_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to create an accessibility plan for the corporate team-building event. This plan should ensure that the event is inclusive and accommodates the diverse needs of all attendees. Follow these steps to accomplish your task: + + 1. **Understand the Requirements**: + Review the gathered information about the company and event requirements to understand the specific needs and constraints related to accessibility: + + {{INFORMATION_GATHERING}} + + + 2. **ADA Compliance**: + Ensure that the event venue and all activities comply with the Americans with Disabilities Act (ADA) standards. This includes: + - Accessible entry points and pathways + - Adequate space for mobility devices + - Accessible restrooms + - Clear signage and directions + + 3. **Interpreters and Assistive Technology**: + Plan for the provision of interpreters for attendees who are deaf or hard of hearing. Additionally, consider any assistive technology that may be required, such as: + - Hearing assistance devices + - Visual aids + - Braille materials + + 4. **Activity Modifications**: + Modify activities to ensure they are accessible to all attendees. This may include: + - Providing alternative activities for those who cannot participate in certain events + - Adjusting the difficulty level of activities + - Ensuring that all activities can be performed by individuals with varying abilities + + 5. **Dietary Accommodation**: + Accommodate dietary restrictions and preferences by: + - Offering a variety of food options that cater to different dietary needs (e.g., vegetarian, vegan, gluten-free, allergies) + - Clearly labeling all food items with allergen information + - Providing a pre-event survey to gather dietary information from attendees + + 6. **Inclusive Team Formation**: + Ensure that teams are formed inclusively by: + - Mixing departments and seniority levels + - Considering the abilities and preferences of each attendee + - Providing clear team assignments and communication channels + + 7. **Safety and Emergency Procedures**: + Develop safety and emergency procedures that are accessible to all attendees. This includes: + - Clear evacuation routes and procedures + - Accessible first aid stations + - Emergency contact information + + 8. **Communication Plan**: + Create a communication plan that ensures all attendees are informed about accessibility options and how to access them. This may include: + - Including accessibility information in event materials + - Providing a dedicated point of contact for accessibility-related questions + - Using multiple communication channels (e.g., email, event app, Slack) + + 9. **Review and Finalize**: + Review the accessibility plan to ensure it meets all requirements and addresses the diverse needs of the attendees. Make any necessary adjustments and finalize the plan. + + Your final answer should be a comprehensive accessibility plan that includes all the elements outlined above. + """.strip() + ), + requirements=[ + "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation" + ], + user_variables={"INFORMATION_GATHERING": information_gathering.value}, + ) + assert accessibility_plan.value is not None, ( + 'ERROR: task "accessibility_plan" execution failed' + ) + + # 22. Create a contingency plan for weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns. - - CONTINGENCY_PLANNING + contingency_planning = m.instruct( + textwrap.dedent( + R""" + Your task is to create a comprehensive contingency plan for the corporate team-building event. This plan should address potential risks and ensure the event can proceed smoothly despite unforeseen circumstances. Follow these steps to accomplish your task: + + 1. **Identify Potential Risks**: + - **Weather Emergencies**: Consider the possibility of extreme weather conditions that could disrupt the event. Think about both indoor and outdoor activities. + - **Vendor Cancellations**: Identify key vendors and the impact of their cancellation on the event. + - **Technology Failures**: Consider the technology requirements for the event and potential failures that could occur. + - **Medical Emergencies**: Plan for any medical emergencies that might arise during the event. + - **Budget Overruns**: Identify areas where budget overruns might occur and plan for alternative solutions. + + 2. **Develop Contingency Strategies**: + - **Weather Emergencies**: + - **Indoor Activities**: Have a backup plan for moving outdoor activities indoors. + - **Outdoor Activities**: Consider alternative dates or locations if necessary. + - **Communication**: Develop a communication plan to inform attendees of any changes due to weather. + - **Vendor Cancellations**: + - **Backup Vendors**: Identify and contract backup vendors for critical services. + - **Alternative Solutions**: Develop alternative solutions for essential services. + - **Technology Failures**: + - **Backup Equipment**: Ensure backup AV equipment and tech support are available. + - **Manual Processes**: Have manual processes in place in case of technology failures. + - **Medical Emergencies**: + - **First Aid Stations**: Ensure adequate first aid stations and trained personnel are available. + - **Emergency Protocols**: Develop clear protocols for handling medical emergencies. + - **Budget Overruns**: + - **Cost-Saving Measures**: Identify areas where costs can be reduced without compromising the event. + - **Contingency Fund**: Allocate a contingency fund to cover unexpected expenses. + + 3. **Implement and Monitor**: + - **Implementation**: Ensure all contingency plans are implemented as part of the overall event strategy. + - **Monitoring**: Continuously monitor the event for any signs of the identified risks and be prepared to activate the contingency plans as needed. + + 4. **Documentation**: + - **Contingency Plan Document**: Create a detailed contingency plan document that includes all the strategies developed. This document should be part of the comprehensive event strategy document. + + 5. **Review and Update**: + - **Regular Reviews**: Regularly review and update the contingency plan as the event approaches to ensure it remains relevant and effective. + + Use the information gathered in the previous steps to inform your contingency planning. Ensure that all aspects of the event are covered and that the contingency plans are practical and feasible. + + Finally, compile the contingency plan into a clear and concise document that can be easily referenced during the event planning and execution phases. + """.strip() + ), + requirements=[ + "The contingency planning must include weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns", + "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + ], + user_variables={}, + ) + assert contingency_planning.value is not None, ( + 'ERROR: task "contingency_planning" execution failed' + ) + + # 23. Develop a sustainability plan with eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management. - - SUSTAINABILITY_PLAN + sustainability_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to develop a comprehensive sustainability plan for the corporate team-building event. This plan should focus on minimizing the environmental impact of the event while ensuring a memorable and enjoyable experience for all participants. + + To accomplish this, follow these steps: + + 1. **Understand the Event Requirements**: + Review the gathered information about the company, event requirements, and constraints: + + {{INFORMATION_GATHERING}} + + + 2. **Identify Key Sustainability Areas**: + Focus on the following key areas to create a sustainable event: + - **Eco-friendly Venue**: Select a venue that has eco-friendly practices, such as energy-efficient lighting, waste reduction programs, and sustainable building materials. + - **Local Catering**: Partner with local caterers who source ingredients locally and use sustainable practices. Ensure they offer diverse menu options that accommodate dietary restrictions. + - **Reusable Serving Ware**: Use reusable or compostable serving ware to minimize waste. Avoid single-use plastics and encourage the use of reusable cups, plates, and cutlery. + - **Digital Communications**: Utilize digital communications for invitations, reminders, and event information to reduce paper waste. Create a mobile event app for scheduling and messaging. + - **Recyclable Decorations**: Choose decorations that are recyclable or made from sustainable materials. Avoid non-biodegradable materials and opt for eco-friendly alternatives. + - **Waste Management**: Implement a comprehensive waste management plan that includes recycling stations, composting, and proper disposal of waste. Educate participants on the importance of waste reduction and proper disposal methods. + + 3. **Develop Detailed Strategies**: + For each key area, develop detailed strategies that outline the steps to be taken, the resources required, and the expected outcomes. Ensure that the strategies align with the overall event goals and constraints. + + 4. **Create a Sustainability Timeline**: + Integrate the sustainability plan into the overall event timeline. Ensure that sustainability initiatives are scheduled appropriately and that all necessary actions are taken in a timely manner. + + 5. **Budget Considerations**: + Review the budget breakdown to ensure that the sustainability plan is cost-effective and aligns with the total estimated budget: + + {{BUDGET_BREAKDOWN}} + + + 6. **Communication Plan**: + Develop a communication plan to inform participants about the sustainability initiatives. Use the marketing and communication strategy to promote the event's eco-friendly practices: + + {{MARKETING_STRATEGY}} + + + 7. **Vendor Management**: + Ensure that all vendors adhere to the sustainability plan. Include sustainability criteria in the vendor selection process and monitor their compliance throughout the event: + + {{VENDOR_MANAGEMENT}} + + + 8. **Post-Event Evaluation**: + Include sustainability metrics in the post-event evaluation plan. Assess the effectiveness of the sustainability initiatives and identify areas for improvement in future events: + + {{POST_EVENT_EVALUATION}} + + + 9. **Contingency Planning**: + Develop contingency plans for potential sustainability challenges, such as waste management issues or vendor non-compliance. Ensure that the contingency planning aligns with the overall event strategy: + + {{CONTINGENCY_PLANNING}} + + + 10. **Finalize the Sustainability Plan**: + Compile all the information into a detailed sustainability plan that outlines the strategies, timelines, budget considerations, communication plans, vendor management, post-event evaluation, and contingency planning. + + Ensure that the sustainability plan is integrated into the comprehensive event strategy document and that all planning follows best practices, creates memorable experiences, accommodates diverse needs, stays within budget, prioritizes safety, incorporates sustainable practices, leverages technology, builds excitement, and measures success. + """.strip() + ), + requirements=[ + "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "BUDGET_BREAKDOWN": budget_breakdown.value, + "MARKETING_STRATEGY": marketing_strategy.value, + "VENDOR_MANAGEMENT": vendor_management.value, + "POST_EVENT_EVALUATION": post_event_evaluation.value, + "CONTINGENCY_PLANNING": contingency_planning.value, + }, + ) + assert sustainability_plan.value is not None, ( + 'ERROR: task "sustainability_plan" execution failed' + ) + + # 24. Compile all the information into a comprehensive event strategy document. - - EVENT_STRATEGY_DOCUMENT + event_strategy_document = m.instruct( + textwrap.dedent( + R""" + Your task is to compile all the information gathered and planned in the previous steps into a comprehensive event strategy document. This document will serve as the blueprint for executing the corporate team-building event. + + To accomplish this, follow these steps: + + 1. **Review All Previous Steps**: + Carefully review the information and plans developed in the previous steps. This includes: + - Information Gathering: {{INFORMATION_GATHERING}} + - Planning Timeline: {{PLANNING_TIMELINE}} + - Budget Breakdown: {{BUDGET_BREAKDOWN}} + - Marketing Strategy: {{MARKETING_STRATEGY}} + - Venue Selection: {{VENUE_SELECTION}} + - Event Schedule: {{EVENT_SCHEDULE}} + - Icebreaker Plans: {{ICEBREAKER_PLANS}} + - Team Formation: {{TEAM_FORMATION}} + - Workshop Content: {{WORKSHOP_CONTENT}} + - Catering Plan: {{CATERING_PLAN}} + - Activity Logistics: {{ACTIVITY_LOGISTICS}} + - Transportation Plan: {{TRANSPORTATION_PLAN}} + - Registration Process: {{REGISTRATION_PROCESS}} + - Safety Plan: {{SAFETY_PLAN}} + - Vendor Management: {{VENDOR_MANAGEMENT}} + - Technology Plan: {{TECHNOLOGY_PLAN}} + - Decoration Strategy: {{DECORATION_STRATEGY}} + - Entertainment Plan: {{ENTERTAINMENT_PLAN}} + - Prize Strategy: {{PRIZE_STRATEGY}} + - Post-Event Evaluation: {{POST_EVENT_EVALUATION}} + - Accessibility Plan: {{ACCESSIBILITY_PLAN}} + - Sustainability Plan: {{SUSTAINABILITY_PLAN}} + - Contingency Planning: {{CONTINGENCY_PLANNING}} + + 2. **Organize the Information**: + Structure the event strategy document in a logical and coherent manner. Use clear headings and subheadings to organize the content. Here is a suggested structure: + - **Executive Summary**: A brief overview of the event's objectives, key highlights, and expected outcomes. + - **Event Overview**: Detailed description of the event, including its purpose, goals, and target audience. + - **Planning Timeline**: The detailed planning timeline starting 6 months before the event with weekly milestones. + - **Budget Breakdown**: Comprehensive breakdown of the budget for venue rental, catering, entertainment, transportation, technology, and total estimated budget. + - **Marketing and Communication Strategy**: Detailed strategy for save-the-date announcements, formal invitations, reminder emails, internal campaigns, and other communication methods. + - **Venue Selection**: Process for evaluating and selecting the best venue based on capacity, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi, catering facilities, accommodations, and cost-effectiveness. + - **Event Schedule**: Detailed event schedule from 8:00 AM to 8:00 PM including registration, breakfast, opening ceremony, icebreaker activities, workshops, lunch, team challenges, awards ceremony, and dinner with entertainment. + - **Icebreaker Activities**: List of 15 icebreaker activities with detailed plans. + - **Team Formation Strategy**: Strategy for forming diverse teams with a mix of departments and seniority, pre-event survey for dietary restrictions, and team assignments 2 weeks before the event. + - **Workshop Content**: Content for leadership, innovation, communication, and wellness workshops. + - **Catering Plan**: Detailed catering plan with breakfast, lunch, afternoon snacks, and dinner options. + - **Activity Logistics**: Logistics for all planned activities including equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules. + - **Transportation Plan**: Plan for charter buses, parking management, shuttle service, and contingency plans. + - **Registration Process**: Process for online portal, on-site check-in, name tags, welcome packets, and staff training. + - **Safety Plan**: Comprehensive safety plan including insurance, first aid stations, evacuation procedures, weather contingencies, food safety, security personnel, and incident reporting. + - **Vendor Management**: Strategy for vendor selection, contracts, payment schedules, and evaluation forms. + - **Technology Plan**: Plan for event app, AV equipment, WiFi, photography services, live streaming, and tech support. + - **Decoration Strategy**: Strategy for signage, team colors, photo backdrops, and sustainable options. + - **Entertainment Plan**: Plan for live band or DJ, emcee, interactive activities, and evening games. + - **Prize Strategy**: Strategy for team prizes, individual awards, participation gifts, and raffle prizes. + - **Post-Event Evaluation**: Plan for participant survey, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications. + - **Accessibility Plan**: Plan for ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation. + - **Sustainability Plan**: Plan for eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management. + - **Contingency Planning**: Plan for weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns. + + 3. **Compile the Document**: + Combine all the organized information into a single, cohesive document. Ensure that the document is well-structured, easy to read, and includes all necessary details for executing the event. + + 4. **Review and Finalize**: + Review the compiled document to ensure accuracy, completeness, and clarity. Make any necessary adjustments to ensure that the document meets all requirements and standards. + + 5. **Output the Event Strategy Document**: + Provide the final event strategy document as your answer. Ensure that the document is well-formatted and ready for use. + """.strip() + ), + requirements=[ + "The event strategy document must include detailed planning timelines starting 6 months before the event with weekly milestones", + "The budget breakdowns must include venue rental at $15,000-25,000, catering at $75-125 per person, entertainment and activities at $10,000-20,000, transportation at $3,000-8,000, technology at $5,000-10,000, and total estimated budget of $50,000-125,000", + "The marketing and communication strategy must include save-the-date announcements 4 months in advance, formal invitations 2 months before, weekly reminder emails, internal campaigns, dedicated Slack channel, executive videos, and mobile event app", + "The venue selection process must evaluate 10 venues based on capacity for 100-300 people, accessibility, parking, indoor/outdoor space, AV capabilities, WiFi for 300+ devices, catering facilities, accommodations, and cost-effectiveness", + "The event schedule must include registration and breakfast at 8:00-9:00 AM, opening ceremony at 9:00-9:30 AM with CEO speech, icebreaker activities at 9:30-10:30 AM including human bingo and speed networking, morning workshops at 10:30 AM-12:30 PM with tracks on leadership, innovation, communication, and wellness, lunch at 12:30-2:00 PM with diverse menu options, afternoon team challenges at 2:00-5:00 PM including scavenger hunt, escape rooms, outdoor adventures, cooking competition, and sports tournaments, awards ceremony at 5:00-5:30 PM, and dinner with entertainment at 5:30-8:00 PM", + "The icebreaker plans must include 15 options including human knot, marshmallow tower, obstacle course, pictionary, charades, and trust falls", + "The team formation strategy must include diverse mix of departments and seniority in teams of 8-12 people, pre-event survey for dietary restrictions and preferences, and team assignments 2 weeks before with names and colors", + "The workshop content must include leadership case studies, innovation brainstorming, communication exercises, and wellness meditation", + "The catering plan must include breakfast coffee station and pastries, lunch buffet with salad bar and hot entrees, afternoon snacks, and dinner with three entree choices and full bar", + "The activity logistics must include equipment lists, setup instructions, safety protocols, facilitator guides, scoring systems, and rotation schedules", + "The transportation plan must include charter buses, parking management, shuttle service, and contingency plans", + "The registration process must include online portal, on-site check-in, name tags, welcome packets with schedule and swag, and staff training", + "The safety plan must include insurance, first aid stations, evacuation procedures, weather contingencies, food safety with allergen labeling, security personnel, and incident reporting", + "The vendor management strategy must include selection criteria, contracts, payment schedules, and evaluation forms", + "The technology plan must include event app for scheduling and messaging, AV equipment, WiFi for 300+ connections, photography services, live streaming, and tech support", + "The decoration strategy must include signage, team colors, photo backdrops, and sustainable options", + "The entertainment plan must include live band or DJ, emcee, interactive activities, and evening games", + "The prize strategy must include team prizes at $500, $300, and $200, individual awards, participation gifts, and raffle prizes", + "The post-event evaluation must include participant survey within 24 hours, debriefing sessions, budget reconciliation, photo compilation, impact assessment, and thank you communications", + "The accessibility plan must include ADA compliance, interpreters, activity modifications, dietary accommodation, and inclusive team formation", + "The sustainability plan must include eco-friendly venue, local catering, reusable serving ware, digital communications, recyclable decorations, and waste management", + "The contingency planning must include weather emergencies, vendor cancellations, technology failures, medical emergencies, and budget overruns", + "All planning must follow best practices, create memorable experiences, accommodate diverse needs, stay within budget, prioritize safety, incorporate sustainable practices, leverage technology, build excitement, and measure success", + ], + user_variables={ + "INFORMATION_GATHERING": information_gathering.value, + "PLANNING_TIMELINE": planning_timeline.value, + "BUDGET_BREAKDOWN": budget_breakdown.value, + "MARKETING_STRATEGY": marketing_strategy.value, + "VENUE_SELECTION": venue_selection.value, + "EVENT_SCHEDULE": event_schedule.value, + "ICEBREAKER_PLANS": icebreaker_plans.value, + "TEAM_FORMATION": team_formation.value, + "WORKSHOP_CONTENT": workshop_content.value, + "CATERING_PLAN": catering_plan.value, + "ACTIVITY_LOGISTICS": activity_logistics.value, + "TRANSPORTATION_PLAN": transportation_plan.value, + "REGISTRATION_PROCESS": registration_process.value, + "SAFETY_PLAN": safety_plan.value, + "VENDOR_MANAGEMENT": vendor_management.value, + "TECHNOLOGY_PLAN": technology_plan.value, + "DECORATION_STRATEGY": decoration_strategy.value, + "ENTERTAINMENT_PLAN": entertainment_plan.value, + "PRIZE_STRATEGY": prize_strategy.value, + "POST_EVENT_EVALUATION": post_event_evaluation.value, + "ACCESSIBILITY_PLAN": accessibility_plan.value, + "SUSTAINABILITY_PLAN": sustainability_plan.value, + "CONTINGENCY_PLANNING": contingency_planning.value, + }, + ) + assert event_strategy_document.value is not None, ( + 'ERROR: task "event_strategy_document" execution failed' + ) + + final_answer = event_strategy_document.value + + print(final_answer) diff --git a/docs/examples/m_decompose/python/python_decompose_example.py b/docs/examples/m_decompose/python/python_decompose_example.py new file mode 100644 index 000000000..ceef015b6 --- /dev/null +++ b/docs/examples/m_decompose/python/python_decompose_example.py @@ -0,0 +1,225 @@ +#!/usr/bin/env python3 +""" +Example: Using Mellea's decompose functionality programmatically + +This script demonstrates how to use the decompose pipeline from Python code +to break down a complex task into subtasks with generated prompts. +""" + +import json +import subprocess +import textwrap +from pathlib import Path + +from jinja2 import Environment, FileSystemLoader + +# Import the decompose pipeline from the CLI module +from cli.decompose.pipeline import DecompBackend, DecompPipelineResult, decompose + + +def run_decompose(task_prompt: str) -> DecompPipelineResult: + """ + Run the decompose pipeline on a task prompt. + + Args: + task_prompt: The task description to decompose + + Returns: + Dictionary containing decomposition results + """ + print("Running decomposition pipeline...\n") + + result = decompose( + task_prompt=task_prompt, + model_id="granite4:micro", + backend=DecompBackend.ollama, # Use Ollama backend + backend_req_timeout=300, # 5 minute timeout + ) + + return result + + +def save_decompose_json( + result: DecompPipelineResult, + output_dir: Path, + filename: str = "python_decompose_result.json", +) -> Path: + """ + Save decomposition results to a JSON file. + + Args: + result: Decomposition results dictionary + output_dir: Directory to save the file + filename: Name of the output file + + Returns: + Path to the saved JSON file + """ + json_output_file = output_dir / filename + + with open(json_output_file, "w") as f: + json.dump(result, f, indent=2) + + print(f"💾 JSON results saved to: {json_output_file}") + return json_output_file + + +def generate_python_script( + result: DecompPipelineResult, + output_dir: Path, + filename: str = "python_decompose_result.py", +) -> Path: + """ + Generate an executable Python script from decomposition results. + + Args: + result: Decomposition results dictionary + output_dir: Directory to save the file + filename: Name of the output Python file + + Returns: + Path to the generated Python script + """ + print("\n📝 Generating executable Python script...") + + # Load the template from the CLI decompose directory + cli_decompose_dir = Path(__file__).parent.parent.parent.parent / "cli" / "decompose" + environment = Environment( + loader=FileSystemLoader(cli_decompose_dir), autoescape=False + ) + m_template = environment.get_template("m_decomp_result_v1.py.jinja2") + + # Render the template with the decomposition results + python_script_content = m_template.render( + subtasks=result["subtasks"], + user_inputs=[], # No user inputs for this simple example + ) + + # Save the generated Python script + py_output_file = output_dir / filename + with open(py_output_file, "w") as f: + f.write(python_script_content + "\n") + + print(f"💾 Generated Python script saved to: {py_output_file}") + return py_output_file + + +def run_generated_script( + script_path: Path, output_dir: Path, timeout: int = 600 +) -> Path | None: + """ + Execute the generated Python script to produce final output. + + Args: + script_path: Path to the Python script to execute + output_dir: Directory to save the final output + timeout: Maximum execution time in seconds + + Returns: + Path to the final output file if successful, None otherwise + """ + print("\n🚀 Running the generated script to produce final output...") + print(" (This may take a few minutes as it calls the LLM for each subtask)") + + try: + result_output = subprocess.run( + ["python3", str(script_path)], + capture_output=True, + text=True, + timeout=timeout, + cwd=output_dir, + ) + + if result_output.returncode == 0: + # Save the final output + final_output_file = output_dir / "python_decompose_final_output.txt" + with open(final_output_file, "w") as f: + f.write(result_output.stdout) + + print(f"✅ Final output saved to: {final_output_file}") + print("\n" + "=" * 70) + print("Final Output:") + print("=" * 70) + preview = result_output.stdout + print(preview) + return final_output_file + else: + print( + f"❌ Script execution failed with return code {result_output.returncode}" + ) + print(f"Error: {result_output.stderr}") + return None + except subprocess.TimeoutExpired: + print(f"⏱️ Script execution timed out after {timeout} seconds") + return None + except Exception as e: + print(f"❌ Error running script: {e}") + return None + + +def display_results(result: DecompPipelineResult): + """ + Display decomposition results in a formatted way. + + Args: + result: Decomposition results dictionary + """ + print("=" * 70) + print("Decomposition Results") + print("=" * 70) + + print(f"\n📋 Subtasks Identified ({len(result['subtask_list'])}):") + for i, subtask in enumerate(result["subtask_list"], 1): + print(f" {subtask}") + + print(f"\n🔍 Constraints Identified ({len(result['identified_constraints'])}):") + for i, constraint in enumerate(result["identified_constraints"], 1): + print(f" {i}. {constraint['constraint']}") + print(f" Validation: {constraint['validation_strategy']}") + + print(f"\n🎯 Detailed Subtasks ({len(result['subtasks'])}):") + for i, subtask_detail in enumerate(result["subtasks"], 1): + print(f"\n Subtask {subtask_detail['subtask']}") + print(f" Tag: {subtask_detail['tag']}") + print(f" Dependencies: {subtask_detail['depends_on'] or 'None'}") + print(f" Input Variables: {subtask_detail['input_vars_required'] or 'None'}") + print(f" Constraints: {len(subtask_detail['constraints'])}") + + +def main(): + # Define a simple task prompt to decompose + task_prompt = textwrap.dedent(""" + Write a short blog post about the benefits of morning exercise. + Include a catchy title, an introduction paragraph, three main benefits + with explanations, and a conclusion that encourages readers to start + their morning exercise routine. + """).strip() + + print("=" * 70) + print("Mellea Decompose Example") + print("=" * 70) + print(f"\nOriginal Task:\n\n{task_prompt.strip()}\n") + + # Step 1: Run decomposition + result = run_decompose(task_prompt) + + # Step 2: Display results + display_results(result) + + # Step 3: Save JSON results + output_dir = Path(__file__).parent + save_decompose_json(result, output_dir) + + # Step 4: Generate Python script + script_path = generate_python_script(result, output_dir) + + # Step 5: Run the generated script (optional) + run_generated_script(script_path, output_dir) + + print("\n" + "=" * 70) + print("✅ Decomposition complete!") + print("=" * 70) + + +if __name__ == "__main__": + main() diff --git a/docs/examples/m_decompose/python/python_decompose_final_output.txt b/docs/examples/m_decompose/python/python_decompose_final_output.txt new file mode 100644 index 000000000..76ac65b58 --- /dev/null +++ b/docs/examples/m_decompose/python/python_decompose_final_output.txt @@ -0,0 +1,45 @@ +=== 12:28:43-INFO ====== +Starting Mellea session: backend=ollama, model=granite4:micro, context=SimpleContext +=== 12:28:45-INFO ====== +SUCCESS +=== 12:28:47-INFO ====== +FAILED. Valid: 0/1 +=== 12:28:48-INFO ====== +FAILED. Valid: 0/1 +=== 12:28:48-INFO ====== +Invoking select_from_failure after 2 failed attempts. +=== 12:28:55-INFO ====== +SUCCESS +=== 12:28:59-INFO ====== +SUCCESS +=== 12:29:10-INFO ====== +FAILED. Valid: 3/4 +=== 12:29:19-INFO ====== +FAILED. Valid: 3/4 +=== 12:29:19-INFO ====== +Invoking select_from_failure after 2 failed attempts. +**Title:** Kickstart Your Day: Unleash Morning Exercise's Power! + +**Introduction:** +Are you tired of feeling sluggish first thing in the morning? Imagine starting your day with a burst of energy and positivity, setting the tone for everything else to come. Morning exercise isn't just about getting fit; it's a powerful way to enhance mental clarity, boost mood, and set a productive tone for the entire day. This blog post, "Kickstart Your Day: Unleash Morning Exercise's Power!" will explore how incorporating morning workouts into your routine can transform not only your physical health but also significantly impact your overall well-being and productivity. + +**Benefits:** + +#### 1. **Enhanced Mental Clarity and Cognitive Function** +Engaging in morning exercise significantly boosts mental clarity, allowing individuals to approach their day with a focused mind. This heightened sense of awareness can lead to improved decision-making skills throughout the day, enhancing productivity and efficiency at work or school. Research from the *International Journal of Behavioral Nutrition and Physical Activity* indicates that regular morning exercise correlates with lower levels of cortisol, the stress hormone, leading to reduced anxiety and depression symptoms. + +#### 2. **Improved Mood and Reduced Stress Levels** +Morning exercise is known for its ability to elevate mood significantly, reducing symptoms of anxiety and depression. By boosting serotonin levels—often referred to as the "feel-good" hormone—morning workouts can set a positive tone for the entire day, reducing stress and enhancing overall emotional well-being. + +#### 3. **Boosted Energy Levels Throughout the Day** +Morning exercise is a powerful way to increase energy levels for several hours post-workout, allowing for sustained productivity throughout the day. This surge in energy can lead to improved performance in daily activities, whether it's meeting deadlines at work or spending quality time with family and friends. + +**Conclusion:** + +Incorporating morning exercise into your daily routine can significantly enhance various aspects of health and well-being, from mental clarity to improved mood and sustained energy levels. As highlighted in the blog post "Kickstart Your Day: Unleash Morning Exercise's Power!", these benefits not only transform physical fitness but also have a profound impact on overall productivity and happiness. + +The key themes we've explored—enhanced cognitive function, improved emotional health, and boosted vitality—underscore why morning exercise is not merely an activity but a transformative habit. By aligning your physical routine with your body's natural rhythms in the morning, you're essentially equipping yourself to tackle the day head-on, more focused, motivated, and ready to embrace whatever challenges come your way. + +Now, imagine waking up each day feeling energized, clear-headed, and eager to make a difference. This is not just wishful thinking—it's achievable with consistent morning exercise. So why wait? Let this be the start of your journey towards a more vibrant, productive, and fulfilling life. Embrace the power of mornings, embrace the power within you, and watch as every day transforms into an opportunity to excel. + +Take that first step today. Whether it's a brisk walk, a yoga session, or a high-intensity workout, the key is starting and making it a part of your daily routine. Your future self will thank you for choosing to wake up not just earlier but also more energized and ready to seize the day. Let morning exercise be the catalyst that propels you towards a healthier, happier, and more productive lifestyle. diff --git a/docs/examples/m_decompose/python/python_decompose_result.json b/docs/examples/m_decompose/python/python_decompose_result.json new file mode 100644 index 000000000..8a2903782 --- /dev/null +++ b/docs/examples/m_decompose/python/python_decompose_result.json @@ -0,0 +1,121 @@ +{ + "original_task_prompt": "Write a short blog post about the benefits of morning exercise.\nInclude a catchy title, an introduction paragraph, three main benefits\nwith explanations, and a conclusion that encourages readers to start\ntheir morning exercise routine.", + "subtask_list": [ + "1. Create a catchy title for the blog post about the benefits of morning exercise. -", + "2. Write an introduction paragraph that sets the stage for the blog post. -", + "3. Identify and explain three main benefits of morning exercise with detailed explanations. -", + "4. Write a conclusion that encourages readers to start their morning exercise routine. -", + "5. Compile the title, introduction, three main benefits, and conclusion into a single cohesive blog post. -" + ], + "identified_constraints": [ + { + "constraint": "Include a catchy title", + "validation_strategy": "llm" + }, + { + "constraint": "Include an introduction paragraph", + "validation_strategy": "llm" + }, + { + "constraint": "Include three main benefits with explanations", + "validation_strategy": "llm" + }, + { + "constraint": "Include a conclusion that encourages readers to start their morning exercise routine", + "validation_strategy": "llm" + } + ], + "subtasks": [ + { + "subtask": "1. Create a catchy title for the blog post about the benefits of morning exercise. -", + "tag": "BLOG_TITLE", + "constraints": [ + { + "constraint": "Include a catchy title", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create a catchy title for a blog post about the benefits of morning exercise. Follow these steps to accomplish your task:\n\n1. **Understand the Topic**: The blog post will focus on the benefits of morning exercise. The title should be engaging and clearly convey the main topic of the post.\n\n2. **Identify Key Elements**: Consider the key elements that make morning exercise beneficial. These could include improved mood, increased energy, better focus, and enhanced metabolism.\n\n3. **Use Power Words**: Incorporate power words that evoke curiosity, excitement, or a sense of urgency. Examples include \"Boost,\" \"Transform,\" \"Unlock,\" \"Energize,\" and \"Revitalize.\"\n\n4. **Keep It Concise**: The title should be short and to the point, ideally between 5 to 10 words. It should be easy to read and remember.\n\n5. **Make It Action-Oriented**: Use verbs that encourage action, such as \"Start,\" \"Jumpstart,\" \"Kickstart,\" or \"Ignite.\"\n\n6. **Consider SEO**: Think about common search terms related to morning exercise. Including relevant keywords can help improve the post's visibility.\n\n7. **Examples for Inspiration**:\n - \"Jumpstart Your Day: The Power of Morning Exercise\"\n - \"Energize Your Mornings: Unlock the Benefits of Morning Exercise\"\n - \"Transform Your Day with Morning Exercise\"\n - \"Boost Your Energy: The Magic of Morning Workouts\"\n - \"Revitalize Your Mornings: The Benefits of Morning Exercise\"\n\n8. **Create the Title**: Based on the above guidelines, create a catchy and engaging title for the blog post. Ensure it captures the essence of the topic and entices readers to click and read more.\n\nYour final answer should be only the title text.", + "input_vars_required": [], + "depends_on": [] + }, + { + "subtask": "2. Write an introduction paragraph that sets the stage for the blog post. -", + "tag": "INTRODUCTION", + "constraints": [ + { + "constraint": "Include an introduction paragraph", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to write an engaging introduction paragraph for a blog post about the benefits of morning exercise. The introduction should set the stage for the blog post, capturing the reader's attention and providing a brief overview of what will be discussed.\n\nTo accomplish this, follow these steps:\n\n1. **Understand the Context**:\n - The blog post is about the benefits of morning exercise.\n - The title of the blog post is: {{BLOG_TITLE}}\n\n2. **Craft the Introduction**:\n - Start with a hook that grabs the reader's attention. This could be a question, a surprising fact, or a relatable scenario.\n - Briefly introduce the topic of morning exercise and why it is important.\n - Provide a smooth transition to the main benefits that will be discussed in the blog post.\n\n3. **Ensure Engagement**:\n - Use a conversational and engaging tone to connect with the readers.\n - Keep the introduction concise and to the point, ideally between 3 to 5 sentences.\n\nHere is an example structure to guide your writing:\n- **Sentence 1**: Hook to grab the reader's attention.\n- **Sentence 2**: Introduce the topic of morning exercise.\n- **Sentence 3**: Briefly mention the benefits that will be discussed.\n- **Sentence 4**: Transition to the main content of the blog post.\n\nEnsure that the introduction flows naturally and sets the stage for the rest of the blog post. You should write only the introduction paragraph, do not include the guidance structure.", + "input_vars_required": [], + "depends_on": [ + "BLOG_TITLE" + ] + }, + { + "subtask": "3. Identify and explain three main benefits of morning exercise with detailed explanations. -", + "tag": "BENEFITS", + "constraints": [ + { + "constraint": "Include three main benefits with explanations", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to identify and explain three main benefits of morning exercise with detailed explanations. Follow these steps to accomplish your task:\n\nFirst, review the title and introduction created in the previous steps to understand the context and tone of the blog post:\n\n{{BLOG_TITLE}}\n\n\n{{INTRODUCTION}}\n\n\nNext, research and identify three main benefits of morning exercise. These benefits should be supported by evidence or expert opinions to ensure credibility.\n\nFor each benefit, provide a detailed explanation that includes:\n- The specific benefit of morning exercise\n- How this benefit positively impacts health, well-being, or daily life\n- Any relevant studies, expert opinions, or personal anecdotes that support the benefit\n\nEnsure that the explanations are clear, concise, and engaging to keep the reader interested.\n\nFinally, present the three main benefits with their detailed explanations in a structured format that can be easily integrated into the blog post.", + "input_vars_required": [], + "depends_on": [ + "BLOG_TITLE", + "INTRODUCTION" + ] + }, + { + "subtask": "4. Write a conclusion that encourages readers to start their morning exercise routine. -", + "tag": "CONCLUSION", + "constraints": [ + { + "constraint": "Include a conclusion that encourages readers to start their morning exercise routine", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to write a compelling conclusion for a blog post about the benefits of morning exercise. The conclusion should encourage readers to start their morning exercise routine. Follow these steps to accomplish your task:\n\nFirst, review the title and introduction of the blog post to understand the context and tone:\n\n{{BLOG_TITLE}}\n\n\n{{INTRODUCTION}}\n\n\nNext, consider the three main benefits of morning exercise that have been previously identified and explained:\n\n{{BENEFITS}}\n\n\nUse the information from the title, introduction, and benefits to craft a conclusion that:\n1. Summarizes the key points discussed in the blog post.\n2. Reinforces the importance of morning exercise.\n3. Encourages readers to take action and start their morning exercise routine.\n4. Maintains a positive and motivating tone.\n\nEnsure the conclusion is concise, engaging, and leaves readers feeling inspired to make a change in their daily routine.\n\nFinally, write the conclusion paragraph that encourages readers to start their morning exercise routine.", + "input_vars_required": [], + "depends_on": [ + "BLOG_TITLE", + "INTRODUCTION", + "BENEFITS" + ] + }, + { + "subtask": "5. Compile the title, introduction, three main benefits, and conclusion into a single cohesive blog post. -", + "tag": "FINAL_BLOG_POST", + "constraints": [ + { + "constraint": "Include a catchy title", + "validation_strategy": "llm" + }, + { + "constraint": "Include an introduction paragraph", + "validation_strategy": "llm" + }, + { + "constraint": "Include three main benefits with explanations", + "validation_strategy": "llm" + }, + { + "constraint": "Include a conclusion that encourages readers to start their morning exercise routine", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to compile the title, introduction, three main benefits, and conclusion into a single cohesive blog post about the benefits of morning exercise.\n\nTo accomplish this, follow these steps:\n\n1. **Review the Components**:\n Carefully review the title, introduction, three main benefits, and conclusion that have been generated in the previous steps. These components are provided below:\n\n \n {{BLOG_TITLE}}\n \n\n \n {{INTRODUCTION}}\n \n\n \n {{BENEFITS}}\n \n\n \n {{CONCLUSION}}\n \n\n2. **Structure the Blog Post**:\n Organize the components into a well-structured blog post. The structure should include:\n - The catchy title at the beginning.\n - The introduction paragraph that sets the stage for the blog post.\n - The three main benefits with detailed explanations.\n - The conclusion that encourages readers to start their morning exercise routine.\n\n3. **Ensure Cohesion**:\n Make sure the blog post flows smoothly from one section to the next. The transitions between the introduction, benefits, and conclusion should be natural and logical.\n\n4. **Check for Consistency**:\n Verify that the tone and style are consistent throughout the blog post. Ensure that the language used in the title, introduction, benefits, and conclusion aligns with the overall theme of the blog post.\n\n5. **Final Review**:\n Read through the entire blog post to ensure it is cohesive, well-organized, and free of any grammatical or spelling errors. Make any necessary adjustments to improve clarity and readability.\n\n6. **Output the Blog Post**:\n Provide the final compiled blog post as your answer. Ensure that the output includes only the blog post text without any additional information or instructions.\n\nBy following these steps, you will create a single cohesive blog post that effectively communicates the benefits of morning exercise.", + "input_vars_required": [], + "depends_on": [ + "BLOG_TITLE", + "INTRODUCTION", + "BENEFITS", + "CONCLUSION" + ] + } + ] +} \ No newline at end of file diff --git a/docs/examples/m_decompose/python/python_decompose_result.py b/docs/examples/m_decompose/python/python_decompose_result.py new file mode 100644 index 000000000..dbb5d0b96 --- /dev/null +++ b/docs/examples/m_decompose/python/python_decompose_result.py @@ -0,0 +1,221 @@ +import textwrap + +import mellea + +# Note: This is an example of an intermediary result from using decompose in python_decompose_example.py, not an example of how to use decompose. + + +m = mellea.start_session() + + +# 1. Create a catchy title for the blog post about the benefits of morning exercise. - - BLOG_TITLE +blog_title = m.instruct( + textwrap.dedent( + R""" + Your task is to create a catchy title for a blog post about the benefits of morning exercise. Follow these steps to accomplish your task: + + 1. **Understand the Topic**: The blog post will focus on the benefits of morning exercise. The title should be engaging and clearly convey the main topic of the post. + + 2. **Identify Key Elements**: Consider the key elements that make morning exercise beneficial. These could include improved mood, increased energy, better focus, and enhanced metabolism. + + 3. **Use Power Words**: Incorporate power words that evoke curiosity, excitement, or a sense of urgency. Examples include "Boost," "Transform," "Unlock," "Energize," and "Revitalize." + + 4. **Keep It Concise**: The title should be short and to the point, ideally between 5 to 10 words. It should be easy to read and remember. + + 5. **Make It Action-Oriented**: Use verbs that encourage action, such as "Start," "Jumpstart," "Kickstart," or "Ignite." + + 6. **Consider SEO**: Think about common search terms related to morning exercise. Including relevant keywords can help improve the post's visibility. + + 7. **Examples for Inspiration**: + - "Jumpstart Your Day: The Power of Morning Exercise" + - "Energize Your Mornings: Unlock the Benefits of Morning Exercise" + - "Transform Your Day with Morning Exercise" + - "Boost Your Energy: The Magic of Morning Workouts" + - "Revitalize Your Mornings: The Benefits of Morning Exercise" + + 8. **Create the Title**: Based on the above guidelines, create a catchy and engaging title for the blog post. Ensure it captures the essence of the topic and entices readers to click and read more. + + Your final answer should be only the title text. + """.strip() + ), + requirements=["Include a catchy title"], +) +assert blog_title.value is not None, 'ERROR: task "blog_title" execution failed' + +# 2. Write an introduction paragraph that sets the stage for the blog post. - - INTRODUCTION +introduction = m.instruct( + textwrap.dedent( + R""" + Your task is to write an engaging introduction paragraph for a blog post about the benefits of morning exercise. The introduction should set the stage for the blog post, capturing the reader's attention and providing a brief overview of what will be discussed. + + To accomplish this, follow these steps: + + 1. **Understand the Context**: + - The blog post is about the benefits of morning exercise. + - The title of the blog post is: {{BLOG_TITLE}} + + 2. **Craft the Introduction**: + - Start with a hook that grabs the reader's attention. This could be a question, a surprising fact, or a relatable scenario. + - Briefly introduce the topic of morning exercise and why it is important. + - Provide a smooth transition to the main benefits that will be discussed in the blog post. + + 3. **Ensure Engagement**: + - Use a conversational and engaging tone to connect with the readers. + - Keep the introduction concise and to the point, ideally between 3 to 5 sentences. + + Here is an example structure to guide your writing: + - **Sentence 1**: Hook to grab the reader's attention. + - **Sentence 2**: Introduce the topic of morning exercise. + - **Sentence 3**: Briefly mention the benefits that will be discussed. + - **Sentence 4**: Transition to the main content of the blog post. + + Ensure that the introduction flows naturally and sets the stage for the rest of the blog post. You should write only the introduction paragraph, do not include the guidance structure. + """.strip() + ), + requirements=["Include an introduction paragraph"], + user_variables={"BLOG_TITLE": blog_title.value}, +) +assert introduction.value is not None, 'ERROR: task "introduction" execution failed' + +# 3. Identify and explain three main benefits of morning exercise with detailed explanations. - - BENEFITS +benefits = m.instruct( + textwrap.dedent( + R""" + Your task is to identify and explain three main benefits of morning exercise with detailed explanations. Follow these steps to accomplish your task: + + First, review the title and introduction created in the previous steps to understand the context and tone of the blog post: + + {{BLOG_TITLE}} + + + {{INTRODUCTION}} + + + Next, research and identify three main benefits of morning exercise. These benefits should be supported by evidence or expert opinions to ensure credibility. + + For each benefit, provide a detailed explanation that includes: + - The specific benefit of morning exercise + - How this benefit positively impacts health, well-being, or daily life + - Any relevant studies, expert opinions, or personal anecdotes that support the benefit + + Ensure that the explanations are clear, concise, and engaging to keep the reader interested. + + Finally, present the three main benefits with their detailed explanations in a structured format that can be easily integrated into the blog post. + """.strip() + ), + requirements=["Include three main benefits with explanations"], + user_variables={"BLOG_TITLE": blog_title.value, "INTRODUCTION": introduction.value}, +) +assert benefits.value is not None, 'ERROR: task "benefits" execution failed' + +# 4. Write a conclusion that encourages readers to start their morning exercise routine. - - CONCLUSION +conclusion = m.instruct( + textwrap.dedent( + R""" + Your task is to write a compelling conclusion for a blog post about the benefits of morning exercise. The conclusion should encourage readers to start their morning exercise routine. Follow these steps to accomplish your task: + + First, review the title and introduction of the blog post to understand the context and tone: + + {{BLOG_TITLE}} + + + {{INTRODUCTION}} + + + Next, consider the three main benefits of morning exercise that have been previously identified and explained: + + {{BENEFITS}} + + + Use the information from the title, introduction, and benefits to craft a conclusion that: + 1. Summarizes the key points discussed in the blog post. + 2. Reinforces the importance of morning exercise. + 3. Encourages readers to take action and start their morning exercise routine. + 4. Maintains a positive and motivating tone. + + Ensure the conclusion is concise, engaging, and leaves readers feeling inspired to make a change in their daily routine. + + Finally, write the conclusion paragraph that encourages readers to start their morning exercise routine. + """.strip() + ), + requirements=[ + "Include a conclusion that encourages readers to start their morning exercise routine" + ], + user_variables={ + "BLOG_TITLE": blog_title.value, + "INTRODUCTION": introduction.value, + "BENEFITS": benefits.value, + }, +) +assert conclusion.value is not None, 'ERROR: task "conclusion" execution failed' + +# 5. Compile the title, introduction, three main benefits, and conclusion into a single cohesive blog post. - - FINAL_BLOG_POST +final_blog_post = m.instruct( + textwrap.dedent( + R""" + Your task is to compile the title, introduction, three main benefits, and conclusion into a single cohesive blog post about the benefits of morning exercise. + + To accomplish this, follow these steps: + + 1. **Review the Components**: + Carefully review the title, introduction, three main benefits, and conclusion that have been generated in the previous steps. These components are provided below: + + + {{BLOG_TITLE}} + + + + {{INTRODUCTION}} + + + + {{BENEFITS}} + + + + {{CONCLUSION}} + + + 2. **Structure the Blog Post**: + Organize the components into a well-structured blog post. The structure should include: + - The catchy title at the beginning. + - The introduction paragraph that sets the stage for the blog post. + - The three main benefits with detailed explanations. + - The conclusion that encourages readers to start their morning exercise routine. + + 3. **Ensure Cohesion**: + Make sure the blog post flows smoothly from one section to the next. The transitions between the introduction, benefits, and conclusion should be natural and logical. + + 4. **Check for Consistency**: + Verify that the tone and style are consistent throughout the blog post. Ensure that the language used in the title, introduction, benefits, and conclusion aligns with the overall theme of the blog post. + + 5. **Final Review**: + Read through the entire blog post to ensure it is cohesive, well-organized, and free of any grammatical or spelling errors. Make any necessary adjustments to improve clarity and readability. + + 6. **Output the Blog Post**: + Provide the final compiled blog post as your answer. Ensure that the output includes only the blog post text without any additional information or instructions. + + By following these steps, you will create a single cohesive blog post that effectively communicates the benefits of morning exercise. + """.strip() + ), + requirements=[ + "Include a catchy title", + "Include an introduction paragraph", + "Include three main benefits with explanations", + "Include a conclusion that encourages readers to start their morning exercise routine", + ], + user_variables={ + "BLOG_TITLE": blog_title.value, + "INTRODUCTION": introduction.value, + "BENEFITS": benefits.value, + "CONCLUSION": conclusion.value, + }, +) +assert final_blog_post.value is not None, ( + 'ERROR: task "final_blog_post" execution failed' +) + + +final_answer = final_blog_post.value + +print(final_answer) diff --git a/docs/examples/m_decompose/small/example_decompose_prompt.txt b/docs/examples/m_decompose/small/example_decompose_prompt.txt new file mode 100644 index 000000000..321ebf444 --- /dev/null +++ b/docs/examples/m_decompose/small/example_decompose_prompt.txt @@ -0,0 +1,13 @@ +I need help planning a complete birthday party for my 8-year-old daughter who loves unicorns and +wants to invite 15 kids from her class, and I need you to create a detailed shopping list with +estimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people, +then suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the +kids entertained for about 3 hours, also write out a timeline for the party day starting from 2 hours +before guests arrive until cleanup is done showing exactly when to do food prep, decoration setup, +when each activity should happen, and when to serve food and cake, plus I need you to draft a cute +invitation text that I can send to parents that includes all the important details like date, time, +location, RSVP information, and any special instructions about allergies or what kids should bring or +wear, and finally create a backup plan in case it rains since I was planning to have some activities +outside in the backyard, and make sure everything stays within a total budget of about ~$400 and follows basic +food safety guidelines especially for kids with common allergies like nuts and dairy, and the party theme +colors should be pink, purple, and gold to match the unicorn decorations. diff --git a/docs/examples/m_decompose/small/final_output.txt b/docs/examples/m_decompose/small/final_output.txt new file mode 100644 index 000000000..35294cd47 --- /dev/null +++ b/docs/examples/m_decompose/small/final_output.txt @@ -0,0 +1,97 @@ +**Unicorn Birthday Party Plan** + +### **1. Shopping List** +- **Decorations**: + - Unicorn Balloon Arch: Quantity: 2, Estimated Cost: $30 + - Unicorn Streamers (pink, purple, gold): Quantity: 1 roll ($15), Estimated Cost: $15 + - Paper Fans with Unicorn Design: Quantity: 20, Estimated Cost: $10 + +- **Food**: + - Mini Pizza Bites (nut-free cheese and gluten-free crust): Quantity: 20 pieces ($40) + - Fruit Skewers (strawberries, blueberries, grapes): Quantity: 1 tray ($15), Estimated Cost: $15 + - Veggie Sticks & Dip: Quantity: 1 bag of assorted veggies, 2 dips ($10) + +- **Drinks**: + - Juice Boxes (various flavors, nut-free): Quantity: 20 boxes ($20) + - Water Bottles (serving water throughout the day): Quantity: 15 bottles ($15), Estimated Cost: $15 + +- **Party Favors**: + - Unicorn Horn Keychains: Quantity: 15 pieces ($30) + - Unicorns Stickers Packets: Quantity: 15 packets ($10) + +- **Cake**: + - Unicorn-Themed Cake (serves at least 20): Quantity: 1 cake ($150), Estimated Cost: $150 + +- **Total Estimated Cost**: Approximately $400 + +### **2. Party Games** +1. **Unicorn Balloon Arch**: Kids will enjoy helping create this whimsical arch using balloons in various unicorn-themed designs, encouraging teamwork and creativity. + +2. **Pin the Tail on the Unicorn**: A spin-off of "Pin the Tail on the Donkey," where kids try to stick a cut-out tail on a large poster of a unicorn without looking, promoting laughter and engagement. + +3. **Unicorn Pinata**: Fill a unicorn-shaped pinata with candies and small toys for excitement and surprises. + +4. **Craft Station**: Set up an area where children can create their own unicorn horns using glitter, markers, and stickers in pink, purple, and gold colors, allowing them to express creativity. + +5. **Story Time with Unicorns**: Gather the kids for a magical storytelling session featuring tales about unicorns, encouraging imagination and interaction. + +6. **Unicorn Yoga or Dance Party**: Organize a fun yoga or dance session set to unicorn-themed music, promoting physical activity and relaxation in a playful setting. + +7. **Fruit Skewer Unicorn Feeding**: Arrange for kids to create their own unicorn faces using fruit skewers and edible decorations such as icing and candy eyes. + +### **3. Party Timeline** +- **12:00 PM - 1:00 PM**: Start the preparation by unpacking decorations, setting up a centerpiece with a unicorn balloon arch. + +- **1:00 PM - 2:30 PM**: Unfurl the unicorn streamers around the room and hang paper fans on walls or tables. + +- **3:00 PM**: Begin preparing food, assembling mini pizza bites using nut-free cheese and gluten-free crusts, slicing fruit skewers for healthy snacks, and preparing veggie sticks with dip. + +- **4:30 PM**: Set out drinks, ensuring juice boxes are accessible while also having water bottles available to keep guests hydrated. + +- **5:00 PM - 6:00 PM**: Finalize decoration setup and arrange activities around them. Ensure all decorations are in place for guests. + +- **6:00 PM - 6:30 PM**: Guests arrive; welcome everyone and guide them towards the first activity area where they can start participating in games or crafts immediately. + +- **6:30 PM - 7:15 PM**: Play "Pin the Tail on the Unicorn." This game engages kids as they try to stick their tail on a unicorn poster while blindfolded, promoting laughter and participation. + +- **7:15 PM - 7:45 PM**: Serve food, offering mini pizza bites, fruit skewers, and veggie sticks for everyone to enjoy during this time slot. + +- **7:45 PM - 8:30 PM**: Engage guests with a Unicorn Pinata activity. Fill the pinata with candies and small toys, then let the kids take turns trying to break it open. + +- **8:30 PM - 9:15 PM**: Set up a Craft Station where children can create their own unicorn horns using glitter markers and stickers in various colors like pink, purple, and gold. + +- **9:15 PM - 10:00 PM**: Transition into a Story Time with Unicorns session. Gather the kids for a magical storytelling experience featuring tales about unicorns to spark imagination. + +- **10:00 PM - 10:45 PM**: Organize a Unicorn Yoga or Dance Party using unicorn-themed music, providing both physical activity and relaxation in a playful environment. + +- **10:45 PM - 11:30 PM**: Activity for Fruit Skewer Unicorn Feeding. Kids can create their own unicorn faces by arranging fruit skewers with edible decorations like icing and candy eyes. + +- **11:30 PM - 12:00 AM**: Serve the main course, which is a Unicorn-Themed Cake designed to serve at least 20 people. + +- **12:00 AM - 12:30 AM**: Clean up the party area. Collect all trash, clear away decorations that are not needed for next day's events, and store or recycle used materials properly. + +### **4. Invitation Text** +**Unicorn Birthday Party Invite! 🦄✨** + +Join us for a magical day of fun and unicorns at [Child's Name]'s special celebration! + +📅 **Date**: Saturday, [Month] [Day], 2023 +⏰ **Time**: 1:00 PM - 11:30 PM +📍 **Location**: [Party Location] + +Get ready for a day full of enchanting games like Unicorn Balloon Arch and Pin the Tail on the Unicorn, yummy treats including mini pizza bites and fruit skewers, storytelling sessions about magical creatures, yoga or dance parties under unicorn-themed tunes, and creating your own unicorn horns with glitter and stickers. + +### **5. Backup Plan** +In case of rain, all activities will be moved indoors: +- **Tables and Seating**: Set up multiple tables for food, drinks, and crafts. +- **Food Stations**: Arrange food items on a central table or buffet style; label dishes clearly to avoid confusion. +- **Drink Stations**: Place water bottles, juice boxes, and cups near serving tables to encourage easy access. +- **Activity Areas**: Designate areas for different activities like craft stations, games, and relaxation spaces; ensure each area is safe, well-lit, and accessible. + +### **6. Safety Guidelines** +- **Noise Levels**: Encourage guests to speak softly during storytelling or quiet activities. +- **Child Supervision**: Ensure adequate supervision of children at all times, especially during games and crafts. +- **Emergency Plan**: Have a designated first aid kit readily available for minor injuries or incidents; ensure that exits are clear and easily accessible. + +### **7. Final Output** +This comprehensive guide provides everything needed to plan and execute an enjoyable and safe unicorn-themed birthday party, ensuring the celebration is memorable and inclusive for all children while adhering to budgetary and safety constraints. diff --git a/docs/examples/m_decompose/small/m_decomp_result.json b/docs/examples/m_decompose/small/m_decomp_result.json new file mode 100644 index 000000000..50cb497c9 --- /dev/null +++ b/docs/examples/m_decompose/small/m_decomp_result.json @@ -0,0 +1,177 @@ +{ + "original_task_prompt": "I need help planning a complete birthday party for my 8-year-old daughter who loves unicorns and\nwants to invite 15 kids from her class, and I need you to create a detailed shopping list with\nestimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people,\nthen suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the\nkids entertained for about 3 hours, also write out a timeline for the party day starting from 2 hours\nbefore guests arrive until cleanup is done showing exactly when to do food prep, decoration setup,\nwhen each activity should happen, and when to serve food and cake, plus I need you to draft a cute\ninvitation text that I can send to parents that includes all the important details like date, time,\nlocation, RSVP information, and any special instructions about allergies or what kids should bring or\nwear, and finally create a backup plan in case it rains since I was planning to have some activities\noutside in the backyard, and make sure everything stays within a total budget of about ~$400 and follows basic\nfood safety guidelines especially for kids with common allergies like nuts and dairy, and the party theme\ncolors should be pink, purple, and gold to match the unicorn decorations.\n", + "subtask_list": [ + "1. Create a detailed shopping list with estimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people, ensuring the total budget stays within $400. -", + "2. Suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours. -", + "3. Draft a timeline for the party day starting from 2 hours before guests arrive until cleanup is done, including food prep, decoration setup, and scheduling of activities. -", + "4. Create a cute invitation text that includes all the important details like date, time, location, RSVP information, and any special instructions about allergies or what kids should bring or wear. -", + "5. Develop a backup plan in case it rains, ensuring all activities can be moved indoors. -", + "6. Compile the shopping list, party games, timeline, invitation text, and backup plan into a single cohesive output. -" + ], + "identified_constraints": [ + { + "constraint": "The shopping list must include decorations, food, drinks, party favors, and a cake that serves at least 20 people", + "validation_strategy": "llm" + }, + { + "constraint": "Suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours", + "validation_strategy": "llm" + }, + { + "constraint": "Write out a timeline for the party day starting from 2 hours before guests arrive until cleanup is done showing exactly when to do food prep, decoration setup, when each activity should happen, and when to serve food and cake", + "validation_strategy": "llm" + }, + { + "constraint": "Draft a cute invitation text that includes all the important details like date, time, location, RSVP information, and any special instructions about allergies or what kids should bring or wear", + "validation_strategy": "llm" + }, + { + "constraint": "Create a backup plan in case it rains", + "validation_strategy": "llm" + }, + { + "constraint": "Everything must stay within a total budget of about ~$400", + "validation_strategy": "code" + }, + { + "constraint": "Follow basic food safety guidelines especially for kids with common allergies like nuts and dairy", + "validation_strategy": "llm" + }, + { + "constraint": "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + "validation_strategy": "llm" + } + ], + "subtasks": [ + { + "subtask": "1. Create a detailed shopping list with estimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people, ensuring the total budget stays within $400. -", + "tag": "SHOPPING_LIST", + "constraints": [ + { + "constraint": "The shopping list must include decorations, food, drinks, party favors, and a cake that serves at least 20 people", + "validation_strategy": "llm" + }, + { + "constraint": "Everything must stay within a total budget of about ~$400", + "validation_strategy": "code" + }, + { + "constraint": "Follow basic food safety guidelines especially for kids with common allergies like nuts and dairy", + "validation_strategy": "llm" + }, + { + "constraint": "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create a detailed shopping list with estimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people, ensuring the total budget stays within $400. Follow these steps to accomplish your task:\n\n1. **Understand the Requirements**:\n - The party is for an 8-year-old daughter who loves unicorns.\n - The party theme colors are pink, purple, and gold.\n - The party will have 15 kids from her class, but the cake should serve at least 20 people.\n - The total budget should not exceed $400.\n - Follow basic food safety guidelines, especially for kids with common allergies like nuts and dairy.\n\n2. **Categories to Include**:\n - **Decorations**: Unicorn-themed decorations in pink, purple, and gold.\n - **Food**: Finger foods and snacks suitable for kids.\n - **Drinks**: Beverages that are kid-friendly.\n - **Party Favors**: Small gifts or treats for each child.\n - **Cake**: A unicorn-themed cake that serves at least 20 people.\n\n3. **Estimate Costs**:\n - Research and list the estimated costs for each item.\n - Ensure the total cost of all items does not exceed $400.\n\n4. **Create the Shopping List**:\n - Organize the list by categories (decorations, food, drinks, party favors, cake).\n - Include the name of each item, the estimated cost, and the quantity needed.\n - Ensure all items fit within the unicorn theme and the specified colors.\n\n5. **Review the List**:\n - Double-check that all necessary items are included.\n - Verify that the total estimated cost is within the $400 budget.\n\n6. **Output the Shopping List**:\n - Present the shopping list in a clear and organized format.\n - Include the estimated cost for each item and the total estimated cost.\n\nHere is an example structure to guide your writing:\n- **Decorations**:\n - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n - Item 2: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n- **Food**:\n - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n - Item 2: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n- **Drinks**:\n - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n - Item 2: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n- **Party Favors**:\n - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n - Item 2: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n- **Cake**:\n - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount]\n\nEnsure that the shopping list is comprehensive and meets all the specified requirements.", + "input_vars_required": [], + "depends_on": [] + }, + { + "subtask": "2. Suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours. -", + "tag": "PARTY_GAMES", + "constraints": [ + { + "constraint": "Suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours", + "validation_strategy": "llm" + }, + { + "constraint": "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours. Follow these steps to accomplish your task:\n\n1. **Understand the Theme and Audience**:\n - The party theme is unicorns, and the target audience is 8-year-old kids.\n - The party should be fun, engaging, and age-appropriate.\n - The theme colors are pink, purple, and gold.\n\n2. **Consider the Duration**:\n - The activities should keep the kids entertained for about 3 hours.\n - Plan a mix of active and passive games to maintain engagement.\n\n3. **Brainstorm Activity Ideas**:\n - Think of games and activities that fit the unicorn theme.\n - Ensure the activities are safe, fun, and suitable for 8-year-olds.\n - Consider both indoor and outdoor activities in case of rain.\n\n4. **List the Activities**:\n - Provide a list of 5-7 activities with brief descriptions.\n - Include any necessary materials or preparations for each activity.\n - Ensure the activities are varied to keep the kids interested.\n\n5. **Review the Shopping List**:\n - Refer to the shopping list created in the previous step to ensure you have all the necessary materials for the activities:\n \n {{SHOPPING_LIST}}\n \n\n6. **Finalize the Activities**:\n - Ensure the activities are feasible within the budget and theme.\n - Make sure the activities are safe and consider any common allergies or dietary restrictions.\n\nHere is an example structure to guide your suggestions:\n- **Activity 1**: [Description]\n- **Activity 2**: [Description]\n- **Activity 3**: [Description]\n- **Activity 4**: [Description]\n- **Activity 5**: [Description]\n- **Activity 6**: [Description]\n- **Activity 7**: [Description]\n\nEnsure each activity is clearly described and fits the unicorn theme. You should write only the activities, do not include the guidance structure.", + "input_vars_required": [], + "depends_on": [ + "SHOPPING_LIST" + ] + }, + { + "subtask": "3. Draft a timeline for the party day starting from 2 hours before guests arrive until cleanup is done, including food prep, decoration setup, and scheduling of activities. -", + "tag": "PARTY_TIMELINE", + "constraints": [ + { + "constraint": "Write out a timeline for the party day starting from 2 hours before guests arrive until cleanup is done showing exactly when to do food prep, decoration setup, when each activity should happen, and when to serve food and cake", + "validation_strategy": "llm" + }, + { + "constraint": "Follow basic food safety guidelines especially for kids with common allergies like nuts and dairy", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to draft a detailed timeline for the birthday party day, starting from 2 hours before guests arrive until cleanup is done. The timeline should include food prep, decoration setup, and scheduling of activities, ensuring the party runs smoothly and stays within the allocated time.\n\nTo accomplish this, follow these steps:\n\n1. **Review the Shopping List and Party Games**:\n First, review the shopping list and party games that have been prepared in the previous steps. This will help you understand the tasks that need to be scheduled and the activities that will take place during the party.\n \n {{SHOPPING_LIST}}\n \n \n {{PARTY_GAMES}}\n \n\n2. **Plan the Timeline**:\n Create a timeline that starts 2 hours before the guests arrive and ends with the cleanup after the party. Include the following key elements:\n - **Decoration Setup**: Schedule the setup of decorations, ensuring they are in place before guests arrive.\n - **Food Prep**: Plan the preparation of food and drinks, including any last-minute tasks that need to be done just before serving.\n - **Activity Schedule**: Allocate time slots for each of the 5-7 party games or activities, ensuring they are spaced out appropriately to keep the kids entertained for about 3 hours.\n - **Food and Cake Serving**: Schedule the serving of food and cake, making sure it fits well within the activity timeline.\n - **Cleanup**: Include a time slot for cleanup after the party, ensuring all tasks are completed efficiently.\n\n3. **Ensure Logical Flow**:\n Make sure the timeline flows logically, with each task leading smoothly into the next. Consider the time required for each activity and the transitions between them.\n\n4. **Include Buffer Time**:\n Add buffer time between activities to account for any unexpected delays or transitions.\n\n5. **Finalize the Timeline**:\n Compile all the scheduled tasks into a clear and concise timeline. Ensure it is easy to follow and includes all necessary details.\n\nHere is an example structure to guide your writing:\n- **2 Hours Before Guests Arrive**: Start decoration setup and initial food prep.\n- **1.5 Hours Before Guests Arrive**: Complete decoration setup and continue food prep.\n- **1 Hour Before Guests Arrive**: Final touches on decorations and food prep.\n- **Guests Arrive**: Welcome guests and begin the first activity.\n- **Activity 1**: [Describe the activity and its duration]\n- **Activity 2**: [Describe the activity and its duration]\n- **Serve Food**: [Schedule the serving of food]\n- **Activity 3**: [Describe the activity and its duration]\n- **Serve Cake**: [Schedule the serving of cake]\n- **Activity 4**: [Describe the activity and its duration]\n- **Activity 5**: [Describe the activity and its duration]\n- **Cleanup**: [Schedule the cleanup tasks]\n\nEnsure that each time slot is clearly defined and that the timeline is easy to follow. You should write only the timeline, do not include the guidance structure.", + "input_vars_required": [], + "depends_on": [ + "SHOPPING_LIST", + "PARTY_GAMES" + ] + }, + { + "subtask": "4. Create a cute invitation text that includes all the important details like date, time, location, RSVP information, and any special instructions about allergies or what kids should bring or wear. -", + "tag": "INVITATION_TEXT", + "constraints": [ + { + "constraint": "Draft a cute invitation text that includes all the important details like date, time, location, RSVP information, and any special instructions about allergies or what kids should bring or wear", + "validation_strategy": "llm" + }, + { + "constraint": "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to create a cute invitation text for an 8-year-old's unicorn-themed birthday party. The invitation should include all the important details and follow the party's theme colors: pink, purple, and gold.\n\nTo accomplish this, follow these steps:\n\n1. **Gather Party Details**:\n - Review the shopping list, party games, and timeline created in the previous steps to gather all necessary information:\n \n {{SHOPPING_LIST}}\n \n \n {{PARTY_GAMES}}\n \n \n {{PARTY_TIMELINE}}\n \n\n2. **Include Essential Information**:\n - **Date and Time**: Clearly state the date and time of the party.\n - **Location**: Provide the address and any specific instructions for getting to the party location.\n - **RSVP Information**: Include a contact email or phone number for RSVP and any deadline for responding.\n - **Special Instructions**: Mention any allergies, what kids should bring or wear, and any other important notes.\n\n3. **Theme and Tone**:\n - Use a cute and playful tone that fits the unicorn theme.\n - Incorporate the theme colors (pink, purple, and gold) into the design and wording of the invitation.\n\n4. **Format the Invitation**:\n - Use a clear and organized format, such as bullet points or paragraphs, to present the information.\n - Make sure the invitation is easy to read and visually appealing.\n\n5. **Example Structure**:\n - **Header**: A fun and colorful header that says \"Unicorn Birthday Party!\"\n - **Body**:\n - \"You're invited to [Child's Name]'s Unicorn Birthday Party!\"\n - \"Date: [Date]\"\n - \"Time: [Time]\"\n - \"Location: [Location]\"\n - \"RSVP by [Date] to [Email/Phone Number]\"\n - \"Special Instructions: [Allergies, what to bring or wear, etc.]\"\n - **Footer**: A cute closing line like \"Hope to see you there for a magical time!\"\n\n6. **Review and Finalize**:\n - Ensure all important details are included and the invitation is error-free.\n - Make any necessary adjustments to ensure the invitation is clear, cute, and fits the unicorn theme.\n\nFinally, write the cute invitation text based on the above guidelines and provide it as your answer.", + "input_vars_required": [], + "depends_on": [ + "SHOPPING_LIST", + "PARTY_GAMES", + "PARTY_TIMELINE" + ] + }, + { + "subtask": "5. Develop a backup plan in case it rains, ensuring all activities can be moved indoors. -", + "tag": "BACKUP_PLAN", + "constraints": [ + { + "constraint": "Create a backup plan in case it rains", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to develop a backup plan in case it rains, ensuring all activities can be moved indoors. Follow these steps to accomplish your task:\n\nFirst, review the shopping list, party games, timeline, and invitation text from the previous steps to understand the party setup and activities:\n\n{{SHOPPING_LIST}}\n\n\n{{PARTY_GAMES}}\n\n\n{{PARTY_TIMELINE}}\n\n\n{{INVITATION_TEXT}}\n\n\nNext, consider the following factors for the backup plan:\n1. **Indoor Space**: Ensure that the indoor space is large enough to accommodate all the activities and guests comfortably.\n2. **Activity Adjustments**: Modify the party games and activities to fit the indoor space. Consider the following:\n - **Space Constraints**: Ensure that games like \"Pin the Horn on the Unicorn\" or \"Unicorn Ring Toss\" can be played indoors without any hazards.\n - **Noise Levels**: Adjust activities to minimize noise, especially if the party is in a residential area.\n - **Safety**: Ensure that all indoor activities are safe and age-appropriate.\n3. **Food and Drinks**: Plan how to serve food and drinks indoors. Consider using tables or a buffet-style setup to minimize clutter.\n4. **Decorations**: Adjust the decoration setup to fit the indoor space. Ensure that the decorations are still visually appealing and fit the unicorn theme.\n5. **Timeline Adjustments**: Modify the party timeline to account for indoor activities. Ensure that the timeline is still efficient and keeps the kids entertained.\n\nFinally, write a detailed backup plan that includes:\n- **Indoor Activity Schedule**: A list of adjusted activities with their respective times.\n- **Indoor Setup Instructions**: Detailed instructions on how to set up the indoor space, including decorations, food, and drink stations.\n- **Safety Guidelines**: Any additional safety guidelines or considerations for indoor activities.\n\nEnsure that the backup plan is clear, concise, and easy to follow. The plan should allow for a smooth transition from outdoor to indoor activities in case of rain.", + "input_vars_required": [], + "depends_on": [ + "SHOPPING_LIST", + "PARTY_GAMES", + "PARTY_TIMELINE", + "INVITATION_TEXT" + ] + }, + { + "subtask": "6. Compile the shopping list, party games, timeline, invitation text, and backup plan into a single cohesive output. -", + "tag": "FINAL_PARTY_PLAN", + "constraints": [ + { + "constraint": "Everything must stay within a total budget of about ~$400", + "validation_strategy": "code" + }, + { + "constraint": "Follow basic food safety guidelines especially for kids with common allergies like nuts and dairy", + "validation_strategy": "llm" + }, + { + "constraint": "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + "validation_strategy": "llm" + } + ], + "prompt_template": "Your task is to compile the shopping list, party games, timeline, invitation text, and backup plan into a single cohesive output for the birthday party. Follow these steps to accomplish your task:\n\n1. **Review the Shopping List**:\n Carefully review the detailed shopping list with estimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people. Ensure the total budget stays within $400.\n \n {{SHOPPING_LIST}}\n \n\n2. **Review the Party Games**:\n Review the suggested 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours.\n \n {{PARTY_GAMES}}\n \n\n3. **Review the Party Timeline**:\n Review the timeline for the party day starting from 2 hours before guests arrive until cleanup is done, including food prep, decoration setup, and scheduling of activities.\n \n {{PARTY_TIMELINE}}\n \n\n4. **Review the Invitation Text**:\n Review the cute invitation text that includes all the important details like date, time, location, RSVP information, and any special instructions about allergies or what kids should bring or wear.\n \n {{INVITATION_TEXT}}\n \n\n5. **Review the Backup Plan**:\n Review the backup plan in case it rains, ensuring all activities can be moved indoors.\n \n {{BACKUP_PLAN}}\n \n\n6. **Compile the Information**:\n Combine all the reviewed information into a single cohesive output. Ensure that the output is well-organized and easy to follow. Include the following sections in your final output:\n - **Shopping List**: Detailed list with estimated costs.\n - **Party Games**: Suggested activities with descriptions.\n - **Party Timeline**: Step-by-step schedule for the party day.\n - **Invitation Text**: Cute and informative text for parents.\n - **Backup Plan**: Plan for indoor activities in case of rain.\n\n7. **Final Output**:\n Present the compiled information in a clear and concise manner. Ensure that all details are included and that the output is easy to read and understand.\n\nYour final output should be a comprehensive guide that includes all the necessary information for planning and executing the birthday party.", + "input_vars_required": [], + "depends_on": [ + "SHOPPING_LIST", + "PARTY_GAMES", + "PARTY_TIMELINE", + "INVITATION_TEXT", + "BACKUP_PLAN" + ] + } + ] +} \ No newline at end of file diff --git a/docs/examples/m_decompose/small/m_decomp_result.py b/docs/examples/m_decompose/small/m_decomp_result.py new file mode 100644 index 000000000..fb7ed84b5 --- /dev/null +++ b/docs/examples/m_decompose/small/m_decomp_result.py @@ -0,0 +1,380 @@ +# pytest: ollama, llm +# Note: This is an example of an intermediary result from using decompose, not an example of how to use decompose. + +import textwrap + +import mellea + +if __name__ == "__main__": + m = mellea.start_session() + + # 1. Create a detailed shopping list with estimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people, ensuring the total budget stays within $400. - - SHOPPING_LIST + shopping_list = m.instruct( + textwrap.dedent( + R""" + Your task is to create a detailed shopping list with estimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people, ensuring the total budget stays within $400. Follow these steps to accomplish your task: + + 1. **Understand the Requirements**: + - The party is for an 8-year-old daughter who loves unicorns. + - The party theme colors are pink, purple, and gold. + - The party will have 15 kids from her class, but the cake should serve at least 20 people. + - The total budget should not exceed $400. + - Follow basic food safety guidelines, especially for kids with common allergies like nuts and dairy. + + 2. **Categories to Include**: + - **Decorations**: Unicorn-themed decorations in pink, purple, and gold. + - **Food**: Finger foods and snacks suitable for kids. + - **Drinks**: Beverages that are kid-friendly. + - **Party Favors**: Small gifts or treats for each child. + - **Cake**: A unicorn-themed cake that serves at least 20 people. + + 3. **Estimate Costs**: + - Research and list the estimated costs for each item. + - Ensure the total cost of all items does not exceed $400. + + 4. **Create the Shopping List**: + - Organize the list by categories (decorations, food, drinks, party favors, cake). + - Include the name of each item, the estimated cost, and the quantity needed. + - Ensure all items fit within the unicorn theme and the specified colors. + + 5. **Review the List**: + - Double-check that all necessary items are included. + - Verify that the total estimated cost is within the $400 budget. + + 6. **Output the Shopping List**: + - Present the shopping list in a clear and organized format. + - Include the estimated cost for each item and the total estimated cost. + + Here is an example structure to guide your writing: + - **Decorations**: + - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount] + - Item 2: [Description], Quantity: [Number], Estimated Cost: [$Amount] + - **Food**: + - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount] + - Item 2: [Description], Quantity: [Number], Estimated Cost: [$Amount] + - **Drinks**: + - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount] + - Item 2: [Description], Quantity: [Number], Estimated Cost: [$Amount] + - **Party Favors**: + - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount] + - Item 2: [Description], Quantity: [Number], Estimated Cost: [$Amount] + - **Cake**: + - Item 1: [Description], Quantity: [Number], Estimated Cost: [$Amount] + + Ensure that the shopping list is comprehensive and meets all the specified requirements. + """.strip() + ), + requirements=[ + "The shopping list must include decorations, food, drinks, party favors, and a cake that serves at least 20 people", + "Everything must stay within a total budget of about ~$400", + "Follow basic food safety guidelines especially for kids with common allergies like nuts and dairy", + "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + ], + ) + assert shopping_list.value is not None, ( + 'ERROR: task "shopping_list" execution failed' + ) + + # 2. Suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours. - - PARTY_GAMES + party_games = m.instruct( + textwrap.dedent( + R""" + Your task is to suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours. Follow these steps to accomplish your task: + + 1. **Understand the Theme and Audience**: + - The party theme is unicorns, and the target audience is 8-year-old kids. + - The party should be fun, engaging, and age-appropriate. + - The theme colors are pink, purple, and gold. + + 2. **Consider the Duration**: + - The activities should keep the kids entertained for about 3 hours. + - Plan a mix of active and passive games to maintain engagement. + + 3. **Brainstorm Activity Ideas**: + - Think of games and activities that fit the unicorn theme. + - Ensure the activities are safe, fun, and suitable for 8-year-olds. + - Consider both indoor and outdoor activities in case of rain. + + 4. **List the Activities**: + - Provide a list of 5-7 activities with brief descriptions. + - Include any necessary materials or preparations for each activity. + - Ensure the activities are varied to keep the kids interested. + + 5. **Review the Shopping List**: + - Refer to the shopping list created in the previous step to ensure you have all the necessary materials for the activities: + + {{SHOPPING_LIST}} + + + 6. **Finalize the Activities**: + - Ensure the activities are feasible within the budget and theme. + - Make sure the activities are safe and consider any common allergies or dietary restrictions. + + Here is an example structure to guide your suggestions: + - **Activity 1**: [Description] + - **Activity 2**: [Description] + - **Activity 3**: [Description] + - **Activity 4**: [Description] + - **Activity 5**: [Description] + - **Activity 6**: [Description] + - **Activity 7**: [Description] + + Ensure each activity is clearly described and fits the unicorn theme. You should write only the activities, do not include the guidance structure. + """.strip() + ), + requirements=[ + "Suggest 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours", + "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + ], + user_variables={"SHOPPING_LIST": shopping_list.value}, + ) + assert party_games.value is not None, 'ERROR: task "party_games" execution failed' + + # 3. Draft a timeline for the party day starting from 2 hours before guests arrive until cleanup is done, including food prep, decoration setup, and scheduling of activities. - - PARTY_TIMELINE + party_timeline = m.instruct( + textwrap.dedent( + R""" + Your task is to draft a detailed timeline for the birthday party day, starting from 2 hours before guests arrive until cleanup is done. The timeline should include food prep, decoration setup, and scheduling of activities, ensuring the party runs smoothly and stays within the allocated time. + + To accomplish this, follow these steps: + + 1. **Review the Shopping List and Party Games**: + First, review the shopping list and party games that have been prepared in the previous steps. This will help you understand the tasks that need to be scheduled and the activities that will take place during the party. + + {{SHOPPING_LIST}} + + + {{PARTY_GAMES}} + + + 2. **Plan the Timeline**: + Create a timeline that starts 2 hours before the guests arrive and ends with the cleanup after the party. Include the following key elements: + - **Decoration Setup**: Schedule the setup of decorations, ensuring they are in place before guests arrive. + - **Food Prep**: Plan the preparation of food and drinks, including any last-minute tasks that need to be done just before serving. + - **Activity Schedule**: Allocate time slots for each of the 5-7 party games or activities, ensuring they are spaced out appropriately to keep the kids entertained for about 3 hours. + - **Food and Cake Serving**: Schedule the serving of food and cake, making sure it fits well within the activity timeline. + - **Cleanup**: Include a time slot for cleanup after the party, ensuring all tasks are completed efficiently. + + 3. **Ensure Logical Flow**: + Make sure the timeline flows logically, with each task leading smoothly into the next. Consider the time required for each activity and the transitions between them. + + 4. **Include Buffer Time**: + Add buffer time between activities to account for any unexpected delays or transitions. + + 5. **Finalize the Timeline**: + Compile all the scheduled tasks into a clear and concise timeline. Ensure it is easy to follow and includes all necessary details. + + Here is an example structure to guide your writing: + - **2 Hours Before Guests Arrive**: Start decoration setup and initial food prep. + - **1.5 Hours Before Guests Arrive**: Complete decoration setup and continue food prep. + - **1 Hour Before Guests Arrive**: Final touches on decorations and food prep. + - **Guests Arrive**: Welcome guests and begin the first activity. + - **Activity 1**: [Describe the activity and its duration] + - **Activity 2**: [Describe the activity and its duration] + - **Serve Food**: [Schedule the serving of food] + - **Activity 3**: [Describe the activity and its duration] + - **Serve Cake**: [Schedule the serving of cake] + - **Activity 4**: [Describe the activity and its duration] + - **Activity 5**: [Describe the activity and its duration] + - **Cleanup**: [Schedule the cleanup tasks] + + Ensure that each time slot is clearly defined and that the timeline is easy to follow. You should write only the timeline, do not include the guidance structure. + """.strip() + ), + requirements=[ + "Write out a timeline for the party day starting from 2 hours before guests arrive until cleanup is done showing exactly when to do food prep, decoration setup, when each activity should happen, and when to serve food and cake", + "Follow basic food safety guidelines especially for kids with common allergies like nuts and dairy", + ], + user_variables={ + "SHOPPING_LIST": shopping_list.value, + "PARTY_GAMES": party_games.value, + }, + ) + assert party_timeline.value is not None, ( + 'ERROR: task "party_timeline" execution failed' + ) + + # 4. Create a cute invitation text that includes all the important details like date, time, location, RSVP information, and any special instructions about allergies or what kids should bring or wear. - - INVITATION_TEXT + invitation_text = m.instruct( + textwrap.dedent( + R""" + Your task is to create a cute invitation text for an 8-year-old's unicorn-themed birthday party. The invitation should include all the important details and follow the party's theme colors: pink, purple, and gold. + + To accomplish this, follow these steps: + + 1. **Gather Party Details**: + - Review the shopping list, party games, and timeline created in the previous steps to gather all necessary information: + + {{SHOPPING_LIST}} + + + {{PARTY_GAMES}} + + + {{PARTY_TIMELINE}} + + + 2. **Include Essential Information**: + - **Date and Time**: Clearly state the date and time of the party. + - **Location**: Provide the address and any specific instructions for getting to the party location. + - **RSVP Information**: Include a contact email or phone number for RSVP and any deadline for responding. + - **Special Instructions**: Mention any allergies, what kids should bring or wear, and any other important notes. + + 3. **Theme and Tone**: + - Use a cute and playful tone that fits the unicorn theme. + - Incorporate the theme colors (pink, purple, and gold) into the design and wording of the invitation. + + 4. **Format the Invitation**: + - Use a clear and organized format, such as bullet points or paragraphs, to present the information. + - Make sure the invitation is easy to read and visually appealing. + + 5. **Example Structure**: + - **Header**: A fun and colorful header that says "Unicorn Birthday Party!" + - **Body**: + - "You're invited to [Child's Name]'s Unicorn Birthday Party!" + - "Date: [Date]" + - "Time: [Time]" + - "Location: [Location]" + - "RSVP by [Date] to [Email/Phone Number]" + - "Special Instructions: [Allergies, what to bring or wear, etc.]" + - **Footer**: A cute closing line like "Hope to see you there for a magical time!" + + 6. **Review and Finalize**: + - Ensure all important details are included and the invitation is error-free. + - Make any necessary adjustments to ensure the invitation is clear, cute, and fits the unicorn theme. + + Finally, write the cute invitation text based on the above guidelines and provide it as your answer. + """.strip() + ), + requirements=[ + "Draft a cute invitation text that includes all the important details like date, time, location, RSVP information, and any special instructions about allergies or what kids should bring or wear", + "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + ], + user_variables={ + "SHOPPING_LIST": shopping_list.value, + "PARTY_GAMES": party_games.value, + "PARTY_TIMELINE": party_timeline.value, + }, + ) + assert invitation_text.value is not None, ( + 'ERROR: task "invitation_text" execution failed' + ) + + # 5. Develop a backup plan in case it rains, ensuring all activities can be moved indoors. - - BACKUP_PLAN + backup_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to develop a backup plan in case it rains, ensuring all activities can be moved indoors. Follow these steps to accomplish your task: + + First, review the shopping list, party games, timeline, and invitation text from the previous steps to understand the party setup and activities: + + {{SHOPPING_LIST}} + + + {{PARTY_GAMES}} + + + {{PARTY_TIMELINE}} + + + {{INVITATION_TEXT}} + + + Next, consider the following factors for the backup plan: + 1. **Indoor Space**: Ensure that the indoor space is large enough to accommodate all the activities and guests comfortably. + 2. **Activity Adjustments**: Modify the party games and activities to fit the indoor space. Consider the following: + - **Space Constraints**: Ensure that games like "Pin the Horn on the Unicorn" or "Unicorn Ring Toss" can be played indoors without any hazards. + - **Noise Levels**: Adjust activities to minimize noise, especially if the party is in a residential area. + - **Safety**: Ensure that all indoor activities are safe and age-appropriate. + 3. **Food and Drinks**: Plan how to serve food and drinks indoors. Consider using tables or a buffet-style setup to minimize clutter. + 4. **Decorations**: Adjust the decoration setup to fit the indoor space. Ensure that the decorations are still visually appealing and fit the unicorn theme. + 5. **Timeline Adjustments**: Modify the party timeline to account for indoor activities. Ensure that the timeline is still efficient and keeps the kids entertained. + + Finally, write a detailed backup plan that includes: + - **Indoor Activity Schedule**: A list of adjusted activities with their respective times. + - **Indoor Setup Instructions**: Detailed instructions on how to set up the indoor space, including decorations, food, and drink stations. + - **Safety Guidelines**: Any additional safety guidelines or considerations for indoor activities. + + Ensure that the backup plan is clear, concise, and easy to follow. The plan should allow for a smooth transition from outdoor to indoor activities in case of rain. + """.strip() + ), + requirements=["Create a backup plan in case it rains"], + user_variables={ + "SHOPPING_LIST": shopping_list.value, + "PARTY_GAMES": party_games.value, + "PARTY_TIMELINE": party_timeline.value, + "INVITATION_TEXT": invitation_text.value, + }, + ) + assert backup_plan.value is not None, 'ERROR: task "backup_plan" execution failed' + + # 6. Compile the shopping list, party games, timeline, invitation text, and backup plan into a single cohesive output. - - FINAL_PARTY_PLAN + final_party_plan = m.instruct( + textwrap.dedent( + R""" + Your task is to compile the shopping list, party games, timeline, invitation text, and backup plan into a single cohesive output for the birthday party. Follow these steps to accomplish your task: + + 1. **Review the Shopping List**: + Carefully review the detailed shopping list with estimated costs for decorations, food, drinks, party favors, and a cake that serves at least 20 people. Ensure the total budget stays within $400. + + {{SHOPPING_LIST}} + + + 2. **Review the Party Games**: + Review the suggested 5-7 age-appropriate party games or activities that fit the unicorn theme and can keep the kids entertained for about 3 hours. + + {{PARTY_GAMES}} + + + 3. **Review the Party Timeline**: + Review the timeline for the party day starting from 2 hours before guests arrive until cleanup is done, including food prep, decoration setup, and scheduling of activities. + + {{PARTY_TIMELINE}} + + + 4. **Review the Invitation Text**: + Review the cute invitation text that includes all the important details like date, time, location, RSVP information, and any special instructions about allergies or what kids should bring or wear. + + {{INVITATION_TEXT}} + + + 5. **Review the Backup Plan**: + Review the backup plan in case it rains, ensuring all activities can be moved indoors. + + {{BACKUP_PLAN}} + + + 6. **Compile the Information**: + Combine all the reviewed information into a single cohesive output. Ensure that the output is well-organized and easy to follow. Include the following sections in your final output: + - **Shopping List**: Detailed list with estimated costs. + - **Party Games**: Suggested activities with descriptions. + - **Party Timeline**: Step-by-step schedule for the party day. + - **Invitation Text**: Cute and informative text for parents. + - **Backup Plan**: Plan for indoor activities in case of rain. + + 7. **Final Output**: + Present the compiled information in a clear and concise manner. Ensure that all details are included and that the output is easy to read and understand. + + Your final output should be a comprehensive guide that includes all the necessary information for planning and executing the birthday party. + """.strip() + ), + requirements=[ + "Everything must stay within a total budget of about ~$400", + "Follow basic food safety guidelines especially for kids with common allergies like nuts and dairy", + "The party theme colors should be pink, purple, and gold to match the unicorn decorations", + ], + user_variables={ + "SHOPPING_LIST": shopping_list.value, + "PARTY_GAMES": party_games.value, + "PARTY_TIMELINE": party_timeline.value, + "INVITATION_TEXT": invitation_text.value, + "BACKUP_PLAN": backup_plan.value, + }, + ) + assert final_party_plan.value is not None, ( + 'ERROR: task "final_party_plan" execution failed' + ) + + final_answer = final_party_plan.value + + print(final_answer) diff --git a/docs/tutorial.md b/docs/tutorial.md index fa2cde556..1892c2509 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -40,6 +40,7 @@ - [Customization](#customization) - [Choosing a Template](#choosing-a-template) - [Editing an Existing Class](#editing-an-existing-class) + - [Large Prompts and Decompose](#decompose) - [Chapter 11: Tool Calling](#chapter-11-tool-calling) - [Chapter 12: Asynchronicity](#chapter-12-asynchronicity) - [Asynchronous Functions:](#asynchronous-functions) @@ -1329,6 +1330,25 @@ To customize the template and template representation of an existing class, simp See [`mellea/docs/examples/mify/rich_document_advanced.py`](./examples/mify/rich_document_advanced.py) +#### Decompose +For large prompts Mellea offers a decompose function to break down the initial prompt into a series of smaller ones. In addition, the intermediary output allows for constraints and validation to be applied to the output of each step. The final output is done by composing these intermediate steps. + +See [`mellea/docs/examples/m_decompose/`](./examples/m_decompose/) for an input example prompt, intermediary json and python representations, and the final output. + +For a smaller example see [`mellea/docs/examples/m_decompose/small/`](./examples/m_decompose/small/) + +For an example within Python see [[`mellea/docs/examples/m_decompose/python/`](./examples/m_decompose/python/)] + +To run the example locally use the following command: +```bash +m decompose run --out-dir ./ --prompt-file ./docs/examples/m_decomposeexample_decompose_prompt.txt +``` + +To run the generated intermediary use the following command: +```bash +python ./m_decomp_result.py > final_output.txt +``` + ## Chapter 11: Tool Calling Mellea supports tool calling for providers/models that support it. Most session level functions support setting a tool_calls boolean. Setting this to true allows tools to be called, but there's no guarantee that a model will call them.