cryogenic22 commited on
Commit
8370bd2
·
verified ·
1 Parent(s): 9c059ec

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +6 -3
agents.py CHANGED
@@ -60,7 +60,8 @@ def create_research_crew(topic: str, questions: list):
60
 
61
  Use web search to find recent data and developments.
62
  Include specific numbers and statistics.""",
63
- agent=researcher
 
64
  ),
65
  Task(
66
  description=f"""Analyze the research data for {topic}:
@@ -72,7 +73,8 @@ def create_research_crew(topic: str, questions: list):
72
 
73
  Address user questions: {', '.join(questions)}
74
  Create visualizations for key metrics.""",
75
- agent=analyst
 
76
  ),
77
  Task(
78
  description=f"""Write comprehensive report for {topic}:
@@ -86,7 +88,8 @@ def create_research_crew(topic: str, questions: list):
86
 
87
  Ensure all user questions are answered: {', '.join(questions)}
88
  Include data visualizations and key metrics.""",
89
- agent=writer
 
90
  )
91
  ]
92
 
 
60
 
61
  Use web search to find recent data and developments.
62
  Include specific numbers and statistics.""",
63
+ agent=researcher,
64
+ expected_output="Detailed market research data with specific metrics and findings"
65
  ),
66
  Task(
67
  description=f"""Analyze the research data for {topic}:
 
73
 
74
  Address user questions: {', '.join(questions)}
75
  Create visualizations for key metrics.""",
76
+ agent=analyst,
77
+ expected_output="Comprehensive market analysis with trends and insights"
78
  ),
79
  Task(
80
  description=f"""Write comprehensive report for {topic}:
 
88
 
89
  Ensure all user questions are answered: {', '.join(questions)}
90
  Include data visualizations and key metrics.""",
91
+ agent=writer,
92
+ expected_output="Complete market research report with analysis and recommendations"
93
  )
94
  ]
95