Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -203,7 +203,7 @@ def create_research_crew(topic: str):
|
|
| 203 |
)
|
| 204 |
|
| 205 |
research_task = Task(
|
| 206 |
-
description=
|
| 207 |
Conduct exhaustive market research on {topic} with:
|
| 208 |
|
| 209 |
1. Comprehensive Market Overview:
|
|
@@ -249,9 +249,8 @@ def create_research_crew(topic: str):
|
|
| 249 |
agent=researcher,
|
| 250 |
expected_output="Exhaustive research data with comprehensive analysis and verified sources"
|
| 251 |
)
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
description=f"""
|
| 255 |
Perform comprehensive analysis of the research findings:
|
| 256 |
|
| 257 |
1. Strategic Market Analysis:
|
|
@@ -308,7 +307,7 @@ def create_research_crew(topic: str):
|
|
| 308 |
)
|
| 309 |
|
| 310 |
report_task = Task(
|
| 311 |
-
description=
|
| 312 |
Create an extensive professional report including:
|
| 313 |
|
| 314 |
1. Executive Summary (3-4 pages):
|
|
@@ -362,40 +361,40 @@ def create_research_crew(topic: str):
|
|
| 362 |
- Sources and citations
|
| 363 |
|
| 364 |
Format as JSON:
|
| 365 |
-
{
|
| 366 |
-
"exec_summary": {
|
| 367 |
"summary": "comprehensive executive overview",
|
| 368 |
"market_size": "detailed market size analysis",
|
| 369 |
"growth_rate": "detailed growth projections",
|
| 370 |
"key_players": "detailed competitive analysis",
|
| 371 |
"critical_insights": "key strategic insights",
|
| 372 |
"recommendations": "strategic recommendations"
|
| 373 |
-
}
|
| 374 |
-
"detailed_report": {
|
| 375 |
"market_overview": "comprehensive market analysis",
|
| 376 |
"competitive_landscape": "detailed competitive analysis",
|
| 377 |
"market_dynamics": "in-depth market dynamics",
|
| 378 |
"future_outlook": "detailed projections and scenarios",
|
| 379 |
"strategic_implications": "strategic analysis and recommendations"
|
| 380 |
-
}
|
| 381 |
"sources": ["source1", "source2"],
|
| 382 |
-
"metrics": {
|
| 383 |
"market_size_data": [],
|
| 384 |
"growth_rates": [],
|
| 385 |
-
"market_shares": {
|
| 386 |
"regional_distribution": [],
|
| 387 |
"segment_analysis": [],
|
| 388 |
"competitor_metrics": {},
|
| 389 |
"trend_indicators": []
|
| 390 |
-
}
|
| 391 |
-
"visualizations": {
|
| 392 |
"market_growth": "time series data",
|
| 393 |
"competitive_landscape": "positioning data",
|
| 394 |
"regional_analysis": "geographical data",
|
| 395 |
"segment_breakdown": "segmentation data",
|
| 396 |
"trend_analysis": "trend indicators"
|
| 397 |
-
}
|
| 398 |
-
}
|
| 399 |
""",
|
| 400 |
agent=writer,
|
| 401 |
expected_output="Comprehensive JSON containing detailed executive summary and full report",
|
|
|
|
| 203 |
)
|
| 204 |
|
| 205 |
research_task = Task(
|
| 206 |
+
description="""
|
| 207 |
Conduct exhaustive market research on {topic} with:
|
| 208 |
|
| 209 |
1. Comprehensive Market Overview:
|
|
|
|
| 249 |
agent=researcher,
|
| 250 |
expected_output="Exhaustive research data with comprehensive analysis and verified sources"
|
| 251 |
)
|
| 252 |
+
analysis_task = Task(
|
| 253 |
+
description="""
|
|
|
|
| 254 |
Perform comprehensive analysis of the research findings:
|
| 255 |
|
| 256 |
1. Strategic Market Analysis:
|
|
|
|
| 307 |
)
|
| 308 |
|
| 309 |
report_task = Task(
|
| 310 |
+
description="""
|
| 311 |
Create an extensive professional report including:
|
| 312 |
|
| 313 |
1. Executive Summary (3-4 pages):
|
|
|
|
| 361 |
- Sources and citations
|
| 362 |
|
| 363 |
Format as JSON:
|
| 364 |
+
{
|
| 365 |
+
"exec_summary": {
|
| 366 |
"summary": "comprehensive executive overview",
|
| 367 |
"market_size": "detailed market size analysis",
|
| 368 |
"growth_rate": "detailed growth projections",
|
| 369 |
"key_players": "detailed competitive analysis",
|
| 370 |
"critical_insights": "key strategic insights",
|
| 371 |
"recommendations": "strategic recommendations"
|
| 372 |
+
},
|
| 373 |
+
"detailed_report": {
|
| 374 |
"market_overview": "comprehensive market analysis",
|
| 375 |
"competitive_landscape": "detailed competitive analysis",
|
| 376 |
"market_dynamics": "in-depth market dynamics",
|
| 377 |
"future_outlook": "detailed projections and scenarios",
|
| 378 |
"strategic_implications": "strategic analysis and recommendations"
|
| 379 |
+
},
|
| 380 |
"sources": ["source1", "source2"],
|
| 381 |
+
"metrics": {
|
| 382 |
"market_size_data": [],
|
| 383 |
"growth_rates": [],
|
| 384 |
+
"market_shares": {},
|
| 385 |
"regional_distribution": [],
|
| 386 |
"segment_analysis": [],
|
| 387 |
"competitor_metrics": {},
|
| 388 |
"trend_indicators": []
|
| 389 |
+
},
|
| 390 |
+
"visualizations": {
|
| 391 |
"market_growth": "time series data",
|
| 392 |
"competitive_landscape": "positioning data",
|
| 393 |
"regional_analysis": "geographical data",
|
| 394 |
"segment_breakdown": "segmentation data",
|
| 395 |
"trend_analysis": "trend indicators"
|
| 396 |
+
}
|
| 397 |
+
}
|
| 398 |
""",
|
| 399 |
agent=writer,
|
| 400 |
expected_output="Comprehensive JSON containing detailed executive summary and full report",
|