Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
54 |
-
backstory="""You are a
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
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=
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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],
|