Spaces:
Sleeping
Sleeping
Update tasks.py
Browse files
tasks.py
CHANGED
@@ -15,9 +15,9 @@ def get_research_task(model, temperature, verbose):
|
|
15 |
def get_write_task(model, temperature, verbose):
|
16 |
return Task(
|
17 |
description=(
|
18 |
-
"1. Use the context to write a 2000-word article on topic '{topic}'.\n"
|
19 |
"2. At the beginning of the article, add current date and author: Multi-Agent AI System.\n"
|
20 |
-
"3. At the end of the article, add a references section with links to research papers."
|
21 |
),
|
22 |
expected_output="An article on topic {topic}.",
|
23 |
agent=get_writer_agent(model, temperature, verbose),
|
|
|
15 |
def get_write_task(model, temperature, verbose):
|
16 |
return Task(
|
17 |
description=(
|
18 |
+
"1. Use the context to write a 2000-word article on topic '{topic}' in markdown format. Omit the triple backticks.\n"
|
19 |
"2. At the beginning of the article, add current date and author: Multi-Agent AI System.\n"
|
20 |
+
"3. At the end of the article, add a references section with links to the research papers in the context."
|
21 |
),
|
22 |
expected_output="An article on topic {topic}.",
|
23 |
agent=get_writer_agent(model, temperature, verbose),
|