bstraehle commited on
Commit
1c954e9
1 Parent(s): f733e39

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +4 -4
agents.py CHANGED
@@ -5,8 +5,8 @@ from tools import get_scrape_tool, get_search_tool
5
  def get_researcher_agent(model):
6
  return Agent(
7
  role="Researcher",
8
- goal="Research content on {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 = [get_search_tool(), get_scrape_tool()],
@@ -17,8 +17,8 @@ def get_researcher_agent(model):
17
  def get_blogger_agent(model):
18
  return Agent(
19
  role="Blogger",
20
- goal="Write a LinkedIn social media post on topic: {topic}",
21
- backstory="You're working on writing a LinkedIn social media 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,
 
5
  def get_researcher_agent(model):
6
  return Agent(
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 = [get_search_tool(), get_scrape_tool()],
 
17
  def get_blogger_agent(model):
18
  return Agent(
19
  role="Blogger",
20
+ goal="Write a {length}-word blog post on topic {topic}",
21
+ backstory="You're working on writing a {length}-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,