bstraehle commited on
Commit
6edf3f2
·
verified ·
1 Parent(s): 25cab01

Update tasks.py

Browse files
Files changed (1) hide show
  1. tasks.py +4 -3
tasks.py CHANGED
@@ -5,7 +5,7 @@ from agents import get_researcher_agent, get_writer_agent
5
  def get_research_task(model, max_tokens, temperature, verbose):
6
  return Task(
7
  description=(
8
- "1. Search the web for content on topic '{topic}', prioritizing scientific sources.\n"
9
  "2. Scrape the 10 most relevant web sites for content."
10
  ),
11
  expected_output="Content on topic: {topic}.",
@@ -15,8 +15,9 @@ def get_research_task(model, max_tokens, temperature, verbose):
15
  def get_write_task(model, max_tokens, temperature, verbose):
16
  return Task(
17
  description=(
18
- "1. Use the context to write an article on topic '{topic}'. Output must be 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 relevant content."
21
  ),
22
  expected_output="An article on topic {topic}.",
 
5
  def get_research_task(model, max_tokens, temperature, verbose):
6
  return Task(
7
  description=(
8
+ "1. Search the web for content on topic '{topic}'. Prioritize scientific sources.\n"
9
  "2. Scrape the 10 most relevant web sites for content."
10
  ),
11
  expected_output="Content on topic: {topic}.",
 
15
  def get_write_task(model, max_tokens, temperature, verbose):
16
  return Task(
17
  description=(
18
+ "1. Use the context to write an accurate, concise, and objective article on topic '{topic}'. "
19
+ "The output must be in markdown format (omit the triple backticks).\n"
20
+ "2. At the beginning of the article, add the current date and author: Multi-Agent AI System.\n"
21
  "3. At the end of the article, add a references section with links to relevant content."
22
  ),
23
  expected_output="An article on topic {topic}.",