Spaces:
Sleeping
Sleeping
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -169,77 +169,98 @@ def create_research_crew(topic: str):
|
|
| 169 |
|
| 170 |
report_task = Task(
|
| 171 |
description="""
|
| 172 |
-
Create a comprehensive market research report following this structure:
|
| 173 |
|
| 174 |
=== EXECUTIVE SUMMARY ===
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
-
|
| 179 |
-
-
|
| 180 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
|
| 182 |
=== MARKET ANALYSIS ===
|
| 183 |
-
Provide detailed market analysis covering:
|
| 184 |
-
1. Market Overview
|
| 185 |
-
- Define market scope and segmentation
|
| 186 |
-
- Current market size and valuation
|
| 187 |
-
- Historical growth analysis
|
| 188 |
-
- Future growth projections
|
| 189 |
-
- Key market segments
|
| 190 |
-
- Geographic distribution
|
| 191 |
-
- Value chain analysis
|
| 192 |
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
3. Competitive Landscape
|
| 202 |
-
- Market structure
|
| 203 |
-
- Key player profiles
|
| 204 |
-
- Market share analysis
|
| 205 |
-
- Competitive strategies
|
| 206 |
-
- Recent developments
|
| 207 |
-
- SWOT analysis
|
| 208 |
-
- Case studies
|
| 209 |
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
|
| 218 |
=== FUTURE OUTLOOK ===
|
| 219 |
-
|
| 220 |
- Market forecasts
|
| 221 |
- Emerging trends
|
| 222 |
- Technology roadmap
|
| 223 |
- Future scenarios
|
| 224 |
- Strategic implications
|
|
|
|
| 225 |
|
| 226 |
-
=== SOURCES
|
| 227 |
-
List all sources
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
Structure the content with clear headings (use === for main sections and ## for subsections)
|
| 238 |
-
Make it a narrative document that flows well and tells a story about the market. Important: Use the exact section markers (=== and ##) as shown above.
|
| 239 |
-
Write detailed content for each section, replacing the placeholders.
|
| 240 |
""",
|
| 241 |
agent=writer,
|
| 242 |
-
expected_output="A comprehensive
|
| 243 |
context=[research_task, analysis_task]
|
| 244 |
)
|
| 245 |
return Crew(
|
|
|
|
| 169 |
|
| 170 |
report_task = Task(
|
| 171 |
description="""
|
| 172 |
+
Create a comprehensive market research report following this exact structure and formatting:
|
| 173 |
|
| 174 |
=== EXECUTIVE SUMMARY ===
|
| 175 |
+
[Main executive summary content here]
|
| 176 |
+
|
| 177 |
+
### Key Market Findings
|
| 178 |
+
- Point 1
|
| 179 |
+
- Point 2
|
| 180 |
+
- Point 3
|
| 181 |
+
- verbose narrative to summarize your view
|
| 182 |
+
|
| 183 |
+
### Strategic Implications
|
| 184 |
+
- Implication 1
|
| 185 |
+
- Implication 2
|
| 186 |
+
- Implication 3
|
| 187 |
+
- verbose narrative to summarize your view
|
| 188 |
+
|
| 189 |
+
### Recommendations
|
| 190 |
+
- Recommendation 1
|
| 191 |
+
- Recommendation 2
|
| 192 |
+
- Recommendation 3
|
| 193 |
+
- verbose narrative to summarize your view
|
| 194 |
|
| 195 |
=== MARKET ANALYSIS ===
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
|
| 197 |
+
### Market Overview
|
| 198 |
+
[Detailed market overview including:]
|
| 199 |
+
- Market size and valuation
|
| 200 |
+
- Growth rates and projections
|
| 201 |
+
- Market segmentation
|
| 202 |
+
- Geographic distribution
|
| 203 |
+
- Value chain analysis
|
| 204 |
+
- verbose narrative to summarize your view
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
|
| 206 |
+
### Industry Dynamics
|
| 207 |
+
[Comprehensive industry analysis including:]
|
| 208 |
+
- Growth drivers
|
| 209 |
+
- Market challenges
|
| 210 |
+
- Emerging opportunities
|
| 211 |
+
- Current trends
|
| 212 |
+
- Technology impact
|
| 213 |
+
- Regulatory landscape
|
| 214 |
+
- verbose narrative to summarize your view
|
| 215 |
+
|
| 216 |
+
### Competitive Landscape
|
| 217 |
+
[Detailed competitive analysis including:]
|
| 218 |
+
- Market structure
|
| 219 |
+
- Key player profiles
|
| 220 |
+
- Market share analysis
|
| 221 |
+
- Competitive strategies
|
| 222 |
+
- Recent developments
|
| 223 |
+
- SWOT analysis
|
| 224 |
+
- Case studies
|
| 225 |
+
- verbose narrative to summarize your view
|
| 226 |
+
|
| 227 |
+
### Strategic Analysis
|
| 228 |
+
[Strategic insights including:]
|
| 229 |
+
- Porter's Five Forces analysis
|
| 230 |
+
- Success factors
|
| 231 |
+
- Entry barriers
|
| 232 |
+
- Risk assessment
|
| 233 |
+
- Growth opportunities
|
| 234 |
+
- verbose narrative to summarize your view
|
| 235 |
|
| 236 |
=== FUTURE OUTLOOK ===
|
| 237 |
+
[Detailed future projections and analysis including:]
|
| 238 |
- Market forecasts
|
| 239 |
- Emerging trends
|
| 240 |
- Technology roadmap
|
| 241 |
- Future scenarios
|
| 242 |
- Strategic implications
|
| 243 |
+
- verbose narrative to summarize your view
|
| 244 |
|
| 245 |
+
=== SOURCES ===
|
| 246 |
+
[List all sources with bullet points, including:]
|
| 247 |
+
- Market research reports used
|
| 248 |
+
- Industry databases referenced
|
| 249 |
+
- Expert interviews conducted
|
| 250 |
+
- Company reports analyzed
|
| 251 |
+
- News articles and publications
|
| 252 |
|
| 253 |
+
Important Instructions:
|
| 254 |
+
1. Use exactly these section markers (===) and subsection markers (###)
|
| 255 |
+
2. Provide detailed content under each section
|
| 256 |
+
3. Use bullet points for better readability
|
| 257 |
+
4. Include specific numbers and data points
|
| 258 |
+
5. Ensure proper formatting for each section
|
| 259 |
+
6. List all sources properly with bullet points
|
| 260 |
+
7. Where possible summarize and provide your narrative for better readership
|
|
|
|
|
|
|
|
|
|
| 261 |
""",
|
| 262 |
agent=writer,
|
| 263 |
+
expected_output="A comprehensive market research report with proper section formatting",
|
| 264 |
context=[research_task, analysis_task]
|
| 265 |
)
|
| 266 |
return Crew(
|