Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,18 +149,30 @@ write = Task(
|
|
149 |
|
150 |
analyse = Task(
|
151 |
description=(
|
152 |
-
"1.
|
153 |
-
"2. Identify and
|
154 |
-
"3.
|
155 |
-
"4.
|
156 |
-
"
|
157 |
-
"
|
158 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
),
|
160 |
-
expected_output="A structured list
|
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],
|