Spaces:
Running
Running
Update tasks.py
Browse files
tasks.py
CHANGED
@@ -15,11 +15,10 @@ def get_research_task(model, verbose):
|
|
15 |
def get_write_task(model, verbose):
|
16 |
return Task(
|
17 |
description=(
|
18 |
-
"1. Use the context to write
|
19 |
-
"2. The output must be in markdown format (omit the triple backticks)
|
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 10 links to content provided by the Researcher
|
22 |
-
"5. Include inline references."
|
23 |
),
|
24 |
expected_output="An article on topic {topic}.",
|
25 |
agent=get_writer_agent(model, verbose),
|
|
|
15 |
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), including 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 10 links to content provided by the Researcher."
|
|
|
22 |
),
|
23 |
expected_output="An article on topic {topic}.",
|
24 |
agent=get_writer_agent(model, verbose),
|