Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
@@ -7,20 +7,20 @@ def get_researcher_agent(model):
|
|
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
|
11 |
llm=ChatOpenAI(model=model, temperature=0.7),
|
12 |
tools = [get_search_tool(), get_scrape_tool()],
|
13 |
allow_delegation=False,
|
14 |
-
verbose=
|
15 |
)
|
16 |
|
17 |
def get_author_agent(model):
|
18 |
return Agent(
|
19 |
-
role="
|
20 |
goal="Write a LinkedIn post on topic: {topic}",
|
21 |
-
backstory="You're working on
|
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,
|
25 |
-
verbose=
|
26 |
)
|
|
|
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()],
|
13 |
allow_delegation=False,
|
14 |
+
verbose=False
|
15 |
)
|
16 |
|
17 |
def get_author_agent(model):
|
18 |
return Agent(
|
19 |
+
role="Blogger",
|
20 |
goal="Write a LinkedIn post on topic: {topic}",
|
21 |
+
backstory="You're working on writing a LinkedIn 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,
|
25 |
+
verbose=False
|
26 |
)
|