Spaces:
Sleeping
Sleeping
Update phase3_agents.py
Browse files- phase3_agents.py +7 -4
phase3_agents.py
CHANGED
|
@@ -34,7 +34,9 @@ def generate_ai_strategy(company_data: str, industry_trends: str, ai_use_cases:
|
|
| 34 |
- **Competitor AI Strategies:** {competitor_analysis}
|
| 35 |
Generate a structured AI adoption strategy including key opportunities, recommended AI tools, implementation roadmap, and future scalability.
|
| 36 |
"""
|
| 37 |
-
|
|
|
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
##############################
|
|
@@ -55,8 +57,8 @@ def suggest_ai_integration(company_data: str, ai_strategy: str):
|
|
| 55 |
- **AI Strategy Summary:** {ai_strategy}
|
| 56 |
Provide a structured AI implementation plan including step-by-step integration, required technologies, workforce training, risk considerations, and key performance indicators.
|
| 57 |
"""
|
| 58 |
-
|
| 59 |
-
|
| 60 |
|
| 61 |
##############################
|
| 62 |
# 3️⃣ Revenue Growth Agent #
|
|
@@ -76,7 +78,8 @@ def identify_revenue_opportunities(company_data: str, ai_strategy: str):
|
|
| 76 |
- **AI Strategy:** {ai_strategy}
|
| 77 |
Provide AI monetization strategies, cost-saving efficiencies, market expansion possibilities, and competitive positioning tactics.
|
| 78 |
"""
|
| 79 |
-
|
|
|
|
| 80 |
|
| 81 |
|
| 82 |
##############################
|
|
|
|
| 34 |
- **Competitor AI Strategies:** {competitor_analysis}
|
| 35 |
Generate a structured AI adoption strategy including key opportunities, recommended AI tools, implementation roadmap, and future scalability.
|
| 36 |
"""
|
| 37 |
+
response = reasoning_agent.run(query)
|
| 38 |
+
return response.content
|
| 39 |
+
|
| 40 |
|
| 41 |
|
| 42 |
##############################
|
|
|
|
| 57 |
- **AI Strategy Summary:** {ai_strategy}
|
| 58 |
Provide a structured AI implementation plan including step-by-step integration, required technologies, workforce training, risk considerations, and key performance indicators.
|
| 59 |
"""
|
| 60 |
+
response = ai_integration_agent.run(query)
|
| 61 |
+
return response.content
|
| 62 |
|
| 63 |
##############################
|
| 64 |
# 3️⃣ Revenue Growth Agent #
|
|
|
|
| 78 |
- **AI Strategy:** {ai_strategy}
|
| 79 |
Provide AI monetization strategies, cost-saving efficiencies, market expansion possibilities, and competitive positioning tactics.
|
| 80 |
"""
|
| 81 |
+
response = revenue_growth_agent.run(query)
|
| 82 |
+
return response.content # Return the revenue opportunities
|
| 83 |
|
| 84 |
|
| 85 |
##############################
|