bstraehle commited on
Commit
f9bb4a4
·
verified ·
1 Parent(s): 106a077

Update tasks.py

Browse files
Files changed (1) hide show
  1. tasks.py +8 -23
tasks.py CHANGED
@@ -5,36 +5,21 @@ from agents import get_researcher_agent, get_author_agent
5
  def get_researcher_task():
6
  return Task(
7
  description=(
8
- "1. Prioritize the latest trends, key players, "
9
- "and noteworthy news on {topic}.\n"
10
- "2. Identify the target audience, considering "
11
- "their interests and pain points.\n"
12
- "3. Develop a detailed content outline including "
13
- "an introduction, key points, and a call to action.\n"
14
- "4. Include SEO keywords and relevant data or sources."
15
  ),
16
- expected_output="A comprehensive content plan document "
17
- "with an outline, audience analysis, "
18
- "SEO keywords, and resources.",
19
  agent=get_researcher_agent(),
20
  )
21
 
22
  def get_author_task():
23
  return Task(
24
  description=(
25
- "1. Use the content plan to craft a compelling "
26
- "blog post on {topic}.\n"
27
- "2. Incorporate SEO keywords naturally.\n"
28
- "3. Sections/Subtitles are properly named "
29
- "in an engaging manner.\n"
30
- "4. Ensure the post is structured with an "
31
- "engaging introduction, insightful body, "
32
- "and a summarizing conclusion.\n"
33
- "5. Proofread for grammatical errors and "
34
- "alignment with the brand's voice.\n"
35
  ),
36
- expected_output="A well-written blog post "
37
- "in markdown format, ready for publication, "
38
- "each section should have 2 or 3 paragraphs.",
39
  agent=get_author_agent(),
40
  )
 
5
  def get_researcher_task():
6
  return Task(
7
  description=(
8
+ "1. Search the web for current content on {topic}.\n"
9
+ "2. Scrape a maximum of 3 web sites for content.\n"
10
+ "3. Attribute credit to the web site."
 
 
 
 
11
  ),
12
+ expected_output="Content on topic {topic}.",
 
 
13
  agent=get_researcher_agent(),
14
  )
15
 
16
  def get_author_task():
17
  return Task(
18
  description=(
19
+ "1. Use the context to write a LinkedIn social media post on {topic}.\n"
20
+ "2. Ensure the post is structured with an engaging introduction, insightful body, and a summarizing conclusion.\n"
21
+ "3. Proofread for grammatical errors."
 
 
 
 
 
 
 
22
  ),
23
+ expected_output="A LinkedIn social media post on topic: {topic}. The post must not exceed 10 sentences and must contain some emojis.",
 
 
24
  agent=get_author_agent(),
25
  )