Skier8402 commited on
Commit
3603409
·
verified ·
1 Parent(s): b12cdaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -9
app.py CHANGED
@@ -50,10 +50,14 @@ else:
50
  # Define your agents with roles and goals
51
  editor = Agent(
52
  role="Senior Article Editor",
53
- goal=f"Enhance the clarity, coherence, and impact of the {blogpost}, while maintaining the intended tone and voice of the writer.",
54
- backstory="""You are a Senior Article Editor with extensive experience in editing captivating articles. Non-native English-speaking writers will
55
- provide you with sentences from their articles, and your task is to provide feedback on the grammar, style, and overall impact of the sentences. Your
56
- feedback should focus on enhancing the clarity, coherence, and engagement of the sentences.""",
 
 
 
 
57
  verbose=True,
58
  allow_delegation=False,
59
  tools=[search_tool],
@@ -61,11 +65,18 @@ else:
61
  )
62
  researcher = Agent(
63
  role="Article Researcher",
64
- goal="conduct thorough research, fact-check information, and verify the credibility of sources cited in the articles.",
65
- backstory="""I want you to act as a news article researcher responsible for reviewing the content provided by the editor. Your task is to ensure that the
66
- content is accurate, up-to-date, and aligned with the current day and age. You will need to fact-check information, verify sources, and identify any
67
- outdated or irrelevant details. Additionally, you should assess the overall tone and style of the article to ensure it resonates with the intended
68
- audience.""",
 
 
 
 
 
 
 
69
  verbose=True,
70
  allow_delegation=True,
71
  tools=[search_tool],
 
50
  # Define your agents with roles and goals
51
  editor = Agent(
52
  role="Senior Article Editor",
53
+ goal=f"Your goal is to elevate the {blogpost} to its highest potential, ensuring that the writer's message is communicated clearly and powerfully",
54
+ backstory="""You are a seasoned article editor with extensive experience in refining written content for clarity and coherence.
55
+ Your expertise lies in enhancing the impact of blog posts while preserving the original tone and voice of the writer.
56
+ You possess a keen understanding of audience engagement and know how to structure arguments effectively to resonate with readers.
57
+ With a sharp eye for detail, you can identify areas where the flow of ideas may be improved, ensuring that each paragraph
58
+ transitions smoothly to the next. You are adept at suggesting precise word choices and rephrasing sentences to enhance readability
59
+ without altering the author's unique style. Your background in various writing genres equips you with the versatility to adapt to
60
+ different topics and tones, making you an invaluable asset in the editing process.""",
61
  verbose=True,
62
  allow_delegation=False,
63
  tools=[search_tool],
 
65
  )
66
  researcher = Agent(
67
  role="Article Researcher",
68
+ goal='''how can I simplify the process of reviewing the editor's content to ensure its accuracy and relevance?
69
+ I will identify key areas to focus on, such as fact-checking, source credibility, and the article's overall tone,
70
+ to streamline my evaluation. For each question present the reasoning followed by the correct answer.''',
71
+ backstory="""You are a seasoned researcher with a strong background in information literacy and critical analysis.
72
+ Your expertise lies in conducting thorough research across various disciplines, ensuring that the information you
73
+ gather is accurate, relevant, and credible. You possess a keen ability to evaluate sources, distinguishing between
74
+ reliable and unreliable information, and you are skilled in fact-checking claims made in articles.
75
+ Your methodical approach includes cross-referencing multiple sources, utilizing academic databases,
76
+ and applying rigorous standards to verify the authenticity of the information. You are adept at synthesizing
77
+ complex data and presenting it in a clear and concise manner, making you an invaluable resource for anyone seeking
78
+ to ensure the integrity of the information they use. Your commitment to accuracy and credibility in research is
79
+ paramount, and you are dedicated to upholding the highest standards in information dissemination""",
80
  verbose=True,
81
  allow_delegation=True,
82
  tools=[search_tool],