document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. def market_analysis(llm_agent, market, company_data, global_trends):
  2.     prompt = f"""
  3.    Analyze the potential for {company_data[\'name\']} to enter the {market} market.
  4.    Consider the following:
  5.    1. Current market size and growth projections
  6.    2. Key competitors and their market share
  7.    3. Regulatory environment
  8.    4. Alignment with {company_data[\'name\']}\'s strengths and weaknesses
  9.    5. Potential synergies with existing products/services
  10.    6. Impact of global trends: {global_trends}
  11.  
  12.    Provide a detailed analysis with specific recommendations.
  13.    """
  14.    
  15.     analysis = llm_agent.generate(prompt)
  16.     recommendations = llm_agent.extract_key_points(analysis)
  17.    
  18.     return {
  19.         "detailed_analysis": analysis,
  20.         "key_recommendations": recommendations
  21.     }
  22.  
  23. # Usage
  24. result = market_analysis(advanced_llm_agent, "Southeast Asian e-commerce", company_data, ["rising middle class", "increasing smartphone penetration"])
  25.  
');