bstraehle commited on
Commit
73b4a69
·
verified ·
1 Parent(s): 282b4c0

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +4 -4
agents.py CHANGED
@@ -7,7 +7,7 @@ def get_researcher_agent(model):
7
  role="Researcher",
8
  goal="Research content on topic {topic}",
9
  backstory="You're working on researching content on topic {topic}. "
10
- "Your work is the basis for the Blogger to post on this topic.",
11
  llm=ChatOpenAI(model=model, temperature=0.7),
12
  tools = [search_tool(), scrape_tool()],
13
  allow_delegation=False,
@@ -16,9 +16,9 @@ def get_researcher_agent(model):
16
 
17
  def get_blogger_agent(model):
18
  return Agent(
19
- role="Blogger",
20
- goal="Write a {word_count}-word blog post on topic {topic}",
21
- backstory="You're working on writing a {word_count}-word blog post on topic {topic}. "
22
  "You base your writing on the work of the Researcher, who provides context on this topic.",
23
  llm=ChatOpenAI(model=model, temperature=0.7),
24
  allow_delegation=False,
 
7
  role="Researcher",
8
  goal="Research content on topic {topic}",
9
  backstory="You're working on researching content on topic {topic}. "
10
+ "Your work is the basis for the Writer to write on this topic.",
11
  llm=ChatOpenAI(model=model, temperature=0.7),
12
  tools = [search_tool(), scrape_tool()],
13
  allow_delegation=False,
 
16
 
17
  def get_blogger_agent(model):
18
  return Agent(
19
+ role="Writer",
20
+ goal="Write a 2000-word article on topic {topic}",
21
+ backstory="You're working on writing a 2000-word article on topic {topic}. "
22
  "You base your writing on the work of the Researcher, who provides context on this topic.",
23
  llm=ChatOpenAI(model=model, temperature=0.7),
24
  allow_delegation=False,