bstraehle commited on
Commit
33215d9
·
verified ·
1 Parent(s): 3788cc0

Update tasks.py

Browse files
Files changed (1) hide show
  1. tasks.py +7 -7
tasks.py CHANGED
@@ -5,9 +5,8 @@ from agents import get_researcher_agent, get_author_agent
5
  def get_researcher_task(model):
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(model),
@@ -16,10 +15,11 @@ def get_researcher_task(model):
16
  def get_author_task(model):
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 with 3 emojis, an 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}.",
24
  agent=get_author_agent(model),
25
  )
 
5
  def get_researcher_task(model):
6
  return Task(
7
  description=(
8
+ "1. Search the web for content on topic {topic}.\n"
9
+ "2. Scrape the 3 most relevant web sites for content."
 
10
  ),
11
  expected_output="Content on topic {topic}.",
12
  agent=get_researcher_agent(model),
 
15
  def get_author_task(model):
16
  return Task(
17
  description=(
18
+ "1. Use the context to write a LinkedIn post on topic {topic}.\n"
19
+ "2. Structure the post to include an introduction, a body, and a conclusion.\n
20
+ "3. In the introduction, use 3 emojis.\n
21
+ "4. After the conclusion, add 3 hashtags."
22
  ),
23
+ expected_output="A LinkedIn post on topic {topic}.",
24
  agent=get_author_agent(model),
25
  )