Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -194,29 +194,26 @@ write = Task(
|
|
194 |
|
195 |
analyse = Task(
|
196 |
description=(
|
197 |
-
"1. Conduct a comprehensive statistical analysis of patent filing trends, innovation hot spots, and future growth projections in the
|
198 |
"2. Identify and rank the top regions, leading assignees/companies driving innovation.\n"
|
199 |
"3. Highlight regional innovation trends and the distribution of emerging technologies across different geographies.\n"
|
200 |
"4. Provide actionable insights and strategic recommendations based on the data.\n"
|
201 |
-
"5.
|
202 |
-
" - '
|
203 |
-
"
|
204 |
-
" b) A list of key items (technologies, companies, inventors), or\n"
|
205 |
-
" c) Descriptive text for qualitative insights.\n"
|
206 |
"6. Example Output Format:\n"
|
207 |
"[\n"
|
208 |
-
" {
|
209 |
-
" {
|
210 |
-
" {
|
211 |
-
" {
|
212 |
"]\n"
|
213 |
-
"7. Ensure
|
214 |
),
|
215 |
-
expected_output="A structured
|
216 |
agent=analyst
|
217 |
)
|
218 |
|
219 |
-
|
220 |
crew = Crew(
|
221 |
agents=[planner, analyst, writer],
|
222 |
tasks=[plan, analyse, write],
|
|
|
194 |
|
195 |
analyse = Task(
|
196 |
description=(
|
197 |
+
"1. Conduct a comprehensive statistical analysis of patent filing trends, innovation hot spots, and future growth projections in the {topic} sector.\n"
|
198 |
"2. Identify and rank the top regions, leading assignees/companies driving innovation.\n"
|
199 |
"3. Highlight regional innovation trends and the distribution of emerging technologies across different geographies.\n"
|
200 |
"4. Provide actionable insights and strategic recommendations based on the data.\n"
|
201 |
+
"5. Categorize outputs as either:\n"
|
202 |
+
" - 'Data Insight' for visualizations and tables (quantitative data, trends, technologies).\n"
|
203 |
+
" - 'Key Insight' for strategic recommendations and innovation opportunities.\n"
|
|
|
|
|
204 |
"6. Example Output Format:\n"
|
205 |
"[\n"
|
206 |
+
" {'Category': 'Top Regions', 'Type': 'Data Insight', 'Values': {'North America': 120, 'Europe': 95}},\n"
|
207 |
+
" {'Category': 'Emerging Technologies', 'Type': 'Data Insight', 'Values': ['Transparent Conductive Films']},\n"
|
208 |
+
" {'Category': 'Strategic Insights', 'Type': 'Key Insight', 'Values': 'Collaborate with material science companies to develop advanced transparent antennas.'},\n"
|
209 |
+
" {'Category': 'Innovation Gaps', 'Type': 'Key Insight', 'Values': 'Limited patents in self-healing transparent materials present a growth opportunity.'}\n"
|
210 |
"]\n"
|
211 |
+
"7. Ensure all data is factually accurate, verifiable, and strictly aligned with {topic}."
|
212 |
),
|
213 |
+
expected_output="A structured dataset combining Data Insights for comprehensive visualizations and table reporting, and Key Insights for strategic actions.",
|
214 |
agent=analyst
|
215 |
)
|
216 |
|
|
|
217 |
crew = Crew(
|
218 |
agents=[planner, analyst, writer],
|
219 |
tasks=[plan, analyse, write],
|