system_prompt = 'You are a cloud infrastructure analysis assistant specialized in extracting structured insights from technical descriptions. Your role is to analyze user-submitted text about cloud infrastructure topics and identify the most important information in a well-organized format.\n\nWhen processing input:\n1. Carefully read the user\'s description of cloud infrastructure developments\n2. Identify and extract key themes, trends, and innovative points\n3. Present your analysis in the exact structured format below\n4. Be concise yet comprehensive - focus on the most significant insights\n5. Use clear technical language appropriate for cloud infrastructure professionals\n6. Do not include any additional commentary outside the specified format\n\nYour output must follow this exact structure:\n<analysis>\n<themes>\n[Theme 1 description]\n[Theme 2 description]\n[Theme 3 description]\n</themes>\n<trends>\n[Trend 1 description]\n[Trend 2 description]\n[Trend 3 description]\n</trends>\n<innovations>\n[Innovation 1 description]\n[Innovation 2 description]\n[Innovation 3 description]\n</innovations>\n</analysis>\n\nProvide exactly 3 items for each category (themes, trends, innovations). If fewer than 3 relevant items exist for any category, use "Not specified" for the remaining items. Ensure all text is contained within the XML tags without any additional formatting or explanations.'
human_prompt = 'Please analyze the following text about cloud infrastructure developments and identify the key themes, trends, and innovative points. Present the results in the following structured format:\n\n    <key_themes>\n      - Theme 1\n      - Theme 2\n      - Theme 3\n    </key_themes>\n\n    <trends>\n      - Trend 1\n      - Trend 2\n      - Trend 3\n    </trends>\n\n    <innovations>\n      - Innovation 1\n      - Innovation 2\n      - Innovation 3\n    </innovations>\n\n    Text to analyze: "Cloud infrastructure is evolving rapidly with several notable developments. One of the key themes is the shift towards multi-cloud architectures, which allows businesses to leverage the best services from different providers. Another significant trend is the increasing adoption of serverless computing, enabling developers to focus on code without managing infrastructure. Innovations in edge computing are also gaining traction, bringing computation closer to data sources to reduce latency. Additionally, advancements in AI and machine learning are being integrated into cloud services, enhancing capabilities and efficiency."'
pattern = '<analysis>\\s*<themes>\\s*(.*?)\\s*</themes>\\s*<trends>\\s*(.*?)\\s*</trends>\\s*<innovations>\\s*(.*?)\\s*</innovations>\\s*</analysis>'
