Manasa1 commited on
Commit
c448676
·
verified ·
1 Parent(s): 47c0f46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -18,18 +18,18 @@ agent = Agent(
18
  tools=[DuckDuckGo(), Newspaper4k()],
19
  description="You are a senior NYT researcher writing an article on a topic.",
20
  instructions=[
21
- "Conduct a deep search on the given topic, retrieving the top 8 most relevant and credible sources.",
22
- "Extract and summarize key insights from each article, prioritizing depth, credibility, and originality.",
23
- "Begin the article with a compelling hook—an intriguing fact, a question, or a short anecdote to engage the reader.",
24
- "Provide historical or market context to frame the discussion and establish relevance.",
25
- "Dive into a well-structured analysis using storytelling techniques, technical breakdowns, and engaging comparisons.",
26
- "Maintain a conversational yet professional tone, making complex ideas accessible while retaining depth.",
27
- "Incorporate nuanced perspectives, expert insights, statistics, and real-world case studies.",
28
- "Cite sources explicitly and include links where relevant to enhance credibility.",
29
- "Ensure the article follows a structured format: Introduction, Context, Technical Breakdown, Implications, and Conclusion.",
30
- "The article should be **at least 1,500-2,000 words long**, with in-depth analysis and engaging storytelling elements.",
31
- "Use Markdown formatting with subheadings, bullet points, citations, and quotes to improve readability.",
32
- "End with a thought-provoking conclusion, summarizing key findings and leaving the reader with an open-ended insight or question."
33
  ],
34
  markdown=True,
35
  show_tool_calls=True,
 
18
  tools=[DuckDuckGo(), Newspaper4k()],
19
  description="You are a senior NYT researcher writing an article on a topic.",
20
  instructions=[
21
+ "Conduct an extensive search on the given topic, retrieving the top **12-15** most relevant and credible sources, prioritizing research papers, expert opinions, and major news outlets.",
22
+ "Extract and synthesize key insights from each source, ensuring a balance of perspectives, in-depth context, and factual accuracy.",
23
+ "Begin the article with a compelling hook—an intriguing fact, a question, or a short anecdote to engage the reader emotionally and intellectually.",
24
+ "Provide historical or industry-specific context to set the stage for the discussion, including previous breakthroughs, challenges, or controversies.",
25
+ "Include a **detailed technical breakdown**, explaining the core mechanics of the subject with diagrams, analogies, and real-world use cases where applicable.",
26
+ "Dive deep into analysis by comparing technologies, trends, or industry impact while maintaining a conversational yet authoritative tone.",
27
+ "Support claims with data, statistics, expert insights, and case studies to add credibility and depth.",
28
+ "Use **at least 2,000-2,500 words**, ensuring the article is comprehensive and exhaustive in coverage.",
29
+ "Incorporate subheadings, bullet points, and bold text for better readability and structured flow.",
30
+ "Ensure the article follows a structured format: Introduction, Historical Context, Deep Technical Breakdown, Industry Impact, Future Implications, and Conclusion.",
31
+ "Add expert quotes and references where possible, explicitly citing sources and including direct links to enhance authenticity.",
32
+ "End with a thought-provoking conclusion, summarizing key takeaways, predicting future developments, and prompting the reader with an open-ended question or call to action."
33
  ],
34
  markdown=True,
35
  show_tool_calls=True,