DrishtiSharma commited on
Commit
66fd7c8
·
verified ·
1 Parent(s): 5d8fcc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -12
app.py CHANGED
@@ -168,25 +168,27 @@ analyst = Agent(
168
  # Task Definitions
169
  plan = Task(
170
  description=(
171
- "1. Research recent trends in {topic} patent filings and innovation.\n"
172
- "2. Identify key players and emerging technologies.\n"
173
- "3. Provide recommendations for stakeholders on strategic directions.\n"
174
- "4. Identify key statistics such as top regions, top players, and hot areas of innovation.\n"
175
- "5. Limit the output to 600 words."
 
176
  ),
177
- expected_output="A research document with structured insights, strategic recommendations, and key statistics.",
178
  agent=planner
179
  )
180
 
181
  write = Task(
182
  description=(
183
- "1. Use the Planner's and Analyst's outputs to craft a professional patent insights document.\n"
184
- "2. Include key findings, visual aids, and actionable strategies.\n"
185
- "3. Suggest strategic directions and highlight untapped innovation areas.\n"
186
- "4. Incorporate summarized tables for key statistics and example inventions without assigning/including any fake patent numbers.\n"
187
- "5. Limit the document to 600 words."
 
188
  ),
189
- expected_output="A polished, stakeholder-ready patent insights document with actionable recommendations.",
190
  agent=writer
191
  )
192
 
 
168
  # Task Definitions
169
  plan = Task(
170
  description=(
171
+ "1. Conduct comprehensive, fact-based research on recent trends in {topic} patent filings and innovation.\n"
172
+ "2. Identify key players, emerging technologies, and market gaps that are strictly relevant to {topic}.\n"
173
+ "3. Ensure all findings—especially emerging technologies and innovation hotspots—are explicitly aligned with {topic}.\n"
174
+ "4. Avoid speculative, fabricated, or unrelated content entirely.\n"
175
+ "5. Provide actionable, data-backed strategic recommendations aligned with {stakeholder}'s goals.\n"
176
+ "6. Limit the output to 600 words."
177
  ),
178
+ expected_output="A fact-driven research document with strictly relevant insights, strategic recommendations, and key statistics.",
179
  agent=planner
180
  )
181
 
182
  write = Task(
183
  description=(
184
+ "1. Use the Planner's and Analyst's strictly topic-aligned outputs to craft a professional patent insights document.\n"
185
+ "2. Include key findings, visual aids, and actionable strategies strictly related to {topic}.\n"
186
+ "3. Highlight strategic directions and strictly relevant innovation opportunities.\n"
187
+ "4. Incorporate well-structured tables for key statistics and example inventions without using any fabricated data or fake patent numbers.\n"
188
+ "5. Avoid any speculative, fabricated, or unrelated content.\n"
189
+ "6. Limit the document to 600 words."
190
  ),
191
+ expected_output="A polished, stakeholder-ready patent insights report with actionable, strictly relevant recommendations.",
192
  agent=writer
193
  )
194