Spaces:
Sleeping
Sleeping
Update tasks.py
Browse files
tasks.py
CHANGED
@@ -6,7 +6,7 @@ def get_research_task(model):
|
|
6 |
return Task(
|
7 |
description=(
|
8 |
"1. Search the web for content on topic {topic}.\n"
|
9 |
-
"2. Scrape the 5 most relevant web sites for content."
|
10 |
),
|
11 |
expected_output="Content on topic {topic}.",
|
12 |
agent=get_researcher_agent(model),
|
@@ -16,7 +16,7 @@ def get_blog_task(model):
|
|
16 |
return Task(
|
17 |
description=(
|
18 |
"1. Use the context to write a {word_count}-word blog post on topic {topic}.\n"
|
19 |
-
"2.
|
20 |
),
|
21 |
expected_output="A {word_count}-word blog post on topic {topic}.",
|
22 |
agent=get_blogger_agent(model),
|
|
|
6 |
return Task(
|
7 |
description=(
|
8 |
"1. Search the web for content on topic {topic}.\n"
|
9 |
+
"2. Scrape the 5 most relevant web sites for content, prioritizing research papers, if any."
|
10 |
),
|
11 |
expected_output="Content on topic {topic}.",
|
12 |
agent=get_researcher_agent(model),
|
|
|
16 |
return Task(
|
17 |
description=(
|
18 |
"1. Use the context to write a {word_count}-word blog post on topic {topic}.\n"
|
19 |
+
"2. If applicable, add a references section with a list of research papers."
|
20 |
),
|
21 |
expected_output="A {word_count}-word blog post on topic {topic}.",
|
22 |
agent=get_blogger_agent(model),
|