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 Author to write
|
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="Author",
|
20 |
-
goal="Write a LinkedIn
|
21 |
-
backstory="You're working on a writing a LinkedIn
|
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 Author to write 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=True
|
15 |
)
|
16 |
|
17 |
def get_author_agent(model):
|
18 |
return Agent(
|
19 |
role="Author",
|
20 |
+
goal="Write a LinkedIn post on topic: {topic}",
|
21 |
+
backstory="You're working on a 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=True
|
26 |
)
|