DrishtiSharma commited on
Commit
94b3bf6
·
verified ·
1 Parent(s): 4cd4c7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -8
app.py CHANGED
@@ -149,18 +149,30 @@ write = Task(
149
 
150
  analyse = Task(
151
  description=(
152
- "1. Perform a detailed statistical analysis of patent filing trends, innovation hot spots, and growth projections.\n"
153
- "2. Identify and list the top assignees, prominent inventors, and leading companies in the transparent antenna industry.\n"
154
- "3. Generate structured output in a list of dictionaries with 'Category' and 'Values' fields.\n"
155
- "4. Example Output Format:\n"
156
- "[{'Category': 'Top Assignees', 'Values': ['Company A', 'Company B']}, "
157
- "{'Category': 'Top Inventors', 'Values': ['Inventor X', 'Inventor Y']}]\n"
158
- "5. Generate visualizations such as heatmaps, bar charts, and multi-line charts for trends."
 
 
 
 
 
 
 
 
 
 
 
159
  ),
160
- expected_output="A structured list of dictionaries ready for visualization and tabular reporting.",
161
  agent=analyst
162
  )
163
 
 
164
  crew = Crew(
165
  agents=[planner, analyst, writer],
166
  tasks=[plan, analyse, write],
 
149
 
150
  analyse = Task(
151
  description=(
152
+ "1. Conduct a comprehensive statistical analysis of patent filing trends, innovation hot spots, and future growth projections in the transparent antenna industry.\n"
153
+ "2. Identify and rank the top regions, leading assignees, prominent inventors, and key companies driving innovation.\n"
154
+ "3. Highlight regional innovation trends and the distribution of emerging technologies across different geographies.\n"
155
+ "4. Provide actionable insights and strategic recommendations based on the data.\n"
156
+ "5. Deliver structured output in a list of dictionaries with 'Category' and 'Values' fields:\n"
157
+ " - 'Values' can be:\n"
158
+ " a) A dictionary with counts for quantitative data (e.g., {'Region A': 120, 'Region B': 95}),\n"
159
+ " b) A list of key items (technologies, companies, inventors), or\n"
160
+ " c) Descriptive text for qualitative insights.\n"
161
+ "6. Example Output Format:\n"
162
+ "[\n"
163
+ " {'Category': 'Top Regions', 'Values': {'North America': 120, 'Europe': 95, 'Asia-Pacific': 85}},\n"
164
+ " {'Category': 'Top Assignees', 'Values': {'Company A': 40, 'Company B': 35}},\n"
165
+ " {'Category': 'Top Inventors', 'Values': {'Inventor X': 25, 'Inventor Y': 20}},\n"
166
+ " {'Category': 'Emerging Technologies', 'Values': ['Graphene Antennas', '5G Integration']},\n"
167
+ " {'Category': 'Strategic Insights', 'Values': 'Collaborations between automotive and material science industries are accelerating innovation.'}\n"
168
+ "]\n"
169
+ "7. Ensure that the output is clean, well-structured, and formatted for use in visualizations and tables."
170
  ),
171
+ expected_output="A structured, well-organized dataset with numeric, list-based, and descriptive insights for comprehensive visual and tabular reporting.",
172
  agent=analyst
173
  )
174
 
175
+
176
  crew = Crew(
177
  agents=[planner, analyst, writer],
178
  tasks=[plan, analyse, write],