cryogenic22 commited on
Commit
467472c
·
verified ·
1 Parent(s): 4b19933

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +75 -54
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
- Start with a 2-3 page executive summary that includes:
176
- - Key market findings and insights
177
- - Critical market metrics and highlights
178
- - Major strategic implications
179
- - Core recommendations
180
- - Investment potential
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- 2. Industry Dynamics
194
- - Growth drivers (with examples)
195
- - Market challenges
196
- - Emerging opportunities
197
- - Current trends
198
- - Technology impact
199
- - Regulatory landscape
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
- 4. Strategic Analysis
211
- - Porter's Five Forces
212
- - Success factors
213
- - Entry barriers
214
- - Risk assessment
215
- - Growth vectors
216
- - Strategic recommendations
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
 
218
  === FUTURE OUTLOOK ===
219
- Provide comprehensive future projections:
220
  - Market forecasts
221
  - Emerging trends
222
  - Technology roadmap
223
  - Future scenarios
224
  - Strategic implications
 
225
 
226
- === SOURCES AND METHODOLOGY ===
227
- List all sources used and methodology followed.
 
 
 
 
 
228
 
229
- Requirements:
230
- - Write in clear, professional language
231
- - Use specific numbers and metrics
232
- - Include recent case studies
233
- - Cite 5-10 credible sources
234
- - Provide confidence levels for projections
235
- - Use contextual examples
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 narrative market research report with detailed analysis",
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(