Spaces:
Running
Running
Update tasks.py
Browse files
tasks.py
CHANGED
@@ -6,7 +6,7 @@ def get_research_task(model, verbose):
|
|
6 |
return Task(
|
7 |
description=(
|
8 |
"1. Search the web for content on topic: {topic}.\n"
|
9 |
-
"2. Scrape the
|
10 |
),
|
11 |
expected_output="Content on topic: {topic}.",
|
12 |
agent=get_researcher_agent(model, verbose),
|
@@ -16,9 +16,9 @@ def get_write_task(model, verbose):
|
|
16 |
return Task(
|
17 |
description=(
|
18 |
"1. Use the context to write an in-depth article on topic: {topic}.\n"
|
19 |
-
"2. The output must be in markdown format (omit the triple backticks).\n"
|
20 |
"3. At the beginning of the article, add the current date and author: Multi-Agent AI System.\n"
|
21 |
-
"4. Also at the beginning of the article, add a references section with links to
|
22 |
),
|
23 |
expected_output="An article on topic {topic}.",
|
24 |
agent=get_writer_agent(model, verbose),
|
|
|
6 |
return Task(
|
7 |
description=(
|
8 |
"1. Search the web for content on topic: {topic}.\n"
|
9 |
+
"2. Scrape the 25 most relevant web sites for content."
|
10 |
),
|
11 |
expected_output="Content on topic: {topic}.",
|
12 |
agent=get_researcher_agent(model, verbose),
|
|
|
16 |
return Task(
|
17 |
description=(
|
18 |
"1. Use the context to write an in-depth article on topic: {topic}.\n"
|
19 |
+
"2. The output must be in markdown format (omit the triple backticks). Structure the text to include some numbered and/or unnumbered lists.\n"
|
20 |
"3. At the beginning of the article, add the current date and author: Multi-Agent AI System.\n"
|
21 |
+
"4. Also at the beginning of the article, add a references section with links to content provided by the Research Agent."
|
22 |
),
|
23 |
expected_output="An article on topic {topic}.",
|
24 |
agent=get_writer_agent(model, verbose),
|